-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add BeforeConnect callback to configuration object #1469
Conversation
This can be used to alter the connection options for each connection, right before it's established
@methane Would it be possible to have this PR considered please? Or please, let me know if there's some other process I should follow. |
wait. I'm very busy and sick. |
Sorry to hear that, hope you get better soon 🙁 No worries, we're fine with waiting |
WalkthroughThe changes involve enhancing a database connection library to support pre-connection configuration adjustments. A new Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 3
Configuration used: CodeRabbit UI
Files selected for processing (4)
- AUTHORS (1 hunks)
- connector.go (1 hunks)
- driver_test.go (1 hunks)
- dsn.go (2 hunks)
Additional comments: 8
AUTHORS (1)
- 132-132: The addition of "Microsoft Corp." to the AUTHORS file is consistent with the PR's objective and follows the file's convention for listing organizations.
connector.go (2)
66-87: The implementation of the
BeforeConnect
callback within theConnect
method appears to be correct. It checks for the presence of the callback, clones the configuration, and invokes the callback with the cloned configuration. If an error is returned, it is correctly handled by aborting the connection process. The modified configuration is then used to establish the connection.79-86: The
cfg
variable, which may have been modified by theBeforeConnect
callback, is correctly used to initialize themysqlConn
struct. This ensures that any dynamic changes to the configuration are respected when establishing the connection.driver_test.go (1)
- 1984-2016: The new test function
TestBeforeConnect
correctly tests theBeforeConnect
callback functionality by setting up a connector with the callback, opening a database, and performing a query to ensure the connection is established correctly.dsn.go (4)
13-13: The addition of the
context
package import is appropriate for the newBeforeConnect
callback functionality.56-56: The
BeforeConnect
field type is correctly defined asfunc(context.Context, *Config) error
, aligning with the PR's objective to allow dynamic configuration before a connection is established.38-56: The integration of the
BeforeConnect
field into theConfig
struct is done without altering the existing fields, maintaining the integrity of the struct.56-56: The
normalize
method does not need to interact with theBeforeConnect
field, as it does not have a default value or require validation.
@shogo82148 How do you think this new API? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Although I like this feature, I want to wait adding more fields to Config object. |
f07a0be
to
ef007e0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 1
Configuration used: CodeRabbit UI
Files selected for processing (4)
- AUTHORS (1 hunks)
- connector.go (1 hunks)
- driver_test.go (1 hunks)
- dsn.go (3 hunks)
Files skipped from review due to trivial changes (1)
- AUTHORS
Additional comments: 8
connector.go (1)
- 69-77: The implementation of the
BeforeConnect
callback within theConnect
method correctly clones the configuration and checks for errors returned by the callback. However, ensure that thebeforeConnect
field in theConfig
struct is correctly exposed (e.g., asBeforeConnect
) and accessible from this context, as direct field access is used here.dsn.go (1)
- 117-123: The addition of the
BeforeConnect
function using the functional options pattern is well-implemented. It provides a flexible way to set theBeforeConnect
callback in theConfig
struct.driver_test.go (6)
- 2047-2079: The test
TestBeforeConnect
correctly sets up a scenario to test theBeforeConnect
callback functionality. It ensures that the callback is invoked and modifies the configuration as expected. This test is well-structured and covers the intended functionality effectively.- 2048-2048: It's good practice to check if the MySQL server is available before proceeding with the test. This prevents the test from failing due to external dependencies not being met.
- 2053-2053: Parsing the DSN (Data Source Name) to create a configuration object is a crucial step in setting up the test environment. This ensures that the test uses the correct database connection settings.
- 2058-2060: The use of the
BeforeConnect
callback to dynamically set the database name (DBName
) in the configuration is a practical example of how to use this feature. It demonstrates the flexibility of modifying connection options immediately before a connection is established.- 2063-2063: Creating a new connector using the modified configuration object is a key step in testing the
BeforeConnect
callback. This ensures that the connection will use the updated settings.- 2071-2078: The test effectively verifies that the connection uses the database name set by the
BeforeConnect
callback. This is done by executing a query to select the current database and comparing the result with the expected database name.
beforeConnect func(context.Context, *Config) error // Invoked before a connection is established | ||
pubKey *rsa.PublicKey // Server public key | ||
timeTruncate time.Duration // Truncate time.Time values to the specified duration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The beforeConnect
field is added to the Config
struct to support the BeforeConnect
callback functionality. Ensure that this field is correctly exposed and accessible from other parts of the code, such as in connector.go
, where it is directly accessed. Consider making it public or providing a getter method if necessary to maintain encapsulation.
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | Type | Update | |---|---|---|---|---|---|---|---| | buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go | `v1.32.0-20240221180331-f05a6f4403ce.1` -> `v1.33.0-20240221180331-f05a6f4403ce.1` | [![age](https://developer.mend.io/api/mc/badges/age/go/buf.build%2fgen%2fgo%2fbufbuild%2fprotovalidate%2fprotocolbuffers%2fgo/v1.33.0-20240221180331-f05a6f4403ce.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/buf.build%2fgen%2fgo%2fbufbuild%2fprotovalidate%2fprotocolbuffers%2fgo/v1.33.0-20240221180331-f05a6f4403ce.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/buf.build%2fgen%2fgo%2fbufbuild%2fprotovalidate%2fprotocolbuffers%2fgo/v1.32.0-20240221180331-f05a6f4403ce.1/v1.33.0-20240221180331-f05a6f4403ce.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/buf.build%2fgen%2fgo%2fbufbuild%2fprotovalidate%2fprotocolbuffers%2fgo/v1.32.0-20240221180331-f05a6f4403ce.1/v1.33.0-20240221180331-f05a6f4403ce.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [github.com/alecthomas/kong](https://togithub.com/alecthomas/kong) | `v0.8.1` -> `v0.9.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2falecthomas%2fkong/v0.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2falecthomas%2fkong/v0.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2falecthomas%2fkong/v0.8.1/v0.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2falecthomas%2fkong/v0.8.1/v0.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [github.com/aws/aws-sdk-go](https://togithub.com/aws/aws-sdk-go) | `v1.50.30` -> `v1.50.35` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2faws%2faws-sdk-go/v1.50.35?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2faws%2faws-sdk-go/v1.50.35?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2faws%2faws-sdk-go/v1.50.30/v1.50.35?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2faws%2faws-sdk-go/v1.50.30/v1.50.35?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | patch | | [github.com/bufbuild/buf](https://togithub.com/bufbuild/buf) | `v1.29.0` -> `v1.30.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fbufbuild%2fbuf/v1.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fbufbuild%2fbuf/v1.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fbufbuild%2fbuf/v1.29.0/v1.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fbufbuild%2fbuf/v1.29.0/v1.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [github.com/cerbos/cerbos-sdk-go](https://togithub.com/cerbos/cerbos-sdk-go) | `v0.2.2` -> `v0.2.3` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fcerbos%2fcerbos-sdk-go/v0.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fcerbos%2fcerbos-sdk-go/v0.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fcerbos%2fcerbos-sdk-go/v0.2.2/v0.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fcerbos%2fcerbos-sdk-go/v0.2.2/v0.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | patch | | [github.com/go-sql-driver/mysql](https://togithub.com/go-sql-driver/mysql) | `v1.7.1` -> `v1.8.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgo-sql-driver%2fmysql/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgo-sql-driver%2fmysql/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgo-sql-driver%2fmysql/v1.7.1/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgo-sql-driver%2fmysql/v1.7.1/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [github.com/google/cel-go](https://togithub.com/google/cel-go) | `v0.20.0` -> `v0.20.1` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgoogle%2fcel-go/v0.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgoogle%2fcel-go/v0.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgoogle%2fcel-go/v0.20.0/v0.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgoogle%2fcel-go/v0.20.0/v0.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | patch | | [github.com/jackc/pgx/v5](https://togithub.com/jackc/pgx) | `v5.5.3` -> `v5.5.5` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fjackc%2fpgx%2fv5/v5.5.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fjackc%2fpgx%2fv5/v5.5.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fjackc%2fpgx%2fv5/v5.5.3/v5.5.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fjackc%2fpgx%2fv5/v5.5.3/v5.5.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | patch | | [github.com/minio/minio-go/v7](https://togithub.com/minio/minio-go) | `v7.0.68` -> `v7.0.69` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fminio%2fminio-go%2fv7/v7.0.69?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fminio%2fminio-go%2fv7/v7.0.69?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fminio%2fminio-go%2fv7/v7.0.68/v7.0.69?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fminio%2fminio-go%2fv7/v7.0.68/v7.0.69?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | patch | | [github.com/rivo/tview](https://togithub.com/rivo/tview) | `5605142` -> `e804876` | | | | | require | digest | | golang.org/x/net | `v0.21.0` -> `v0.22.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fnet/v0.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fnet/v0.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fnet/v0.21.0/v0.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fnet/v0.21.0/v0.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | golang.org/x/tools | `v0.18.0` -> `v0.19.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2ftools/v0.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2ftools/v0.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2ftools/v0.18.0/v0.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2ftools/v0.18.0/v0.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [google.golang.org/genproto/googleapis/api](https://togithub.com/googleapis/go-genproto) | `df926f6` -> `29370a3` | | | | | require | digest | | [google.golang.org/grpc](https://togithub.com/grpc/grpc-go) | `v1.62.0` -> `v1.62.1` | [![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fgrpc/v1.62.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fgrpc/v1.62.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fgrpc/v1.62.0/v1.62.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fgrpc/v1.62.0/v1.62.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | patch | | [google.golang.org/protobuf](https://togithub.com/protocolbuffers/protobuf-go) | `v1.32.0` -> `v1.33.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fprotobuf/v1.33.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fprotobuf/v1.33.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fprotobuf/v1.32.0/v1.33.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fprotobuf/v1.32.0/v1.33.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [modernc.org/sqlite](https://gitlab.com/cznic/sqlite) | `v1.29.2` -> `v1.29.3` | [![age](https://developer.mend.io/api/mc/badges/age/go/modernc.org%2fsqlite/v1.29.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/modernc.org%2fsqlite/v1.29.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/modernc.org%2fsqlite/v1.29.2/v1.29.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/modernc.org%2fsqlite/v1.29.2/v1.29.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | patch | --- ### Release Notes <details> <summary>alecthomas/kong (github.com/alecthomas/kong)</summary> ### [`v0.9.0`](https://togithub.com/alecthomas/kong/compare/v0.8.1...v0.9.0) [Compare Source](https://togithub.com/alecthomas/kong/compare/v0.8.1...v0.9.0) </details> <details> <summary>aws/aws-sdk-go (github.com/aws/aws-sdk-go)</summary> ### [`v1.50.35`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v15035-2024-03-08) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.50.34...v1.50.35) \=== ##### Service Client Updates - `service/batch`: Updates service API and documentation - This release adds JobStateTimeLimitActions setting to the Job Queue API. It allows you to configure an action Batch can take for a blocking job in front of the queue after the defined period of time. The new parameter applies for ECS, EKS, and FARGATE Job Queues. - `service/bedrock-agent-runtime`: Updates service API and documentation - `service/cloudtrail`: Updates service API and documentation - Added exceptions to CreateTrail, DescribeTrails, and ListImportFailures APIs. - `service/codebuild`: Updates service documentation - This release adds support for a new webhook event: PULL_REQUEST_CLOSED. - `service/cognito-idp`: Updates service API and documentation - `service/guardduty`: Updates service API and documentation - Add RDS Provisioned and Serverless Usage types - `service/transfer`: Updates service API and documentation - Added DES_EDE3\_CBC to the list of supported encryption algorithms for messages sent with an AS2 connector. ### [`v1.50.34`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v15034-2024-03-07) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.50.33...v1.50.34) \=== ##### Service Client Updates - `service/appconfig`: Updates service API and documentation - `service/ec2`: Updates service API and documentation - This release adds an optional parameter to RegisterImage and CopyImage APIs to support tagging AMIs at the time of creation. - `service/grafana`: Updates service API and documentation - `service/lambda`: Updates service documentation - Documentation updates for AWS Lambda - `service/payment-cryptography-data`: Updates service API and documentation - `service/rds`: Updates service API, documentation, waiters, paginators, and examples - Updates Amazon RDS documentation for io2 storage for Multi-AZ DB clusters - `service/snowball`: Updates service documentation - Doc-only update for change to EKS-Anywhere ordering. - `service/wafv2`: Updates service API and documentation - `service/workspaces`: Updates service documentation - Added note for user decoupling ### [`v1.50.33`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v15033-2024-03-06) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.50.32...v1.50.33) \=== ##### Service Client Updates - `service/dynamodb`: Updates service API, documentation, waiters, paginators, and examples - Doc only updates for DynamoDB documentation - `service/imagebuilder`: Updates service API and documentation - `service/mwaa`: Updates service documentation - `service/rds`: Updates service API, documentation, waiters, paginators, and examples - Updated the input of CreateDBCluster and ModifyDBCluster to support setting CA certificates. Updated the output of DescribeDBCluster to show current CA certificate setting value. - `service/redshift`: Updates service documentation - Update for documentation only. Covers port ranges, definition updates for data sharing, and definition updates to cluster-snapshot documentation. - `service/verifiedpermissions`: Updates service API and documentation ### [`v1.50.32`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v15032-2024-03-05) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.50.31...v1.50.32) \=== ##### Service Client Updates - `service/apigateway`: Updates service documentation - Documentation updates for Amazon API Gateway - `service/chatbot`: Updates service API - `service/organizations`: Adds new service - This release contains an endpoint addition - `service/sesv2`: Updates service API and documentation ### [`v1.50.31`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v15031-2024-03-04) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.50.30...v1.50.31) \=== ##### Service Client Updates - `service/cloudformation`: Updates service API and documentation - Add DetailedStatus field to DescribeStackEvents and DescribeStacks APIs - `service/fsx`: Updates service API and documentation - `service/organizations`: Updates service API and documentation - Documentation update for AWS Organizations </details> <details> <summary>bufbuild/buf (github.com/bufbuild/buf)</summary> ### [`v1.30.0`](https://togithub.com/bufbuild/buf/blob/HEAD/CHANGELOG.md#v1300---2024-03-07) [Compare Source](https://togithub.com/bufbuild/buf/compare/v1.29.0...v1.30.0) - Update `buf generate` so it populates the recently-added [`source_file_descriptors`](https://togithub.com/protocolbuffers/protobuf/blob/v24.0/src/google/protobuf/compiler/plugin.proto#L96-L99) field of the `CodeGeneratorRequest` message. This provides the plugin with access to options that are configured to only be retained in source and not at runtime (via [field option](https://togithub.com/protocolbuffers/protobuf/blob/v24.0/src/google/protobuf/descriptor.proto#L693-L702)). Descriptors in the `proto_file` field will not include any options configured this way for the files named in `file_to_generate` field. - Add `--exclude-source-retention-options` flag to `buf build`, which causes options configured to only be retained in source to be stripped from the output descriptors. </details> <details> <summary>cerbos/cerbos-sdk-go (github.com/cerbos/cerbos-sdk-go)</summary> ### [`v0.2.3`](https://togithub.com/cerbos/cerbos-sdk-go/compare/v0.2.2...v0.2.3) [Compare Source](https://togithub.com/cerbos/cerbos-sdk-go/compare/v0.2.2...v0.2.3) </details> <details> <summary>go-sql-driver/mysql (github.com/go-sql-driver/mysql)</summary> ### [`v1.8.0`](https://togithub.com/go-sql-driver/mysql/releases/tag/v1.8.0) [Compare Source](https://togithub.com/go-sql-driver/mysql/compare/v1.7.1...v1.8.0) #### What's Changed ##### Major changes - Use `SET NAMES charset COLLATE collation`. by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1437](https://togithub.com/go-sql-driver/mysql/pull/1437) - PathEscape dbname in DSN. by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1432](https://togithub.com/go-sql-driver/mysql/pull/1432) - Drop Go 1.13-17 support by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1420](https://togithub.com/go-sql-driver/mysql/pull/1420) - Parse numbers on text protocol too by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1452](https://togithub.com/go-sql-driver/mysql/pull/1452) ##### Other changes - Adding DeregisterDialContext to prevent memory leaks with dialers we don't need anymore by [@​jypelle](https://togithub.com/jypelle) in [https://github.com/go-sql-driver/mysql/pull/1422](https://togithub.com/go-sql-driver/mysql/pull/1422) - Make logger configurable per connection by [@​frozenbonito](https://togithub.com/frozenbonito) in [https://github.com/go-sql-driver/mysql/pull/1408](https://togithub.com/go-sql-driver/mysql/pull/1408) - Fix ColumnType.DatabaseTypeName for mediumint unsigned by [@​evanelias](https://togithub.com/evanelias) in [https://github.com/go-sql-driver/mysql/pull/1428](https://togithub.com/go-sql-driver/mysql/pull/1428) - Add connection attributes by [@​Daemonxiao](https://togithub.com/Daemonxiao) in [https://github.com/go-sql-driver/mysql/pull/1389](https://togithub.com/go-sql-driver/mysql/pull/1389) - Stop `ColumnTypeScanType()` from returning `sql.RawBytes` by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1424](https://togithub.com/go-sql-driver/mysql/pull/1424) - Exec() now provides access to status of multiple statements. by [@​mherr-google](https://togithub.com/mherr-google) in [https://github.com/go-sql-driver/mysql/pull/1309](https://togithub.com/go-sql-driver/mysql/pull/1309) - Allow to change (or disable) the default driver name for registration by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1499](https://togithub.com/go-sql-driver/mysql/pull/1499) - Add default connection attribute '\_server_host' by [@​oblitorum](https://togithub.com/oblitorum) in [https://github.com/go-sql-driver/mysql/pull/1506](https://togithub.com/go-sql-driver/mysql/pull/1506) - Make TimeTruncate functional option by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1552](https://togithub.com/go-sql-driver/mysql/pull/1552) - Add BeforeConnect callback to configuration object by [@​ItalyPaleAle](https://togithub.com/ItalyPaleAle) in [https://github.com/go-sql-driver/mysql/pull/1469](https://togithub.com/go-sql-driver/mysql/pull/1469) - QueryUnescape DSN ConnectionAttribute value by [@​zhangyangyu](https://togithub.com/zhangyangyu) in [https://github.com/go-sql-driver/mysql/pull/1470](https://togithub.com/go-sql-driver/mysql/pull/1470) - Add client_ed25519 authentication by [@​Gusted](https://togithub.com/Gusted) in [https://github.com/go-sql-driver/mysql/pull/1518](https://togithub.com/go-sql-driver/mysql/pull/1518) - Reduced allocation on connection.go by [@​EPuncker](https://togithub.com/EPuncker) in [https://github.com/go-sql-driver/mysql/pull/1421](https://togithub.com/go-sql-driver/mysql/pull/1421) - Avoid panic in TestRowsColumnTypes by [@​wayyoungboy](https://togithub.com/wayyoungboy) in [https://github.com/go-sql-driver/mysql/pull/1426](https://togithub.com/go-sql-driver/mysql/pull/1426) - Add benchmark to receive massive rows. by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1415](https://togithub.com/go-sql-driver/mysql/pull/1415) - README: Update multistatement by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1431](https://togithub.com/go-sql-driver/mysql/pull/1431) - all: replace ioutil pkg to new package by [@​uji](https://togithub.com/uji) in [https://github.com/go-sql-driver/mysql/pull/1438](https://togithub.com/go-sql-driver/mysql/pull/1438) - chore: code optimization by [@​testwill](https://togithub.com/testwill) in [https://github.com/go-sql-driver/mysql/pull/1439](https://togithub.com/go-sql-driver/mysql/pull/1439) - Reduce map lookup in ColumnTypeDatabaseTypeName. by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1436](https://togithub.com/go-sql-driver/mysql/pull/1436) - doc: add link to NewConnector from FormatDSN by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1442](https://togithub.com/go-sql-driver/mysql/pull/1442) - Add fuzz test for ParseDSN / FormatDSN roundtrip by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1444](https://togithub.com/go-sql-driver/mysql/pull/1444) - TestDSNReformat: add more roundtrip checks by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1443](https://togithub.com/go-sql-driver/mysql/pull/1443) - tcp: handle errors returned by SetKeepAlive by [@​achille-roussel](https://togithub.com/achille-roussel) in [https://github.com/go-sql-driver/mysql/pull/1448](https://togithub.com/go-sql-driver/mysql/pull/1448) - use staticcheck by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1449](https://togithub.com/go-sql-driver/mysql/pull/1449) - Add Daemonxiao to AUTHORS by [@​Daemonxiao](https://togithub.com/Daemonxiao) in [https://github.com/go-sql-driver/mysql/pull/1459](https://togithub.com/go-sql-driver/mysql/pull/1459) - Update link about `LOAD DATA LOCAL` in README.md by [@​i7a7467](https://togithub.com/i7a7467) in [https://github.com/go-sql-driver/mysql/pull/1468](https://togithub.com/go-sql-driver/mysql/pull/1468) - Update README.md by [@​Netzer7](https://togithub.com/Netzer7) in [https://github.com/go-sql-driver/mysql/pull/1464](https://togithub.com/go-sql-driver/mysql/pull/1464) - add Go 1.21 and MySQL 8.1 to the build matrix by [@​shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1472](https://togithub.com/go-sql-driver/mysql/pull/1472) - Improve DSN docstsrings by [@​golddranks](https://togithub.com/golddranks) in [https://github.com/go-sql-driver/mysql/pull/1475](https://togithub.com/go-sql-driver/mysql/pull/1475) - Fix [#​1478](https://togithub.com/go-sql-driver/mysql/issues/1478) remove length check by [@​ShenFeng312](https://togithub.com/ShenFeng312) in [https://github.com/go-sql-driver/mysql/pull/1481](https://togithub.com/go-sql-driver/mysql/pull/1481) - README: fix markup error by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1480](https://togithub.com/go-sql-driver/mysql/pull/1480) - Close connection on ErrPktSync and ErrPktSyncMul by [@​owbone](https://togithub.com/owbone) in [https://github.com/go-sql-driver/mysql/pull/1473](https://togithub.com/go-sql-driver/mysql/pull/1473) - Spelling, grammar, and link fixes by [@​scop](https://togithub.com/scop) in [https://github.com/go-sql-driver/mysql/pull/1485](https://togithub.com/go-sql-driver/mysql/pull/1485) - Make use of strings.Cut by [@​scop](https://togithub.com/scop) in [https://github.com/go-sql-driver/mysql/pull/1486](https://togithub.com/go-sql-driver/mysql/pull/1486) - move stale connection check to ResetSession() by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1496](https://togithub.com/go-sql-driver/mysql/pull/1496) - fix race condition of TestConcurrent by [@​shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1490](https://togithub.com/go-sql-driver/mysql/pull/1490) - mark fail, mustExec and mustQuery as test helpers by [@​shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1488](https://togithub.com/go-sql-driver/mysql/pull/1488) - Remove obsolete fuzz.go [#​1445](https://togithub.com/go-sql-driver/mysql/issues/1445) by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1498](https://togithub.com/go-sql-driver/mysql/pull/1498) - testing: expose testing.TB in DBTest instead of full \*testing.T by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1500](https://togithub.com/go-sql-driver/mysql/pull/1500) - symbol removed from installation command by [@​panvalkar1994](https://togithub.com/panvalkar1994) in [https://github.com/go-sql-driver/mysql/pull/1510](https://togithub.com/go-sql-driver/mysql/pull/1510) - fix issue 1361 by [@​keeplearning20221](https://togithub.com/keeplearning20221) in [https://github.com/go-sql-driver/mysql/pull/1462](https://togithub.com/go-sql-driver/mysql/pull/1462) - fix fragile test by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1522](https://togithub.com/go-sql-driver/mysql/pull/1522) - Fix sql.RawBytes corruption issue by [@​shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1523](https://togithub.com/go-sql-driver/mysql/pull/1523) - fix for enum and set field type to column type identifying by [@​jennifersp](https://togithub.com/jennifersp) in [https://github.com/go-sql-driver/mysql/pull/1520](https://togithub.com/go-sql-driver/mysql/pull/1520) - Parallelize test by [@​shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1525](https://togithub.com/go-sql-driver/mysql/pull/1525) - Fix unsigned int overflow by [@​shiyuhang0](https://togithub.com/shiyuhang0) in [https://github.com/go-sql-driver/mysql/pull/1530](https://togithub.com/go-sql-driver/mysql/pull/1530) - Introduce `timeTruncate` parameter for `time.Time` arguments by [@​PauliusLozys](https://togithub.com/PauliusLozys) in [https://github.com/go-sql-driver/mysql/pull/1541](https://togithub.com/go-sql-driver/mysql/pull/1541) - add TiDB support in README.md by [@​crazycs520](https://togithub.com/crazycs520) in [https://github.com/go-sql-driver/mysql/pull/1333](https://togithub.com/go-sql-driver/mysql/pull/1333) - Update workflows by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1547](https://togithub.com/go-sql-driver/mysql/pull/1547) #### New Contributors - [@​EPuncker](https://togithub.com/EPuncker) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1421](https://togithub.com/go-sql-driver/mysql/pull/1421) - [@​jypelle](https://togithub.com/jypelle) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1422](https://togithub.com/go-sql-driver/mysql/pull/1422) - [@​frozenbonito](https://togithub.com/frozenbonito) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1408](https://togithub.com/go-sql-driver/mysql/pull/1408) - [@​wayyoungboy](https://togithub.com/wayyoungboy) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1426](https://togithub.com/go-sql-driver/mysql/pull/1426) - [@​evanelias](https://togithub.com/evanelias) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1428](https://togithub.com/go-sql-driver/mysql/pull/1428) - [@​Daemonxiao](https://togithub.com/Daemonxiao) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1389](https://togithub.com/go-sql-driver/mysql/pull/1389) - [@​uji](https://togithub.com/uji) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1438](https://togithub.com/go-sql-driver/mysql/pull/1438) - [@​testwill](https://togithub.com/testwill) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1439](https://togithub.com/go-sql-driver/mysql/pull/1439) - [@​i7a7467](https://togithub.com/i7a7467) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1468](https://togithub.com/go-sql-driver/mysql/pull/1468) - [@​Netzer7](https://togithub.com/Netzer7) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1464](https://togithub.com/go-sql-driver/mysql/pull/1464) - [@​golddranks](https://togithub.com/golddranks) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1475](https://togithub.com/go-sql-driver/mysql/pull/1475) - [@​ShenFeng312](https://togithub.com/ShenFeng312) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1481](https://togithub.com/go-sql-driver/mysql/pull/1481) - [@​owbone](https://togithub.com/owbone) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1473](https://togithub.com/go-sql-driver/mysql/pull/1473) - [@​scop](https://togithub.com/scop) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1485](https://togithub.com/go-sql-driver/mysql/pull/1485) - [@​panvalkar1994](https://togithub.com/panvalkar1994) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1510](https://togithub.com/go-sql-driver/mysql/pull/1510) - [@​zhangyangyu](https://togithub.com/zhangyangyu) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1470](https://togithub.com/go-sql-driver/mysql/pull/1470) - [@​keeplearning20221](https://togithub.com/keeplearning20221) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1462](https://togithub.com/go-sql-driver/mysql/pull/1462) - [@​oblitorum](https://togithub.com/oblitorum) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1506](https://togithub.com/go-sql-driver/mysql/pull/1506) - [@​Gusted](https://togithub.com/Gusted) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1518](https://togithub.com/go-sql-driver/mysql/pull/1518) - [@​jennifersp](https://togithub.com/jennifersp) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1520](https://togithub.com/go-sql-driver/mysql/pull/1520) - [@​shiyuhang0](https://togithub.com/shiyuhang0) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1530](https://togithub.com/go-sql-driver/mysql/pull/1530) - [@​PauliusLozys](https://togithub.com/PauliusLozys) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1541](https://togithub.com/go-sql-driver/mysql/pull/1541) - [@​crazycs520](https://togithub.com/crazycs520) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1333](https://togithub.com/go-sql-driver/mysql/pull/1333) - [@​ItalyPaleAle](https://togithub.com/ItalyPaleAle) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1469](https://togithub.com/go-sql-driver/mysql/pull/1469) **Full Changelog**: go-sql-driver/mysql@v1.7.1...v1.8.0 </details> <details> <summary>google/cel-go (github.com/google/cel-go)</summary> ### [`v0.20.1`](https://togithub.com/google/cel-go/releases/tag/v0.20.1) [Compare Source](https://togithub.com/google/cel-go/compare/v0.20.0...v0.20.1) Minor release to capture a couple bug fixes and API / build visibility changes. #### What's Changed - Track sizes of comprehension results by \[[#​901](https://togithub.com/google/cel-go/issues/901)] - Introduce new helper APIs for optimizers by \[[#​903](https://togithub.com/google/cel-go/issues/903)] - Make the CEL ast package public. \[[#​904](https://togithub.com/google/cel-go/issues/904)] #### New Contributors - [@​ShahedAlMashni](https://togithub.com/ShahedAlMashni) made their first contribution in [https://github.com/google/cel-go/pull/904](https://togithub.com/google/cel-go/pull/904) **Full Changelog**: google/cel-go@v0.20.0...v0.21.0 </details> <details> <summary>jackc/pgx (github.com/jackc/pgx/v5)</summary> ### [`v5.5.5`](https://togithub.com/jackc/pgx/compare/v5.5.4...v5.5.5) [Compare Source](https://togithub.com/jackc/pgx/compare/v5.5.4...v5.5.5) ### [`v5.5.4`](https://togithub.com/jackc/pgx/compare/v5.5.3...v5.5.4) [Compare Source](https://togithub.com/jackc/pgx/compare/v5.5.3...v5.5.4) </details> <details> <summary>minio/minio-go (github.com/minio/minio-go/v7)</summary> ### [`v7.0.69`](https://togithub.com/minio/minio-go/compare/v7.0.68...v7.0.69) [Compare Source](https://togithub.com/minio/minio-go/compare/v7.0.68...v7.0.69) </details> <details> <summary>grpc/grpc-go (google.golang.org/grpc)</summary> ### [`v1.62.1`](https://togithub.com/grpc/grpc-go/releases/tag/v1.62.1): Release 1.62.1 [Compare Source](https://togithub.com/grpc/grpc-go/compare/v1.62.0...v1.62.1) ### Bug Fixes - xds: fix a bug that results in `no matching virtual host found` RPC errors due to a difference between the target and LDS resource names ([#​6997](https://togithub.com/grpc/grpc-go/issues/6997)) - server: fixed stats handler data `InPayload.Length` for unary RPC calls ([#​6766](https://togithub.com/grpc/grpc-go/issues/6766)) - Special Thanks: [@​hueypark](https://togithub.com/hueypark) - grpc: the experimental `RecvBufferPool` `DialOption` and `ServerOption` are now active during unary RPCs with compression ([#​6766](https://togithub.com/grpc/grpc-go/issues/6766)) - Special Thanks: [@​hueypark](https://togithub.com/hueypark) - grpc: trim whitespaces in `accept-encoding` header before determining compressors - Special Thanks: [@​sercand](https://togithub.com/sercand) </details> <details> <summary>protocolbuffers/protobuf-go (google.golang.org/protobuf)</summary> ### [`v1.33.0`](https://togithub.com/protocolbuffers/protobuf-go/compare/v1.32.0...v1.33.0) [Compare Source](https://togithub.com/protocolbuffers/protobuf-go/compare/v1.32.0...v1.33.0) </details> <details> <summary>cznic/sqlite (modernc.org/sqlite)</summary> ### [`v1.29.3`](https://gitlab.com/cznic/sqlite/compare/v1.29.2...v1.29.3) [Compare Source](https://gitlab.com/cznic/sqlite/compare/v1.29.2...v1.29.3) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/cerbos/cerbos). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIzMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…1708) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/go-sql-driver/mysql](https://togithub.com/go-sql-driver/mysql) | `v1.7.1` -> `v1.8.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgo-sql-driver%2fmysql/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgo-sql-driver%2fmysql/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgo-sql-driver%2fmysql/v1.7.1/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgo-sql-driver%2fmysql/v1.7.1/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>go-sql-driver/mysql (github.com/go-sql-driver/mysql)</summary> ### [`v1.8.0`](https://togithub.com/go-sql-driver/mysql/releases/tag/v1.8.0) [Compare Source](https://togithub.com/go-sql-driver/mysql/compare/v1.7.1...v1.8.0) #### What's Changed ##### Major changes - Use `SET NAMES charset COLLATE collation`. by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1437](https://togithub.com/go-sql-driver/mysql/pull/1437) - PathEscape dbname in DSN. by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1432](https://togithub.com/go-sql-driver/mysql/pull/1432) - Drop Go 1.13-17 support by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1420](https://togithub.com/go-sql-driver/mysql/pull/1420) - Parse numbers on text protocol too by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1452](https://togithub.com/go-sql-driver/mysql/pull/1452) ##### Other changes - Adding DeregisterDialContext to prevent memory leaks with dialers we don't need anymore by [@​jypelle](https://togithub.com/jypelle) in [https://github.com/go-sql-driver/mysql/pull/1422](https://togithub.com/go-sql-driver/mysql/pull/1422) - Make logger configurable per connection by [@​frozenbonito](https://togithub.com/frozenbonito) in [https://github.com/go-sql-driver/mysql/pull/1408](https://togithub.com/go-sql-driver/mysql/pull/1408) - Fix ColumnType.DatabaseTypeName for mediumint unsigned by [@​evanelias](https://togithub.com/evanelias) in [https://github.com/go-sql-driver/mysql/pull/1428](https://togithub.com/go-sql-driver/mysql/pull/1428) - Add connection attributes by [@​Daemonxiao](https://togithub.com/Daemonxiao) in [https://github.com/go-sql-driver/mysql/pull/1389](https://togithub.com/go-sql-driver/mysql/pull/1389) - Stop `ColumnTypeScanType()` from returning `sql.RawBytes` by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1424](https://togithub.com/go-sql-driver/mysql/pull/1424) - Exec() now provides access to status of multiple statements. by [@​mherr-google](https://togithub.com/mherr-google) in [https://github.com/go-sql-driver/mysql/pull/1309](https://togithub.com/go-sql-driver/mysql/pull/1309) - Allow to change (or disable) the default driver name for registration by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1499](https://togithub.com/go-sql-driver/mysql/pull/1499) - Add default connection attribute '\_server_host' by [@​oblitorum](https://togithub.com/oblitorum) in [https://github.com/go-sql-driver/mysql/pull/1506](https://togithub.com/go-sql-driver/mysql/pull/1506) - Make TimeTruncate functional option by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1552](https://togithub.com/go-sql-driver/mysql/pull/1552) - Add BeforeConnect callback to configuration object by [@​ItalyPaleAle](https://togithub.com/ItalyPaleAle) in [https://github.com/go-sql-driver/mysql/pull/1469](https://togithub.com/go-sql-driver/mysql/pull/1469) - QueryUnescape DSN ConnectionAttribute value by [@​zhangyangyu](https://togithub.com/zhangyangyu) in [https://github.com/go-sql-driver/mysql/pull/1470](https://togithub.com/go-sql-driver/mysql/pull/1470) - Add client_ed25519 authentication by [@​Gusted](https://togithub.com/Gusted) in [https://github.com/go-sql-driver/mysql/pull/1518](https://togithub.com/go-sql-driver/mysql/pull/1518) - Reduced allocation on connection.go by [@​EPuncker](https://togithub.com/EPuncker) in [https://github.com/go-sql-driver/mysql/pull/1421](https://togithub.com/go-sql-driver/mysql/pull/1421) - Avoid panic in TestRowsColumnTypes by [@​wayyoungboy](https://togithub.com/wayyoungboy) in [https://github.com/go-sql-driver/mysql/pull/1426](https://togithub.com/go-sql-driver/mysql/pull/1426) - Add benchmark to receive massive rows. by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1415](https://togithub.com/go-sql-driver/mysql/pull/1415) - README: Update multistatement by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1431](https://togithub.com/go-sql-driver/mysql/pull/1431) - all: replace ioutil pkg to new package by [@​uji](https://togithub.com/uji) in [https://github.com/go-sql-driver/mysql/pull/1438](https://togithub.com/go-sql-driver/mysql/pull/1438) - chore: code optimization by [@​testwill](https://togithub.com/testwill) in [https://github.com/go-sql-driver/mysql/pull/1439](https://togithub.com/go-sql-driver/mysql/pull/1439) - Reduce map lookup in ColumnTypeDatabaseTypeName. by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1436](https://togithub.com/go-sql-driver/mysql/pull/1436) - doc: add link to NewConnector from FormatDSN by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1442](https://togithub.com/go-sql-driver/mysql/pull/1442) - Add fuzz test for ParseDSN / FormatDSN roundtrip by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1444](https://togithub.com/go-sql-driver/mysql/pull/1444) - TestDSNReformat: add more roundtrip checks by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1443](https://togithub.com/go-sql-driver/mysql/pull/1443) - tcp: handle errors returned by SetKeepAlive by [@​achille-roussel](https://togithub.com/achille-roussel) in [https://github.com/go-sql-driver/mysql/pull/1448](https://togithub.com/go-sql-driver/mysql/pull/1448) - use staticcheck by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1449](https://togithub.com/go-sql-driver/mysql/pull/1449) - Add Daemonxiao to AUTHORS by [@​Daemonxiao](https://togithub.com/Daemonxiao) in [https://github.com/go-sql-driver/mysql/pull/1459](https://togithub.com/go-sql-driver/mysql/pull/1459) - Update link about `LOAD DATA LOCAL` in README.md by [@​i7a7467](https://togithub.com/i7a7467) in [https://github.com/go-sql-driver/mysql/pull/1468](https://togithub.com/go-sql-driver/mysql/pull/1468) - Update README.md by [@​Netzer7](https://togithub.com/Netzer7) in [https://github.com/go-sql-driver/mysql/pull/1464](https://togithub.com/go-sql-driver/mysql/pull/1464) - add Go 1.21 and MySQL 8.1 to the build matrix by [@​shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1472](https://togithub.com/go-sql-driver/mysql/pull/1472) - Improve DSN docstsrings by [@​golddranks](https://togithub.com/golddranks) in [https://github.com/go-sql-driver/mysql/pull/1475](https://togithub.com/go-sql-driver/mysql/pull/1475) - Fix [#​1478](https://togithub.com/go-sql-driver/mysql/issues/1478) remove length check by [@​ShenFeng312](https://togithub.com/ShenFeng312) in [https://github.com/go-sql-driver/mysql/pull/1481](https://togithub.com/go-sql-driver/mysql/pull/1481) - README: fix markup error by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1480](https://togithub.com/go-sql-driver/mysql/pull/1480) - Close connection on ErrPktSync and ErrPktSyncMul by [@​owbone](https://togithub.com/owbone) in [https://github.com/go-sql-driver/mysql/pull/1473](https://togithub.com/go-sql-driver/mysql/pull/1473) - Spelling, grammar, and link fixes by [@​scop](https://togithub.com/scop) in [https://github.com/go-sql-driver/mysql/pull/1485](https://togithub.com/go-sql-driver/mysql/pull/1485) - Make use of strings.Cut by [@​scop](https://togithub.com/scop) in [https://github.com/go-sql-driver/mysql/pull/1486](https://togithub.com/go-sql-driver/mysql/pull/1486) - move stale connection check to ResetSession() by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1496](https://togithub.com/go-sql-driver/mysql/pull/1496) - fix race condition of TestConcurrent by [@​shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1490](https://togithub.com/go-sql-driver/mysql/pull/1490) - mark fail, mustExec and mustQuery as test helpers by [@​shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1488](https://togithub.com/go-sql-driver/mysql/pull/1488) - Remove obsolete fuzz.go [#​1445](https://togithub.com/go-sql-driver/mysql/issues/1445) by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1498](https://togithub.com/go-sql-driver/mysql/pull/1498) - testing: expose testing.TB in DBTest instead of full \*testing.T by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1500](https://togithub.com/go-sql-driver/mysql/pull/1500) - symbol removed from installation command by [@​panvalkar1994](https://togithub.com/panvalkar1994) in [https://github.com/go-sql-driver/mysql/pull/1510](https://togithub.com/go-sql-driver/mysql/pull/1510) - fix issue 1361 by [@​keeplearning20221](https://togithub.com/keeplearning20221) in [https://github.com/go-sql-driver/mysql/pull/1462](https://togithub.com/go-sql-driver/mysql/pull/1462) - fix fragile test by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1522](https://togithub.com/go-sql-driver/mysql/pull/1522) - Fix sql.RawBytes corruption issue by [@​shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1523](https://togithub.com/go-sql-driver/mysql/pull/1523) - fix for enum and set field type to column type identifying by [@​jennifersp](https://togithub.com/jennifersp) in [https://github.com/go-sql-driver/mysql/pull/1520](https://togithub.com/go-sql-driver/mysql/pull/1520) - Parallelize test by [@​shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1525](https://togithub.com/go-sql-driver/mysql/pull/1525) - Fix unsigned int overflow by [@​shiyuhang0](https://togithub.com/shiyuhang0) in [https://github.com/go-sql-driver/mysql/pull/1530](https://togithub.com/go-sql-driver/mysql/pull/1530) - Introduce `timeTruncate` parameter for `time.Time` arguments by [@​PauliusLozys](https://togithub.com/PauliusLozys) in [https://github.com/go-sql-driver/mysql/pull/1541](https://togithub.com/go-sql-driver/mysql/pull/1541) - add TiDB support in README.md by [@​crazycs520](https://togithub.com/crazycs520) in [https://github.com/go-sql-driver/mysql/pull/1333](https://togithub.com/go-sql-driver/mysql/pull/1333) - Update workflows by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1547](https://togithub.com/go-sql-driver/mysql/pull/1547) #### New Contributors - [@​EPuncker](https://togithub.com/EPuncker) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1421](https://togithub.com/go-sql-driver/mysql/pull/1421) - [@​jypelle](https://togithub.com/jypelle) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1422](https://togithub.com/go-sql-driver/mysql/pull/1422) - [@​frozenbonito](https://togithub.com/frozenbonito) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1408](https://togithub.com/go-sql-driver/mysql/pull/1408) - [@​wayyoungboy](https://togithub.com/wayyoungboy) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1426](https://togithub.com/go-sql-driver/mysql/pull/1426) - [@​evanelias](https://togithub.com/evanelias) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1428](https://togithub.com/go-sql-driver/mysql/pull/1428) - [@​Daemonxiao](https://togithub.com/Daemonxiao) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1389](https://togithub.com/go-sql-driver/mysql/pull/1389) - [@​uji](https://togithub.com/uji) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1438](https://togithub.com/go-sql-driver/mysql/pull/1438) - [@​testwill](https://togithub.com/testwill) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1439](https://togithub.com/go-sql-driver/mysql/pull/1439) - [@​i7a7467](https://togithub.com/i7a7467) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1468](https://togithub.com/go-sql-driver/mysql/pull/1468) - [@​Netzer7](https://togithub.com/Netzer7) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1464](https://togithub.com/go-sql-driver/mysql/pull/1464) - [@​golddranks](https://togithub.com/golddranks) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1475](https://togithub.com/go-sql-driver/mysql/pull/1475) - [@​ShenFeng312](https://togithub.com/ShenFeng312) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1481](https://togithub.com/go-sql-driver/mysql/pull/1481) - [@​owbone](https://togithub.com/owbone) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1473](https://togithub.com/go-sql-driver/mysql/pull/1473) - [@​scop](https://togithub.com/scop) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1485](https://togithub.com/go-sql-driver/mysql/pull/1485) - [@​panvalkar1994](https://togithub.com/panvalkar1994) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1510](https://togithub.com/go-sql-driver/mysql/pull/1510) - [@​zhangyangyu](https://togithub.com/zhangyangyu) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1470](https://togithub.com/go-sql-driver/mysql/pull/1470) - [@​keeplearning20221](https://togithub.com/keeplearning20221) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1462](https://togithub.com/go-sql-driver/mysql/pull/1462) - [@​oblitorum](https://togithub.com/oblitorum) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1506](https://togithub.com/go-sql-driver/mysql/pull/1506) - [@​Gusted](https://togithub.com/Gusted) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1518](https://togithub.com/go-sql-driver/mysql/pull/1518) - [@​jennifersp](https://togithub.com/jennifersp) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1520](https://togithub.com/go-sql-driver/mysql/pull/1520) - [@​shiyuhang0](https://togithub.com/shiyuhang0) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1530](https://togithub.com/go-sql-driver/mysql/pull/1530) - [@​PauliusLozys](https://togithub.com/PauliusLozys) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1541](https://togithub.com/go-sql-driver/mysql/pull/1541) - [@​crazycs520](https://togithub.com/crazycs520) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1333](https://togithub.com/go-sql-driver/mysql/pull/1333) - [@​ItalyPaleAle](https://togithub.com/ItalyPaleAle) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1469](https://togithub.com/go-sql-driver/mysql/pull/1469) **Full Changelog**: go-sql-driver/mysql@v1.7.1...v1.8.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzguMSIsInVwZGF0ZWRJblZlciI6IjM3LjIzOC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: opentelemetrybot <[email protected]>
…en-telemetry#31708) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/go-sql-driver/mysql](https://togithub.com/go-sql-driver/mysql) | `v1.7.1` -> `v1.8.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgo-sql-driver%2fmysql/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgo-sql-driver%2fmysql/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgo-sql-driver%2fmysql/v1.7.1/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgo-sql-driver%2fmysql/v1.7.1/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>go-sql-driver/mysql (github.com/go-sql-driver/mysql)</summary> ### [`v1.8.0`](https://togithub.com/go-sql-driver/mysql/releases/tag/v1.8.0) [Compare Source](https://togithub.com/go-sql-driver/mysql/compare/v1.7.1...v1.8.0) #### What's Changed ##### Major changes - Use `SET NAMES charset COLLATE collation`. by [@&open-telemetry#8203;methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1437](https://togithub.com/go-sql-driver/mysql/pull/1437) - PathEscape dbname in DSN. by [@&open-telemetry#8203;methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1432](https://togithub.com/go-sql-driver/mysql/pull/1432) - Drop Go 1.13-17 support by [@&open-telemetry#8203;methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1420](https://togithub.com/go-sql-driver/mysql/pull/1420) - Parse numbers on text protocol too by [@&open-telemetry#8203;methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1452](https://togithub.com/go-sql-driver/mysql/pull/1452) ##### Other changes - Adding DeregisterDialContext to prevent memory leaks with dialers we don't need anymore by [@&open-telemetry#8203;jypelle](https://togithub.com/jypelle) in [https://github.com/go-sql-driver/mysql/pull/1422](https://togithub.com/go-sql-driver/mysql/pull/1422) - Make logger configurable per connection by [@&open-telemetry#8203;frozenbonito](https://togithub.com/frozenbonito) in [https://github.com/go-sql-driver/mysql/pull/1408](https://togithub.com/go-sql-driver/mysql/pull/1408) - Fix ColumnType.DatabaseTypeName for mediumint unsigned by [@&open-telemetry#8203;evanelias](https://togithub.com/evanelias) in [https://github.com/go-sql-driver/mysql/pull/1428](https://togithub.com/go-sql-driver/mysql/pull/1428) - Add connection attributes by [@&open-telemetry#8203;Daemonxiao](https://togithub.com/Daemonxiao) in [https://github.com/go-sql-driver/mysql/pull/1389](https://togithub.com/go-sql-driver/mysql/pull/1389) - Stop `ColumnTypeScanType()` from returning `sql.RawBytes` by [@&open-telemetry#8203;methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1424](https://togithub.com/go-sql-driver/mysql/pull/1424) - Exec() now provides access to status of multiple statements. by [@&open-telemetry#8203;mherr-google](https://togithub.com/mherr-google) in [https://github.com/go-sql-driver/mysql/pull/1309](https://togithub.com/go-sql-driver/mysql/pull/1309) - Allow to change (or disable) the default driver name for registration by [@&open-telemetry#8203;dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1499](https://togithub.com/go-sql-driver/mysql/pull/1499) - Add default connection attribute '\_server_host' by [@&open-telemetry#8203;oblitorum](https://togithub.com/oblitorum) in [https://github.com/go-sql-driver/mysql/pull/1506](https://togithub.com/go-sql-driver/mysql/pull/1506) - Make TimeTruncate functional option by [@&open-telemetry#8203;methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1552](https://togithub.com/go-sql-driver/mysql/pull/1552) - Add BeforeConnect callback to configuration object by [@&open-telemetry#8203;ItalyPaleAle](https://togithub.com/ItalyPaleAle) in [https://github.com/go-sql-driver/mysql/pull/1469](https://togithub.com/go-sql-driver/mysql/pull/1469) - QueryUnescape DSN ConnectionAttribute value by [@&open-telemetry#8203;zhangyangyu](https://togithub.com/zhangyangyu) in [https://github.com/go-sql-driver/mysql/pull/1470](https://togithub.com/go-sql-driver/mysql/pull/1470) - Add client_ed25519 authentication by [@&open-telemetry#8203;Gusted](https://togithub.com/Gusted) in [https://github.com/go-sql-driver/mysql/pull/1518](https://togithub.com/go-sql-driver/mysql/pull/1518) - Reduced allocation on connection.go by [@&open-telemetry#8203;EPuncker](https://togithub.com/EPuncker) in [https://github.com/go-sql-driver/mysql/pull/1421](https://togithub.com/go-sql-driver/mysql/pull/1421) - Avoid panic in TestRowsColumnTypes by [@&open-telemetry#8203;wayyoungboy](https://togithub.com/wayyoungboy) in [https://github.com/go-sql-driver/mysql/pull/1426](https://togithub.com/go-sql-driver/mysql/pull/1426) - Add benchmark to receive massive rows. by [@&open-telemetry#8203;methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1415](https://togithub.com/go-sql-driver/mysql/pull/1415) - README: Update multistatement by [@&open-telemetry#8203;methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1431](https://togithub.com/go-sql-driver/mysql/pull/1431) - all: replace ioutil pkg to new package by [@&open-telemetry#8203;uji](https://togithub.com/uji) in [https://github.com/go-sql-driver/mysql/pull/1438](https://togithub.com/go-sql-driver/mysql/pull/1438) - chore: code optimization by [@&open-telemetry#8203;testwill](https://togithub.com/testwill) in [https://github.com/go-sql-driver/mysql/pull/1439](https://togithub.com/go-sql-driver/mysql/pull/1439) - Reduce map lookup in ColumnTypeDatabaseTypeName. by [@&open-telemetry#8203;methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1436](https://togithub.com/go-sql-driver/mysql/pull/1436) - doc: add link to NewConnector from FormatDSN by [@&open-telemetry#8203;dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1442](https://togithub.com/go-sql-driver/mysql/pull/1442) - Add fuzz test for ParseDSN / FormatDSN roundtrip by [@&open-telemetry#8203;dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1444](https://togithub.com/go-sql-driver/mysql/pull/1444) - TestDSNReformat: add more roundtrip checks by [@&open-telemetry#8203;dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1443](https://togithub.com/go-sql-driver/mysql/pull/1443) - tcp: handle errors returned by SetKeepAlive by [@&open-telemetry#8203;achille-roussel](https://togithub.com/achille-roussel) in [https://github.com/go-sql-driver/mysql/pull/1448](https://togithub.com/go-sql-driver/mysql/pull/1448) - use staticcheck by [@&open-telemetry#8203;methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1449](https://togithub.com/go-sql-driver/mysql/pull/1449) - Add Daemonxiao to AUTHORS by [@&open-telemetry#8203;Daemonxiao](https://togithub.com/Daemonxiao) in [https://github.com/go-sql-driver/mysql/pull/1459](https://togithub.com/go-sql-driver/mysql/pull/1459) - Update link about `LOAD DATA LOCAL` in README.md by [@&open-telemetry#8203;i7a7467](https://togithub.com/i7a7467) in [https://github.com/go-sql-driver/mysql/pull/1468](https://togithub.com/go-sql-driver/mysql/pull/1468) - Update README.md by [@&open-telemetry#8203;Netzer7](https://togithub.com/Netzer7) in [https://github.com/go-sql-driver/mysql/pull/1464](https://togithub.com/go-sql-driver/mysql/pull/1464) - add Go 1.21 and MySQL 8.1 to the build matrix by [@&open-telemetry#8203;shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1472](https://togithub.com/go-sql-driver/mysql/pull/1472) - Improve DSN docstsrings by [@&open-telemetry#8203;golddranks](https://togithub.com/golddranks) in [https://github.com/go-sql-driver/mysql/pull/1475](https://togithub.com/go-sql-driver/mysql/pull/1475) - Fix [#&open-telemetry#8203;1478](https://togithub.com/go-sql-driver/mysql/issues/1478) remove length check by [@&open-telemetry#8203;ShenFeng312](https://togithub.com/ShenFeng312) in [https://github.com/go-sql-driver/mysql/pull/1481](https://togithub.com/go-sql-driver/mysql/pull/1481) - README: fix markup error by [@&open-telemetry#8203;methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1480](https://togithub.com/go-sql-driver/mysql/pull/1480) - Close connection on ErrPktSync and ErrPktSyncMul by [@&open-telemetry#8203;owbone](https://togithub.com/owbone) in [https://github.com/go-sql-driver/mysql/pull/1473](https://togithub.com/go-sql-driver/mysql/pull/1473) - Spelling, grammar, and link fixes by [@&open-telemetry#8203;scop](https://togithub.com/scop) in [https://github.com/go-sql-driver/mysql/pull/1485](https://togithub.com/go-sql-driver/mysql/pull/1485) - Make use of strings.Cut by [@&open-telemetry#8203;scop](https://togithub.com/scop) in [https://github.com/go-sql-driver/mysql/pull/1486](https://togithub.com/go-sql-driver/mysql/pull/1486) - move stale connection check to ResetSession() by [@&open-telemetry#8203;methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1496](https://togithub.com/go-sql-driver/mysql/pull/1496) - fix race condition of TestConcurrent by [@&open-telemetry#8203;shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1490](https://togithub.com/go-sql-driver/mysql/pull/1490) - mark fail, mustExec and mustQuery as test helpers by [@&open-telemetry#8203;shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1488](https://togithub.com/go-sql-driver/mysql/pull/1488) - Remove obsolete fuzz.go [#&open-telemetry#8203;1445](https://togithub.com/go-sql-driver/mysql/issues/1445) by [@&open-telemetry#8203;dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1498](https://togithub.com/go-sql-driver/mysql/pull/1498) - testing: expose testing.TB in DBTest instead of full \*testing.T by [@&open-telemetry#8203;dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1500](https://togithub.com/go-sql-driver/mysql/pull/1500) - symbol removed from installation command by [@&open-telemetry#8203;panvalkar1994](https://togithub.com/panvalkar1994) in [https://github.com/go-sql-driver/mysql/pull/1510](https://togithub.com/go-sql-driver/mysql/pull/1510) - fix issue 1361 by [@&open-telemetry#8203;keeplearning20221](https://togithub.com/keeplearning20221) in [https://github.com/go-sql-driver/mysql/pull/1462](https://togithub.com/go-sql-driver/mysql/pull/1462) - fix fragile test by [@&open-telemetry#8203;methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1522](https://togithub.com/go-sql-driver/mysql/pull/1522) - Fix sql.RawBytes corruption issue by [@&open-telemetry#8203;shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1523](https://togithub.com/go-sql-driver/mysql/pull/1523) - fix for enum and set field type to column type identifying by [@&open-telemetry#8203;jennifersp](https://togithub.com/jennifersp) in [https://github.com/go-sql-driver/mysql/pull/1520](https://togithub.com/go-sql-driver/mysql/pull/1520) - Parallelize test by [@&open-telemetry#8203;shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1525](https://togithub.com/go-sql-driver/mysql/pull/1525) - Fix unsigned int overflow by [@&open-telemetry#8203;shiyuhang0](https://togithub.com/shiyuhang0) in [https://github.com/go-sql-driver/mysql/pull/1530](https://togithub.com/go-sql-driver/mysql/pull/1530) - Introduce `timeTruncate` parameter for `time.Time` arguments by [@&open-telemetry#8203;PauliusLozys](https://togithub.com/PauliusLozys) in [https://github.com/go-sql-driver/mysql/pull/1541](https://togithub.com/go-sql-driver/mysql/pull/1541) - add TiDB support in README.md by [@&open-telemetry#8203;crazycs520](https://togithub.com/crazycs520) in [https://github.com/go-sql-driver/mysql/pull/1333](https://togithub.com/go-sql-driver/mysql/pull/1333) - Update workflows by [@&open-telemetry#8203;methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1547](https://togithub.com/go-sql-driver/mysql/pull/1547) #### New Contributors - [@&open-telemetry#8203;EPuncker](https://togithub.com/EPuncker) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1421](https://togithub.com/go-sql-driver/mysql/pull/1421) - [@&open-telemetry#8203;jypelle](https://togithub.com/jypelle) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1422](https://togithub.com/go-sql-driver/mysql/pull/1422) - [@&open-telemetry#8203;frozenbonito](https://togithub.com/frozenbonito) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1408](https://togithub.com/go-sql-driver/mysql/pull/1408) - [@&open-telemetry#8203;wayyoungboy](https://togithub.com/wayyoungboy) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1426](https://togithub.com/go-sql-driver/mysql/pull/1426) - [@&open-telemetry#8203;evanelias](https://togithub.com/evanelias) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1428](https://togithub.com/go-sql-driver/mysql/pull/1428) - [@&open-telemetry#8203;Daemonxiao](https://togithub.com/Daemonxiao) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1389](https://togithub.com/go-sql-driver/mysql/pull/1389) - [@&open-telemetry#8203;uji](https://togithub.com/uji) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1438](https://togithub.com/go-sql-driver/mysql/pull/1438) - [@&open-telemetry#8203;testwill](https://togithub.com/testwill) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1439](https://togithub.com/go-sql-driver/mysql/pull/1439) - [@&open-telemetry#8203;i7a7467](https://togithub.com/i7a7467) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1468](https://togithub.com/go-sql-driver/mysql/pull/1468) - [@&open-telemetry#8203;Netzer7](https://togithub.com/Netzer7) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1464](https://togithub.com/go-sql-driver/mysql/pull/1464) - [@&open-telemetry#8203;golddranks](https://togithub.com/golddranks) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1475](https://togithub.com/go-sql-driver/mysql/pull/1475) - [@&open-telemetry#8203;ShenFeng312](https://togithub.com/ShenFeng312) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1481](https://togithub.com/go-sql-driver/mysql/pull/1481) - [@&open-telemetry#8203;owbone](https://togithub.com/owbone) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1473](https://togithub.com/go-sql-driver/mysql/pull/1473) - [@&open-telemetry#8203;scop](https://togithub.com/scop) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1485](https://togithub.com/go-sql-driver/mysql/pull/1485) - [@&open-telemetry#8203;panvalkar1994](https://togithub.com/panvalkar1994) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1510](https://togithub.com/go-sql-driver/mysql/pull/1510) - [@&open-telemetry#8203;zhangyangyu](https://togithub.com/zhangyangyu) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1470](https://togithub.com/go-sql-driver/mysql/pull/1470) - [@&open-telemetry#8203;keeplearning20221](https://togithub.com/keeplearning20221) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1462](https://togithub.com/go-sql-driver/mysql/pull/1462) - [@&open-telemetry#8203;oblitorum](https://togithub.com/oblitorum) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1506](https://togithub.com/go-sql-driver/mysql/pull/1506) - [@&open-telemetry#8203;Gusted](https://togithub.com/Gusted) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1518](https://togithub.com/go-sql-driver/mysql/pull/1518) - [@&open-telemetry#8203;jennifersp](https://togithub.com/jennifersp) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1520](https://togithub.com/go-sql-driver/mysql/pull/1520) - [@&open-telemetry#8203;shiyuhang0](https://togithub.com/shiyuhang0) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1530](https://togithub.com/go-sql-driver/mysql/pull/1530) - [@&open-telemetry#8203;PauliusLozys](https://togithub.com/PauliusLozys) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1541](https://togithub.com/go-sql-driver/mysql/pull/1541) - [@&open-telemetry#8203;crazycs520](https://togithub.com/crazycs520) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1333](https://togithub.com/go-sql-driver/mysql/pull/1333) - [@&open-telemetry#8203;ItalyPaleAle](https://togithub.com/ItalyPaleAle) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1469](https://togithub.com/go-sql-driver/mysql/pull/1469) **Full Changelog**: go-sql-driver/mysql@v1.7.1...v1.8.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzguMSIsInVwZGF0ZWRJblZlciI6IjM3LjIzOC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: opentelemetrybot <[email protected]>
…en-telemetry#31708) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/go-sql-driver/mysql](https://togithub.com/go-sql-driver/mysql) | `v1.7.1` -> `v1.8.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgo-sql-driver%2fmysql/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgo-sql-driver%2fmysql/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgo-sql-driver%2fmysql/v1.7.1/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgo-sql-driver%2fmysql/v1.7.1/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>go-sql-driver/mysql (github.com/go-sql-driver/mysql)</summary> ### [`v1.8.0`](https://togithub.com/go-sql-driver/mysql/releases/tag/v1.8.0) [Compare Source](https://togithub.com/go-sql-driver/mysql/compare/v1.7.1...v1.8.0) #### What's Changed ##### Major changes - Use `SET NAMES charset COLLATE collation`. by [@&open-telemetry#8203;methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1437](https://togithub.com/go-sql-driver/mysql/pull/1437) - PathEscape dbname in DSN. by [@&open-telemetry#8203;methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1432](https://togithub.com/go-sql-driver/mysql/pull/1432) - Drop Go 1.13-17 support by [@&open-telemetry#8203;methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1420](https://togithub.com/go-sql-driver/mysql/pull/1420) - Parse numbers on text protocol too by [@&open-telemetry#8203;methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1452](https://togithub.com/go-sql-driver/mysql/pull/1452) ##### Other changes - Adding DeregisterDialContext to prevent memory leaks with dialers we don't need anymore by [@&open-telemetry#8203;jypelle](https://togithub.com/jypelle) in [https://github.com/go-sql-driver/mysql/pull/1422](https://togithub.com/go-sql-driver/mysql/pull/1422) - Make logger configurable per connection by [@&open-telemetry#8203;frozenbonito](https://togithub.com/frozenbonito) in [https://github.com/go-sql-driver/mysql/pull/1408](https://togithub.com/go-sql-driver/mysql/pull/1408) - Fix ColumnType.DatabaseTypeName for mediumint unsigned by [@&open-telemetry#8203;evanelias](https://togithub.com/evanelias) in [https://github.com/go-sql-driver/mysql/pull/1428](https://togithub.com/go-sql-driver/mysql/pull/1428) - Add connection attributes by [@&open-telemetry#8203;Daemonxiao](https://togithub.com/Daemonxiao) in [https://github.com/go-sql-driver/mysql/pull/1389](https://togithub.com/go-sql-driver/mysql/pull/1389) - Stop `ColumnTypeScanType()` from returning `sql.RawBytes` by [@&open-telemetry#8203;methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1424](https://togithub.com/go-sql-driver/mysql/pull/1424) - Exec() now provides access to status of multiple statements. by [@&open-telemetry#8203;mherr-google](https://togithub.com/mherr-google) in [https://github.com/go-sql-driver/mysql/pull/1309](https://togithub.com/go-sql-driver/mysql/pull/1309) - Allow to change (or disable) the default driver name for registration by [@&open-telemetry#8203;dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1499](https://togithub.com/go-sql-driver/mysql/pull/1499) - Add default connection attribute '\_server_host' by [@&open-telemetry#8203;oblitorum](https://togithub.com/oblitorum) in [https://github.com/go-sql-driver/mysql/pull/1506](https://togithub.com/go-sql-driver/mysql/pull/1506) - Make TimeTruncate functional option by [@&open-telemetry#8203;methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1552](https://togithub.com/go-sql-driver/mysql/pull/1552) - Add BeforeConnect callback to configuration object by [@&open-telemetry#8203;ItalyPaleAle](https://togithub.com/ItalyPaleAle) in [https://github.com/go-sql-driver/mysql/pull/1469](https://togithub.com/go-sql-driver/mysql/pull/1469) - QueryUnescape DSN ConnectionAttribute value by [@&open-telemetry#8203;zhangyangyu](https://togithub.com/zhangyangyu) in [https://github.com/go-sql-driver/mysql/pull/1470](https://togithub.com/go-sql-driver/mysql/pull/1470) - Add client_ed25519 authentication by [@&open-telemetry#8203;Gusted](https://togithub.com/Gusted) in [https://github.com/go-sql-driver/mysql/pull/1518](https://togithub.com/go-sql-driver/mysql/pull/1518) - Reduced allocation on connection.go by [@&open-telemetry#8203;EPuncker](https://togithub.com/EPuncker) in [https://github.com/go-sql-driver/mysql/pull/1421](https://togithub.com/go-sql-driver/mysql/pull/1421) - Avoid panic in TestRowsColumnTypes by [@&open-telemetry#8203;wayyoungboy](https://togithub.com/wayyoungboy) in [https://github.com/go-sql-driver/mysql/pull/1426](https://togithub.com/go-sql-driver/mysql/pull/1426) - Add benchmark to receive massive rows. by [@&open-telemetry#8203;methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1415](https://togithub.com/go-sql-driver/mysql/pull/1415) - README: Update multistatement by [@&open-telemetry#8203;methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1431](https://togithub.com/go-sql-driver/mysql/pull/1431) - all: replace ioutil pkg to new package by [@&open-telemetry#8203;uji](https://togithub.com/uji) in [https://github.com/go-sql-driver/mysql/pull/1438](https://togithub.com/go-sql-driver/mysql/pull/1438) - chore: code optimization by [@&open-telemetry#8203;testwill](https://togithub.com/testwill) in [https://github.com/go-sql-driver/mysql/pull/1439](https://togithub.com/go-sql-driver/mysql/pull/1439) - Reduce map lookup in ColumnTypeDatabaseTypeName. by [@&open-telemetry#8203;methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1436](https://togithub.com/go-sql-driver/mysql/pull/1436) - doc: add link to NewConnector from FormatDSN by [@&open-telemetry#8203;dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1442](https://togithub.com/go-sql-driver/mysql/pull/1442) - Add fuzz test for ParseDSN / FormatDSN roundtrip by [@&open-telemetry#8203;dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1444](https://togithub.com/go-sql-driver/mysql/pull/1444) - TestDSNReformat: add more roundtrip checks by [@&open-telemetry#8203;dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1443](https://togithub.com/go-sql-driver/mysql/pull/1443) - tcp: handle errors returned by SetKeepAlive by [@&open-telemetry#8203;achille-roussel](https://togithub.com/achille-roussel) in [https://github.com/go-sql-driver/mysql/pull/1448](https://togithub.com/go-sql-driver/mysql/pull/1448) - use staticcheck by [@&open-telemetry#8203;methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1449](https://togithub.com/go-sql-driver/mysql/pull/1449) - Add Daemonxiao to AUTHORS by [@&open-telemetry#8203;Daemonxiao](https://togithub.com/Daemonxiao) in [https://github.com/go-sql-driver/mysql/pull/1459](https://togithub.com/go-sql-driver/mysql/pull/1459) - Update link about `LOAD DATA LOCAL` in README.md by [@&open-telemetry#8203;i7a7467](https://togithub.com/i7a7467) in [https://github.com/go-sql-driver/mysql/pull/1468](https://togithub.com/go-sql-driver/mysql/pull/1468) - Update README.md by [@&open-telemetry#8203;Netzer7](https://togithub.com/Netzer7) in [https://github.com/go-sql-driver/mysql/pull/1464](https://togithub.com/go-sql-driver/mysql/pull/1464) - add Go 1.21 and MySQL 8.1 to the build matrix by [@&open-telemetry#8203;shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1472](https://togithub.com/go-sql-driver/mysql/pull/1472) - Improve DSN docstsrings by [@&open-telemetry#8203;golddranks](https://togithub.com/golddranks) in [https://github.com/go-sql-driver/mysql/pull/1475](https://togithub.com/go-sql-driver/mysql/pull/1475) - Fix [#&open-telemetry#8203;1478](https://togithub.com/go-sql-driver/mysql/issues/1478) remove length check by [@&open-telemetry#8203;ShenFeng312](https://togithub.com/ShenFeng312) in [https://github.com/go-sql-driver/mysql/pull/1481](https://togithub.com/go-sql-driver/mysql/pull/1481) - README: fix markup error by [@&open-telemetry#8203;methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1480](https://togithub.com/go-sql-driver/mysql/pull/1480) - Close connection on ErrPktSync and ErrPktSyncMul by [@&open-telemetry#8203;owbone](https://togithub.com/owbone) in [https://github.com/go-sql-driver/mysql/pull/1473](https://togithub.com/go-sql-driver/mysql/pull/1473) - Spelling, grammar, and link fixes by [@&open-telemetry#8203;scop](https://togithub.com/scop) in [https://github.com/go-sql-driver/mysql/pull/1485](https://togithub.com/go-sql-driver/mysql/pull/1485) - Make use of strings.Cut by [@&open-telemetry#8203;scop](https://togithub.com/scop) in [https://github.com/go-sql-driver/mysql/pull/1486](https://togithub.com/go-sql-driver/mysql/pull/1486) - move stale connection check to ResetSession() by [@&open-telemetry#8203;methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1496](https://togithub.com/go-sql-driver/mysql/pull/1496) - fix race condition of TestConcurrent by [@&open-telemetry#8203;shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1490](https://togithub.com/go-sql-driver/mysql/pull/1490) - mark fail, mustExec and mustQuery as test helpers by [@&open-telemetry#8203;shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1488](https://togithub.com/go-sql-driver/mysql/pull/1488) - Remove obsolete fuzz.go [#&open-telemetry#8203;1445](https://togithub.com/go-sql-driver/mysql/issues/1445) by [@&open-telemetry#8203;dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1498](https://togithub.com/go-sql-driver/mysql/pull/1498) - testing: expose testing.TB in DBTest instead of full \*testing.T by [@&open-telemetry#8203;dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1500](https://togithub.com/go-sql-driver/mysql/pull/1500) - symbol removed from installation command by [@&open-telemetry#8203;panvalkar1994](https://togithub.com/panvalkar1994) in [https://github.com/go-sql-driver/mysql/pull/1510](https://togithub.com/go-sql-driver/mysql/pull/1510) - fix issue 1361 by [@&open-telemetry#8203;keeplearning20221](https://togithub.com/keeplearning20221) in [https://github.com/go-sql-driver/mysql/pull/1462](https://togithub.com/go-sql-driver/mysql/pull/1462) - fix fragile test by [@&open-telemetry#8203;methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1522](https://togithub.com/go-sql-driver/mysql/pull/1522) - Fix sql.RawBytes corruption issue by [@&open-telemetry#8203;shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1523](https://togithub.com/go-sql-driver/mysql/pull/1523) - fix for enum and set field type to column type identifying by [@&open-telemetry#8203;jennifersp](https://togithub.com/jennifersp) in [https://github.com/go-sql-driver/mysql/pull/1520](https://togithub.com/go-sql-driver/mysql/pull/1520) - Parallelize test by [@&open-telemetry#8203;shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1525](https://togithub.com/go-sql-driver/mysql/pull/1525) - Fix unsigned int overflow by [@&open-telemetry#8203;shiyuhang0](https://togithub.com/shiyuhang0) in [https://github.com/go-sql-driver/mysql/pull/1530](https://togithub.com/go-sql-driver/mysql/pull/1530) - Introduce `timeTruncate` parameter for `time.Time` arguments by [@&open-telemetry#8203;PauliusLozys](https://togithub.com/PauliusLozys) in [https://github.com/go-sql-driver/mysql/pull/1541](https://togithub.com/go-sql-driver/mysql/pull/1541) - add TiDB support in README.md by [@&open-telemetry#8203;crazycs520](https://togithub.com/crazycs520) in [https://github.com/go-sql-driver/mysql/pull/1333](https://togithub.com/go-sql-driver/mysql/pull/1333) - Update workflows by [@&open-telemetry#8203;methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1547](https://togithub.com/go-sql-driver/mysql/pull/1547) #### New Contributors - [@&open-telemetry#8203;EPuncker](https://togithub.com/EPuncker) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1421](https://togithub.com/go-sql-driver/mysql/pull/1421) - [@&open-telemetry#8203;jypelle](https://togithub.com/jypelle) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1422](https://togithub.com/go-sql-driver/mysql/pull/1422) - [@&open-telemetry#8203;frozenbonito](https://togithub.com/frozenbonito) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1408](https://togithub.com/go-sql-driver/mysql/pull/1408) - [@&open-telemetry#8203;wayyoungboy](https://togithub.com/wayyoungboy) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1426](https://togithub.com/go-sql-driver/mysql/pull/1426) - [@&open-telemetry#8203;evanelias](https://togithub.com/evanelias) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1428](https://togithub.com/go-sql-driver/mysql/pull/1428) - [@&open-telemetry#8203;Daemonxiao](https://togithub.com/Daemonxiao) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1389](https://togithub.com/go-sql-driver/mysql/pull/1389) - [@&open-telemetry#8203;uji](https://togithub.com/uji) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1438](https://togithub.com/go-sql-driver/mysql/pull/1438) - [@&open-telemetry#8203;testwill](https://togithub.com/testwill) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1439](https://togithub.com/go-sql-driver/mysql/pull/1439) - [@&open-telemetry#8203;i7a7467](https://togithub.com/i7a7467) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1468](https://togithub.com/go-sql-driver/mysql/pull/1468) - [@&open-telemetry#8203;Netzer7](https://togithub.com/Netzer7) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1464](https://togithub.com/go-sql-driver/mysql/pull/1464) - [@&open-telemetry#8203;golddranks](https://togithub.com/golddranks) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1475](https://togithub.com/go-sql-driver/mysql/pull/1475) - [@&open-telemetry#8203;ShenFeng312](https://togithub.com/ShenFeng312) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1481](https://togithub.com/go-sql-driver/mysql/pull/1481) - [@&open-telemetry#8203;owbone](https://togithub.com/owbone) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1473](https://togithub.com/go-sql-driver/mysql/pull/1473) - [@&open-telemetry#8203;scop](https://togithub.com/scop) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1485](https://togithub.com/go-sql-driver/mysql/pull/1485) - [@&open-telemetry#8203;panvalkar1994](https://togithub.com/panvalkar1994) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1510](https://togithub.com/go-sql-driver/mysql/pull/1510) - [@&open-telemetry#8203;zhangyangyu](https://togithub.com/zhangyangyu) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1470](https://togithub.com/go-sql-driver/mysql/pull/1470) - [@&open-telemetry#8203;keeplearning20221](https://togithub.com/keeplearning20221) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1462](https://togithub.com/go-sql-driver/mysql/pull/1462) - [@&open-telemetry#8203;oblitorum](https://togithub.com/oblitorum) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1506](https://togithub.com/go-sql-driver/mysql/pull/1506) - [@&open-telemetry#8203;Gusted](https://togithub.com/Gusted) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1518](https://togithub.com/go-sql-driver/mysql/pull/1518) - [@&open-telemetry#8203;jennifersp](https://togithub.com/jennifersp) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1520](https://togithub.com/go-sql-driver/mysql/pull/1520) - [@&open-telemetry#8203;shiyuhang0](https://togithub.com/shiyuhang0) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1530](https://togithub.com/go-sql-driver/mysql/pull/1530) - [@&open-telemetry#8203;PauliusLozys](https://togithub.com/PauliusLozys) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1541](https://togithub.com/go-sql-driver/mysql/pull/1541) - [@&open-telemetry#8203;crazycs520](https://togithub.com/crazycs520) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1333](https://togithub.com/go-sql-driver/mysql/pull/1333) - [@&open-telemetry#8203;ItalyPaleAle](https://togithub.com/ItalyPaleAle) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1469](https://togithub.com/go-sql-driver/mysql/pull/1469) **Full Changelog**: go-sql-driver/mysql@v1.7.1...v1.8.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzguMSIsInVwZGF0ZWRJblZlciI6IjM3LjIzOC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: opentelemetrybot <[email protected]>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/go-sql-driver/mysql](https://togithub.com/go-sql-driver/mysql) | `v1.7.1` -> `v1.8.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgo-sql-driver%2fmysql/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgo-sql-driver%2fmysql/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgo-sql-driver%2fmysql/v1.7.1/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgo-sql-driver%2fmysql/v1.7.1/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [github.com/golang-jwt/jwt/v5](https://togithub.com/golang-jwt/jwt) | `v5.2.0` -> `v5.2.1` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgolang-jwt%2fjwt%2fv5/v5.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgolang-jwt%2fjwt%2fv5/v5.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgolang-jwt%2fjwt%2fv5/v5.2.0/v5.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgolang-jwt%2fjwt%2fv5/v5.2.0/v5.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [github.com/prometheus/client_golang](https://togithub.com/prometheus/client_golang) | `v1.18.0` -> `v1.19.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fclient_golang/v1.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fclient_golang/v1.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fclient_golang/v1.18.0/v1.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fclient_golang/v1.18.0/v1.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [github.com/stretchr/testify](https://togithub.com/stretchr/testify) | `v1.8.4` -> `v1.9.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fstretchr%2ftestify/v1.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fstretchr%2ftestify/v1.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fstretchr%2ftestify/v1.8.4/v1.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fstretchr%2ftestify/v1.8.4/v1.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [github.com/xanzy/go-gitlab](https://togithub.com/xanzy/go-gitlab) | `v0.97.0` -> `v0.100.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fxanzy%2fgo-gitlab/v0.100.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fxanzy%2fgo-gitlab/v0.100.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fxanzy%2fgo-gitlab/v0.97.0/v0.100.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fxanzy%2fgo-gitlab/v0.97.0/v0.100.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | golang.org/x/crypto | `v0.19.0` -> `v0.21.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fcrypto/v0.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fcrypto/v0.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fcrypto/v0.19.0/v0.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fcrypto/v0.19.0/v0.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | golang.org/x/net | `v0.21.0` -> `v0.22.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fnet/v0.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fnet/v0.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fnet/v0.21.0/v0.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fnet/v0.21.0/v0.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | golang.org/x/oauth2 | `v0.17.0` -> `v0.18.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2foauth2/v0.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2foauth2/v0.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2foauth2/v0.17.0/v0.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2foauth2/v0.17.0/v0.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | golang.org/x/term | `v0.17.0` -> `v0.18.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fterm/v0.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fterm/v0.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fterm/v0.17.0/v0.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fterm/v0.17.0/v0.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [google.golang.org/grpc](https://togithub.com/grpc/grpc-go) | `v1.62.0` -> `v1.62.1` | [![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fgrpc/v1.62.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fgrpc/v1.62.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fgrpc/v1.62.0/v1.62.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fgrpc/v1.62.0/v1.62.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>go-sql-driver/mysql (github.com/go-sql-driver/mysql)</summary> ### [`v1.8.0`](https://togithub.com/go-sql-driver/mysql/releases/tag/v1.8.0) [Compare Source](https://togithub.com/go-sql-driver/mysql/compare/v1.7.1...v1.8.0) #### What's Changed ##### Major changes - Use `SET NAMES charset COLLATE collation`. by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1437](https://togithub.com/go-sql-driver/mysql/pull/1437) - PathEscape dbname in DSN. by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1432](https://togithub.com/go-sql-driver/mysql/pull/1432) - Drop Go 1.13-17 support by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1420](https://togithub.com/go-sql-driver/mysql/pull/1420) - Parse numbers on text protocol too by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1452](https://togithub.com/go-sql-driver/mysql/pull/1452) ##### Other changes - Adding DeregisterDialContext to prevent memory leaks with dialers we don't need anymore by [@​jypelle](https://togithub.com/jypelle) in [https://github.com/go-sql-driver/mysql/pull/1422](https://togithub.com/go-sql-driver/mysql/pull/1422) - Make logger configurable per connection by [@​frozenbonito](https://togithub.com/frozenbonito) in [https://github.com/go-sql-driver/mysql/pull/1408](https://togithub.com/go-sql-driver/mysql/pull/1408) - Fix ColumnType.DatabaseTypeName for mediumint unsigned by [@​evanelias](https://togithub.com/evanelias) in [https://github.com/go-sql-driver/mysql/pull/1428](https://togithub.com/go-sql-driver/mysql/pull/1428) - Add connection attributes by [@​Daemonxiao](https://togithub.com/Daemonxiao) in [https://github.com/go-sql-driver/mysql/pull/1389](https://togithub.com/go-sql-driver/mysql/pull/1389) - Stop `ColumnTypeScanType()` from returning `sql.RawBytes` by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1424](https://togithub.com/go-sql-driver/mysql/pull/1424) - Exec() now provides access to status of multiple statements. by [@​mherr-google](https://togithub.com/mherr-google) in [https://github.com/go-sql-driver/mysql/pull/1309](https://togithub.com/go-sql-driver/mysql/pull/1309) - Allow to change (or disable) the default driver name for registration by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1499](https://togithub.com/go-sql-driver/mysql/pull/1499) - Add default connection attribute '\_server_host' by [@​oblitorum](https://togithub.com/oblitorum) in [https://github.com/go-sql-driver/mysql/pull/1506](https://togithub.com/go-sql-driver/mysql/pull/1506) - Make TimeTruncate functional option by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1552](https://togithub.com/go-sql-driver/mysql/pull/1552) - Add BeforeConnect callback to configuration object by [@​ItalyPaleAle](https://togithub.com/ItalyPaleAle) in [https://github.com/go-sql-driver/mysql/pull/1469](https://togithub.com/go-sql-driver/mysql/pull/1469) - QueryUnescape DSN ConnectionAttribute value by [@​zhangyangyu](https://togithub.com/zhangyangyu) in [https://github.com/go-sql-driver/mysql/pull/1470](https://togithub.com/go-sql-driver/mysql/pull/1470) - Add client_ed25519 authentication by [@​Gusted](https://togithub.com/Gusted) in [https://github.com/go-sql-driver/mysql/pull/1518](https://togithub.com/go-sql-driver/mysql/pull/1518) - Reduced allocation on connection.go by [@​EPuncker](https://togithub.com/EPuncker) in [https://github.com/go-sql-driver/mysql/pull/1421](https://togithub.com/go-sql-driver/mysql/pull/1421) - Avoid panic in TestRowsColumnTypes by [@​wayyoungboy](https://togithub.com/wayyoungboy) in [https://github.com/go-sql-driver/mysql/pull/1426](https://togithub.com/go-sql-driver/mysql/pull/1426) - Add benchmark to receive massive rows. by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1415](https://togithub.com/go-sql-driver/mysql/pull/1415) - README: Update multistatement by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1431](https://togithub.com/go-sql-driver/mysql/pull/1431) - all: replace ioutil pkg to new package by [@​uji](https://togithub.com/uji) in [https://github.com/go-sql-driver/mysql/pull/1438](https://togithub.com/go-sql-driver/mysql/pull/1438) - chore: code optimization by [@​testwill](https://togithub.com/testwill) in [https://github.com/go-sql-driver/mysql/pull/1439](https://togithub.com/go-sql-driver/mysql/pull/1439) - Reduce map lookup in ColumnTypeDatabaseTypeName. by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1436](https://togithub.com/go-sql-driver/mysql/pull/1436) - doc: add link to NewConnector from FormatDSN by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1442](https://togithub.com/go-sql-driver/mysql/pull/1442) - Add fuzz test for ParseDSN / FormatDSN roundtrip by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1444](https://togithub.com/go-sql-driver/mysql/pull/1444) - TestDSNReformat: add more roundtrip checks by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1443](https://togithub.com/go-sql-driver/mysql/pull/1443) - tcp: handle errors returned by SetKeepAlive by [@​achille-roussel](https://togithub.com/achille-roussel) in [https://github.com/go-sql-driver/mysql/pull/1448](https://togithub.com/go-sql-driver/mysql/pull/1448) - use staticcheck by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1449](https://togithub.com/go-sql-driver/mysql/pull/1449) - Add Daemonxiao to AUTHORS by [@​Daemonxiao](https://togithub.com/Daemonxiao) in [https://github.com/go-sql-driver/mysql/pull/1459](https://togithub.com/go-sql-driver/mysql/pull/1459) - Update link about `LOAD DATA LOCAL` in README.md by [@​i7a7467](https://togithub.com/i7a7467) in [https://github.com/go-sql-driver/mysql/pull/1468](https://togithub.com/go-sql-driver/mysql/pull/1468) - Update README.md by [@​Netzer7](https://togithub.com/Netzer7) in [https://github.com/go-sql-driver/mysql/pull/1464](https://togithub.com/go-sql-driver/mysql/pull/1464) - add Go 1.21 and MySQL 8.1 to the build matrix by [@​shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1472](https://togithub.com/go-sql-driver/mysql/pull/1472) - Improve DSN docstsrings by [@​golddranks](https://togithub.com/golddranks) in [https://github.com/go-sql-driver/mysql/pull/1475](https://togithub.com/go-sql-driver/mysql/pull/1475) - Fix [#​1478](https://togithub.com/go-sql-driver/mysql/issues/1478) remove length check by [@​ShenFeng312](https://togithub.com/ShenFeng312) in [https://github.com/go-sql-driver/mysql/pull/1481](https://togithub.com/go-sql-driver/mysql/pull/1481) - README: fix markup error by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1480](https://togithub.com/go-sql-driver/mysql/pull/1480) - Close connection on ErrPktSync and ErrPktSyncMul by [@​owbone](https://togithub.com/owbone) in [https://github.com/go-sql-driver/mysql/pull/1473](https://togithub.com/go-sql-driver/mysql/pull/1473) - Spelling, grammar, and link fixes by [@​scop](https://togithub.com/scop) in [https://github.com/go-sql-driver/mysql/pull/1485](https://togithub.com/go-sql-driver/mysql/pull/1485) - Make use of strings.Cut by [@​scop](https://togithub.com/scop) in [https://github.com/go-sql-driver/mysql/pull/1486](https://togithub.com/go-sql-driver/mysql/pull/1486) - move stale connection check to ResetSession() by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1496](https://togithub.com/go-sql-driver/mysql/pull/1496) - fix race condition of TestConcurrent by [@​shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1490](https://togithub.com/go-sql-driver/mysql/pull/1490) - mark fail, mustExec and mustQuery as test helpers by [@​shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1488](https://togithub.com/go-sql-driver/mysql/pull/1488) - Remove obsolete fuzz.go [#​1445](https://togithub.com/go-sql-driver/mysql/issues/1445) by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1498](https://togithub.com/go-sql-driver/mysql/pull/1498) - testing: expose testing.TB in DBTest instead of full \*testing.T by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1500](https://togithub.com/go-sql-driver/mysql/pull/1500) - symbol removed from installation command by [@​panvalkar1994](https://togithub.com/panvalkar1994) in [https://github.com/go-sql-driver/mysql/pull/1510](https://togithub.com/go-sql-driver/mysql/pull/1510) - fix issue 1361 by [@​keeplearning20221](https://togithub.com/keeplearning20221) in [https://github.com/go-sql-driver/mysql/pull/1462](https://togithub.com/go-sql-driver/mysql/pull/1462) - fix fragile test by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1522](https://togithub.com/go-sql-driver/mysql/pull/1522) - Fix sql.RawBytes corruption issue by [@​shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1523](https://togithub.com/go-sql-driver/mysql/pull/1523) - fix for enum and set field type to column type identifying by [@​jennifersp](https://togithub.com/jennifersp) in [https://github.com/go-sql-driver/mysql/pull/1520](https://togithub.com/go-sql-driver/mysql/pull/1520) - Parallelize test by [@​shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1525](https://togithub.com/go-sql-driver/mysql/pull/1525) - Fix unsigned int overflow by [@​shiyuhang0](https://togithub.com/shiyuhang0) in [https://github.com/go-sql-driver/mysql/pull/1530](https://togithub.com/go-sql-driver/mysql/pull/1530) - Introduce `timeTruncate` parameter for `time.Time` arguments by [@​PauliusLozys](https://togithub.com/PauliusLozys) in [https://github.com/go-sql-driver/mysql/pull/1541](https://togithub.com/go-sql-driver/mysql/pull/1541) - add TiDB support in README.md by [@​crazycs520](https://togithub.com/crazycs520) in [https://github.com/go-sql-driver/mysql/pull/1333](https://togithub.com/go-sql-driver/mysql/pull/1333) - Update workflows by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1547](https://togithub.com/go-sql-driver/mysql/pull/1547) #### New Contributors - [@​EPuncker](https://togithub.com/EPuncker) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1421](https://togithub.com/go-sql-driver/mysql/pull/1421) - [@​jypelle](https://togithub.com/jypelle) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1422](https://togithub.com/go-sql-driver/mysql/pull/1422) - [@​frozenbonito](https://togithub.com/frozenbonito) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1408](https://togithub.com/go-sql-driver/mysql/pull/1408) - [@​wayyoungboy](https://togithub.com/wayyoungboy) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1426](https://togithub.com/go-sql-driver/mysql/pull/1426) - [@​evanelias](https://togithub.com/evanelias) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1428](https://togithub.com/go-sql-driver/mysql/pull/1428) - [@​Daemonxiao](https://togithub.com/Daemonxiao) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1389](https://togithub.com/go-sql-driver/mysql/pull/1389) - [@​uji](https://togithub.com/uji) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1438](https://togithub.com/go-sql-driver/mysql/pull/1438) - [@​testwill](https://togithub.com/testwill) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1439](https://togithub.com/go-sql-driver/mysql/pull/1439) - [@​i7a7467](https://togithub.com/i7a7467) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1468](https://togithub.com/go-sql-driver/mysql/pull/1468) - [@​Netzer7](https://togithub.com/Netzer7) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1464](https://togithub.com/go-sql-driver/mysql/pull/1464) - [@​golddranks](https://togithub.com/golddranks) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1475](https://togithub.com/go-sql-driver/mysql/pull/1475) - [@​ShenFeng312](https://togithub.com/ShenFeng312) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1481](https://togithub.com/go-sql-driver/mysql/pull/1481) - [@​owbone](https://togithub.com/owbone) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1473](https://togithub.com/go-sql-driver/mysql/pull/1473) - [@​scop](https://togithub.com/scop) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1485](https://togithub.com/go-sql-driver/mysql/pull/1485) - [@​panvalkar1994](https://togithub.com/panvalkar1994) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1510](https://togithub.com/go-sql-driver/mysql/pull/1510) - [@​zhangyangyu](https://togithub.com/zhangyangyu) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1470](https://togithub.com/go-sql-driver/mysql/pull/1470) - [@​keeplearning20221](https://togithub.com/keeplearning20221) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1462](https://togithub.com/go-sql-driver/mysql/pull/1462) - [@​oblitorum](https://togithub.com/oblitorum) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1506](https://togithub.com/go-sql-driver/mysql/pull/1506) - [@​Gusted](https://togithub.com/Gusted) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1518](https://togithub.com/go-sql-driver/mysql/pull/1518) - [@​jennifersp](https://togithub.com/jennifersp) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1520](https://togithub.com/go-sql-driver/mysql/pull/1520) - [@​shiyuhang0](https://togithub.com/shiyuhang0) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1530](https://togithub.com/go-sql-driver/mysql/pull/1530) - [@​PauliusLozys](https://togithub.com/PauliusLozys) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1541](https://togithub.com/go-sql-driver/mysql/pull/1541) - [@​crazycs520](https://togithub.com/crazycs520) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1333](https://togithub.com/go-sql-driver/mysql/pull/1333) - [@​ItalyPaleAle](https://togithub.com/ItalyPaleAle) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1469](https://togithub.com/go-sql-driver/mysql/pull/1469) **Full Changelog**: go-sql-driver/mysql@v1.7.1...v1.8.0 </details> <details> <summary>golang-jwt/jwt (github.com/golang-jwt/jwt/v5)</summary> ### [`v5.2.1`](https://togithub.com/golang-jwt/jwt/releases/tag/v5.2.1) [Compare Source](https://togithub.com/golang-jwt/jwt/compare/v5.2.0...v5.2.1) #### What's Changed - chore: remove unnecessary conversions from tests by [@​estensen](https://togithub.com/estensen) in [https://github.com/golang-jwt/jwt/pull/370](https://togithub.com/golang-jwt/jwt/pull/370) - Trivial: Typo fix for ECDSA error message by [@​tjs-cinemo](https://togithub.com/tjs-cinemo) in [https://github.com/golang-jwt/jwt/pull/373](https://togithub.com/golang-jwt/jwt/pull/373) - Fix incorrect error return by [@​ss49919201](https://togithub.com/ss49919201) in [https://github.com/golang-jwt/jwt/pull/371](https://togithub.com/golang-jwt/jwt/pull/371) #### New Contributors - [@​tjs-cinemo](https://togithub.com/tjs-cinemo) made their first contribution in [https://github.com/golang-jwt/jwt/pull/373](https://togithub.com/golang-jwt/jwt/pull/373) - [@​ss49919201](https://togithub.com/ss49919201) made their first contribution in [https://github.com/golang-jwt/jwt/pull/371](https://togithub.com/golang-jwt/jwt/pull/371) **Full Changelog**: golang-jwt/jwt@v5.2.0...v5.2.1 </details> <details> <summary>prometheus/client_golang (github.com/prometheus/client_golang)</summary> ### [`v1.19.0`](https://togithub.com/prometheus/client_golang/releases/tag/v1.19.0) [Compare Source](https://togithub.com/prometheus/client_golang/compare/v1.18.0...v1.19.0) #### What's Changed The module `prometheus/common v0.48.0` introduced an incompatibility when used together with client_golang (See [https://github.com/prometheus/client_golang/pull/1448](https://togithub.com/prometheus/client_golang/pull/1448) for more details). If your project uses client_golang and you want to use `prometheus/common v0.48.0` or higher, please update client_golang to v1.19.0. - \[CHANGE] Minimum required go version is now 1.20 (we also test client_golang against new 1.22 version). [#​1445](https://togithub.com/prometheus/client_golang/issues/1445) [#​1449](https://togithub.com/prometheus/client_golang/issues/1449) - \[FEATURE] collectors: Add version collector. [#​1422](https://togithub.com/prometheus/client_golang/issues/1422) [#​1427](https://togithub.com/prometheus/client_golang/issues/1427) #### New Contributors - [@​michurin](https://togithub.com/michurin) made their first contribution in [https://github.com/prometheus/client_golang/pull/1423](https://togithub.com/prometheus/client_golang/pull/1423) - [@​kavu](https://togithub.com/kavu) made their first contribution in [https://github.com/prometheus/client_golang/pull/1445](https://togithub.com/prometheus/client_golang/pull/1445) - [@​ywwg](https://togithub.com/ywwg) made their first contribution in [https://github.com/prometheus/client_golang/pull/1448](https://togithub.com/prometheus/client_golang/pull/1448) **Full Changelog**: prometheus/client_golang@v1.18.0...v1.19.0 </details> <details> <summary>stretchr/testify (github.com/stretchr/testify)</summary> ### [`v1.9.0`](https://togithub.com/stretchr/testify/releases/tag/v1.9.0) [Compare Source](https://togithub.com/stretchr/testify/compare/v1.8.4...v1.9.0) #### What's Changed - Fix Go modules version by [@​SuperQ](https://togithub.com/SuperQ) in [https://github.com/stretchr/testify/pull/1394](https://togithub.com/stretchr/testify/pull/1394) - Document that require is not safe to call in created goroutines by [@​programmer04](https://togithub.com/programmer04) in [https://github.com/stretchr/testify/pull/1392](https://togithub.com/stretchr/testify/pull/1392) - Remove myself from MAINTAINERS.md by [@​mvdkleijn](https://togithub.com/mvdkleijn) in [https://github.com/stretchr/testify/pull/1367](https://togithub.com/stretchr/testify/pull/1367) - Correct spelling/grammar by [@​echarrod](https://togithub.com/echarrod) in [https://github.com/stretchr/testify/pull/1389](https://togithub.com/stretchr/testify/pull/1389) - docs: Update URLs in README by [@​davidjb](https://togithub.com/davidjb) in [https://github.com/stretchr/testify/pull/1349](https://togithub.com/stretchr/testify/pull/1349) - Update mockery link to Github Pages in README by [@​LandonTClipp](https://togithub.com/LandonTClipp) in [https://github.com/stretchr/testify/pull/1346](https://togithub.com/stretchr/testify/pull/1346) - docs: Fix typos in tests and comments by [@​alexandear](https://togithub.com/alexandear) in [https://github.com/stretchr/testify/pull/1410](https://togithub.com/stretchr/testify/pull/1410) - CI: tests from go1.17 by [@​SuperQ](https://togithub.com/SuperQ) in [https://github.com/stretchr/testify/pull/1409](https://togithub.com/stretchr/testify/pull/1409) - Fix adding ? when no values passed by [@​lesichkovm](https://togithub.com/lesichkovm) in [https://github.com/stretchr/testify/pull/1320](https://togithub.com/stretchr/testify/pull/1320) - codegen: use standard header for generated files by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1406](https://togithub.com/stretchr/testify/pull/1406) - mock: AssertExpectations log reason only on failure by [@​hikyaru-suzuki](https://togithub.com/hikyaru-suzuki) in [https://github.com/stretchr/testify/pull/1360](https://togithub.com/stretchr/testify/pull/1360) - assert: fix flaky TestNeverTrue by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1417](https://togithub.com/stretchr/testify/pull/1417) - README: fix typos "set up" vs "setup" by [@​ossan-dev](https://togithub.com/ossan-dev) in [https://github.com/stretchr/testify/pull/1428](https://togithub.com/stretchr/testify/pull/1428) - mock: move regexp compilation outside of `Called` by [@​aud10slave](https://togithub.com/aud10slave) in [https://github.com/stretchr/testify/pull/631](https://togithub.com/stretchr/testify/pull/631) - assert: refactor internal func getLen() by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1445](https://togithub.com/stretchr/testify/pull/1445) - mock: deprecate type AnythingOfTypeArgument ([#​1434](https://togithub.com/stretchr/testify/issues/1434)) by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1441](https://togithub.com/stretchr/testify/pull/1441) - Remove no longer needed assert.canConvert by [@​alexandear](https://togithub.com/alexandear) in [https://github.com/stretchr/testify/pull/1470](https://togithub.com/stretchr/testify/pull/1470) - assert: ObjectsAreEqual: use time.Equal for time.Time types by [@​tscales](https://togithub.com/tscales) in [https://github.com/stretchr/testify/pull/1464](https://togithub.com/stretchr/testify/pull/1464) - Bump actions/checkout from 3 to 4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/stretchr/testify/pull/1466](https://togithub.com/stretchr/testify/pull/1466) - Bump actions/setup-go from 3.2.0 to 4.1.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/stretchr/testify/pull/1451](https://togithub.com/stretchr/testify/pull/1451) - fix: make EventuallyWithT concurrency safe by [@​czeslavo](https://togithub.com/czeslavo) in [https://github.com/stretchr/testify/pull/1395](https://togithub.com/stretchr/testify/pull/1395) - assert: fix httpCode and HTTPBody occur panic when http.Handler read Body by [@​hidu](https://togithub.com/hidu) in [https://github.com/stretchr/testify/pull/1484](https://togithub.com/stretchr/testify/pull/1484) - assert.EqualExportedValues: fix handling of arrays by [@​zrbecker](https://togithub.com/zrbecker) in [https://github.com/stretchr/testify/pull/1473](https://togithub.com/stretchr/testify/pull/1473) - .github: use latest Go versions by [@​kevinburkesegment](https://togithub.com/kevinburkesegment) in [https://github.com/stretchr/testify/pull/1489](https://togithub.com/stretchr/testify/pull/1489) - assert: Deprecate EqualExportedValues by [@​HaraldNordgren](https://togithub.com/HaraldNordgren) in [https://github.com/stretchr/testify/pull/1488](https://togithub.com/stretchr/testify/pull/1488) - suite: refactor test assertions by [@​alexandear](https://togithub.com/alexandear) in [https://github.com/stretchr/testify/pull/1474](https://togithub.com/stretchr/testify/pull/1474) - suite: fix SetupSubTest and TearDownSubTest execution order by [@​linusbarth](https://togithub.com/linusbarth) in [https://github.com/stretchr/testify/pull/1471](https://togithub.com/stretchr/testify/pull/1471) - docs: Fix deprecation comments for http package by [@​alexandear](https://togithub.com/alexandear) in [https://github.com/stretchr/testify/pull/1335](https://togithub.com/stretchr/testify/pull/1335) - Add map support doc comments to Subset and NotSubset by [@​jedevc](https://togithub.com/jedevc) in [https://github.com/stretchr/testify/pull/1306](https://togithub.com/stretchr/testify/pull/1306) - TestErrorIs/TestNotErrorIs: check error message contents by [@​craig65535](https://togithub.com/craig65535) in [https://github.com/stretchr/testify/pull/1435](https://togithub.com/stretchr/testify/pull/1435) - suite: fix subtest names (fix [#​1501](https://togithub.com/stretchr/testify/issues/1501)) by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1504](https://togithub.com/stretchr/testify/pull/1504) - assert: improve unsafe.Pointer tests by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1505](https://togithub.com/stretchr/testify/pull/1505) - assert: simplify isNil implementation by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1506](https://togithub.com/stretchr/testify/pull/1506) - assert.InEpsilonSlice: fix expected/actual order and other improvements by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1483](https://togithub.com/stretchr/testify/pull/1483) - Fix dependency cycle with objx [#​1292](https://togithub.com/stretchr/testify/issues/1292) by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1453](https://togithub.com/stretchr/testify/pull/1453) - mock: refactor TestIsArgsEqual by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1444](https://togithub.com/stretchr/testify/pull/1444) - mock: optimize argument matching checks by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1416](https://togithub.com/stretchr/testify/pull/1416) - assert: fix TestEventuallyTimeout by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1412](https://togithub.com/stretchr/testify/pull/1412) - CI: add go 1.21 in GitHub Actions by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1450](https://togithub.com/stretchr/testify/pull/1450) - suite: fix recoverAndFailOnPanic to report test failure at the right location by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1502](https://togithub.com/stretchr/testify/pull/1502) - Update maintainers by [@​brackendawson](https://togithub.com/brackendawson) in [https://github.com/stretchr/testify/pull/1533](https://togithub.com/stretchr/testify/pull/1533) - assert: Fix EqualValues to handle overflow/underflow by [@​arjunmahishi](https://togithub.com/arjunmahishi) in [https://github.com/stretchr/testify/pull/1531](https://togithub.com/stretchr/testify/pull/1531) - assert: better formatting for Len() error by [@​kevinburkesegment](https://togithub.com/kevinburkesegment) in [https://github.com/stretchr/testify/pull/1485](https://togithub.com/stretchr/testify/pull/1485) - Ensure AssertExpectations does not fail in skipped tests by [@​ianrose14](https://togithub.com/ianrose14) in [https://github.com/stretchr/testify/pull/1331](https://togithub.com/stretchr/testify/pull/1331) - suite: fix deadlock in suite.Require()/Assert() by [@​arjunmahishi](https://togithub.com/arjunmahishi) in [https://github.com/stretchr/testify/pull/1535](https://togithub.com/stretchr/testify/pull/1535) - Revert "assert: ObjectsAreEqual: use time.Equal for time.Time type" by [@​brackendawson](https://togithub.com/brackendawson) in [https://github.com/stretchr/testify/pull/1537](https://togithub.com/stretchr/testify/pull/1537) - \[chore] Add issue templates by [@​arjunmahishi](https://togithub.com/arjunmahishi) in [https://github.com/stretchr/testify/pull/1538](https://togithub.com/stretchr/testify/pull/1538) - Update the build status badge by [@​brackendawson](https://togithub.com/brackendawson) in [https://github.com/stretchr/testify/pull/1540](https://togithub.com/stretchr/testify/pull/1540) - Update Github workflows setup-go to V5 by [@​hendrywiranto](https://togithub.com/hendrywiranto) in [https://github.com/stretchr/testify/pull/1545](https://togithub.com/stretchr/testify/pull/1545) - Support Pointer to Struct in EqualExportedValues by [@​Lucaber](https://togithub.com/Lucaber) in [https://github.com/stretchr/testify/pull/1517](https://togithub.com/stretchr/testify/pull/1517) - README: drop link to gorc by [@​guettli](https://togithub.com/guettli) in [https://github.com/stretchr/testify/pull/1248](https://togithub.com/stretchr/testify/pull/1248) - http_assertions: honour the msgAndArgs provided with each assertion by [@​arjunmahishi](https://togithub.com/arjunmahishi) in [https://github.com/stretchr/testify/pull/1548](https://togithub.com/stretchr/testify/pull/1548) - fix typos in comments and tests by [@​ccoVeille](https://togithub.com/ccoVeille) in [https://github.com/stretchr/testify/pull/1247](https://togithub.com/stretchr/testify/pull/1247) - Include the auto-release notes in releases by [@​brackendawson](https://togithub.com/brackendawson) in [https://github.com/stretchr/testify/pull/1550](https://togithub.com/stretchr/testify/pull/1550) - Add `NotImplements` and variants by [@​hslatman](https://togithub.com/hslatman) in [https://github.com/stretchr/testify/pull/1385](https://togithub.com/stretchr/testify/pull/1385) - Add support to compare uintptr by [@​bogdandrutu](https://togithub.com/bogdandrutu) in [https://github.com/stretchr/testify/pull/1339](https://togithub.com/stretchr/testify/pull/1339) - build(deps): bump github.com/stretchr/objx from 0.5.1 to 0.5.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/stretchr/testify/pull/1552](https://togithub.com/stretchr/testify/pull/1552) #### New Contributors - [@​SuperQ](https://togithub.com/SuperQ) made their first contribution in [https://github.com/stretchr/testify/pull/1394](https://togithub.com/stretchr/testify/pull/1394) - [@​programmer04](https://togithub.com/programmer04) made their first contribution in [https://github.com/stretchr/testify/pull/1392](https://togithub.com/stretchr/testify/pull/1392) - [@​echarrod](https://togithub.com/echarrod) made their first contribution in [https://github.com/stretchr/testify/pull/1389](https://togithub.com/stretchr/testify/pull/1389) - [@​davidjb](https://togithub.com/davidjb) made their first contribution in [https://github.com/stretchr/testify/pull/1349](https://togithub.com/stretchr/testify/pull/1349) - [@​LandonTClipp](https://togithub.com/LandonTClipp) made their first contribution in [https://github.com/stretchr/testify/pull/1346](https://togithub.com/stretchr/testify/pull/1346) - [@​alexandear](https://togithub.com/alexandear) made their first contribution in [https://github.com/stretchr/testify/pull/1410](https://togithub.com/stretchr/testify/pull/1410) - [@​lesichkovm](https://togithub.com/lesichkovm) made their first contribution in [https://github.com/stretchr/testify/pull/1320](https://togithub.com/stretchr/testify/pull/1320) - [@​dolmen](https://togithub.com/dolmen) made their first contribution in [https://github.com/stretchr/testify/pull/1406](https://togithub.com/stretchr/testify/pull/1406) - [@​hikyaru-suzuki](https://togithub.com/hikyaru-suzuki) made their first contribution in [https://github.com/stretchr/testify/pull/1360](https://togithub.com/stretchr/testify/pull/1360) - [@​ossan-dev](https://togithub.com/ossan-dev) made their first contribution in [https://github.com/stretchr/testify/pull/1428](https://togithub.com/stretchr/testify/pull/1428) - [@​aud10slave](https://togithub.com/aud10slave) made their first contribution in [https://github.com/stretchr/testify/pull/631](https://togithub.com/stretchr/testify/pull/631) - [@​tscales](https://togithub.com/tscales) made their first contribution in [https://github.com/stretchr/testify/pull/1464](https://togithub.com/stretchr/testify/pull/1464) - [@​czeslavo](https://togithub.com/czeslavo) made their first contribution in [https://github.com/stretchr/testify/pull/1395](https://togithub.com/stretchr/testify/pull/1395) - [@​hidu](https://togithub.com/hidu) made their first contribution in [https://github.com/stretchr/testify/pull/1484](https://togithub.com/stretchr/testify/pull/1484) - [@​zrbecker](https://togithub.com/zrbecker) made their first contribution in [https://github.com/stretchr/testify/pull/1473](https://togithub.com/stretchr/testify/pull/1473) - [@​kevinburkesegment](https://togithub.com/kevinburkesegment) made their first contribution in [https://github.com/stretchr/testify/pull/1489](https://togithub.com/stretchr/testify/pull/1489) - [@​linusbarth](https://togithub.com/linusbarth) made their first contribution in [https://github.com/stretchr/testify/pull/1471](https://togithub.com/stretchr/testify/pull/1471) - [@​jedevc](https://togithub.com/jedevc) made their first contribution in [https://github.com/stretchr/testify/pull/1306](https://togithub.com/stretchr/testify/pull/1306) - [@​craig65535](https://togithub.com/craig65535) made their first contribution in [https://github.com/stretchr/testify/pull/1435](https://togithub.com/stretchr/testify/pull/1435) - [@​arjunmahishi](https://togithub.com/arjunmahishi) made their first contribution in [https://github.com/stretchr/testify/pull/1531](https://togithub.com/stretchr/testify/pull/1531) - [@​ianrose14](https://togithub.com/ianrose14) made their first contribution in [https://github.com/stretchr/testify/pull/1331](https://togithub.com/stretchr/testify/pull/1331) - [@​hendrywiranto](https://togithub.com/hendrywiranto) made their first contribution in [https://github.com/stretchr/testify/pull/1545](https://togithub.com/stretchr/testify/pull/1545) - [@​Lucaber](https://togithub.com/Lucaber) made their first contribution in [https://github.com/stretchr/testify/pull/1517](https://togithub.com/stretchr/testify/pull/1517) - [@​guettli](https://togithub.com/guettli) made their first contribution in [https://github.com/stretchr/testify/pull/1248](https://togithub.com/stretchr/testify/pull/1248) - [@​ccoVeille](https://togithub.com/ccoVeille) made their first contribution in [https://github.com/stretchr/testify/pull/1247](https://togithub.com/stretchr/testify/pull/1247) - [@​hslatman](https://togithub.com/hslatman) made their first contribution in [https://github.com/stretchr/testify/pull/1385](https://togithub.com/stretchr/testify/pull/1385) - [@​bogdandrutu](https://togithub.com/bogdandrutu) made their first contribution in [https://github.com/stretchr/testify/pull/1339](https://togithub.com/stretchr/testify/pull/1339) **Full Changelog**: stretchr/testify@v1.8.4...v1.9.0 </details> <details> <summary>xanzy/go-gitlab (github.com/xanzy/go-gitlab)</summary> ### [`v0.100.0`](https://togithub.com/xanzy/go-gitlab/compare/v0.99.0...v0.100.0) [Compare Source](https://togithub.com/xanzy/go-gitlab/compare/v0.99.0...v0.100.0) ### [`v0.99.0`](https://togithub.com/xanzy/go-gitlab/compare/v0.98.0...v0.99.0) [Compare Source](https://togithub.com/xanzy/go-gitlab/compare/v0.98.0...v0.99.0) ### [`v0.98.0`](https://togithub.com/xanzy/go-gitlab/compare/v0.97.0...v0.98.0) [Compare Source](https://togithub.com/xanzy/go-gitlab/compare/v0.97.0...v0.98.0) </details> <details> <summary>grpc/grpc-go (google.golang.org/grpc)</summary> ### [`v1.62.1`](https://togithub.com/grpc/grpc-go/releases/tag/v1.62.1): Release 1.62.1 [Compare Source](https://togithub.com/grpc/grpc-go/compare/v1.62.0...v1.62.1) ### Bug Fixes - xds: fix a bug that results in `no matching virtual host found` RPC errors due to a difference between the target and LDS resource names ([#​6997](https://togithub.com/grpc/grpc-go/issues/6997)) - server: fixed stats handler data `InPayload.Length` for unary RPC calls ([#​6766](https://togithub.com/grpc/grpc-go/issues/6766)) - Special Thanks: [@​hueypark](https://togithub.com/hueypark) - grpc: the experimental `RecvBufferPool` `DialOption` and `ServerOption` are now active during unary RPCs with compression ([#​6766](https://togithub.com/grpc/grpc-go/issues/6766)) - Special Thanks: [@​hueypark](https://togithub.com/hueypark) - grpc: trim whitespaces in `accept-encoding` header before determining compressors - Special Thanks: [@​sercand](https://togithub.com/sercand) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am" (UTC), Automerge - "before 4am" (UTC). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/woodpecker-ci/woodpecker). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/go-sql-driver/mysql](https://togithub.com/go-sql-driver/mysql) | `v1.7.1` -> `v1.8.1` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgo-sql-driver%2fmysql/v1.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgo-sql-driver%2fmysql/v1.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgo-sql-driver%2fmysql/v1.7.1/v1.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgo-sql-driver%2fmysql/v1.7.1/v1.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>go-sql-driver/mysql (github.com/go-sql-driver/mysql)</summary> ### [`v1.8.1`](https://togithub.com/go-sql-driver/mysql/releases/tag/v1.8.1) [Compare Source](https://togithub.com/go-sql-driver/mysql/compare/v1.8.0...v1.8.1) #### What's Changed Bugfixes: - fix race condition when context is canceled in [#​1562](https://togithub.com/go-sql-driver/mysql/pull/1562) and [#​1570](https://togithub.com/go-sql-driver/mysql/pull/1570) **Full Changelog**: go-sql-driver/mysql@v1.8.0...v1.8.1 ### [`v1.8.0`](https://togithub.com/go-sql-driver/mysql/releases/tag/v1.8.0) [Compare Source](https://togithub.com/go-sql-driver/mysql/compare/v1.7.1...v1.8.0) #### What's Changed ##### Major changes - Use `SET NAMES charset COLLATE collation`. by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1437](https://togithub.com/go-sql-driver/mysql/pull/1437) - PathEscape dbname in DSN. by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1432](https://togithub.com/go-sql-driver/mysql/pull/1432) - Drop Go 1.13-17 support by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1420](https://togithub.com/go-sql-driver/mysql/pull/1420) - Parse numbers on text protocol too by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1452](https://togithub.com/go-sql-driver/mysql/pull/1452) ##### Other changes - Adding DeregisterDialContext to prevent memory leaks with dialers we don't need anymore by [@​jypelle](https://togithub.com/jypelle) in [https://github.com/go-sql-driver/mysql/pull/1422](https://togithub.com/go-sql-driver/mysql/pull/1422) - Make logger configurable per connection by [@​frozenbonito](https://togithub.com/frozenbonito) in [https://github.com/go-sql-driver/mysql/pull/1408](https://togithub.com/go-sql-driver/mysql/pull/1408) - Fix ColumnType.DatabaseTypeName for mediumint unsigned by [@​evanelias](https://togithub.com/evanelias) in [https://github.com/go-sql-driver/mysql/pull/1428](https://togithub.com/go-sql-driver/mysql/pull/1428) - Add connection attributes by [@​Daemonxiao](https://togithub.com/Daemonxiao) in [https://github.com/go-sql-driver/mysql/pull/1389](https://togithub.com/go-sql-driver/mysql/pull/1389) - Stop `ColumnTypeScanType()` from returning `sql.RawBytes` by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1424](https://togithub.com/go-sql-driver/mysql/pull/1424) - Exec() now provides access to status of multiple statements. by [@​mherr-google](https://togithub.com/mherr-google) in [https://github.com/go-sql-driver/mysql/pull/1309](https://togithub.com/go-sql-driver/mysql/pull/1309) - Allow to change (or disable) the default driver name for registration by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1499](https://togithub.com/go-sql-driver/mysql/pull/1499) - Add default connection attribute '\_server_host' by [@​oblitorum](https://togithub.com/oblitorum) in [https://github.com/go-sql-driver/mysql/pull/1506](https://togithub.com/go-sql-driver/mysql/pull/1506) - Make TimeTruncate functional option by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1552](https://togithub.com/go-sql-driver/mysql/pull/1552) - Add BeforeConnect callback to configuration object by [@​ItalyPaleAle](https://togithub.com/ItalyPaleAle) in [https://github.com/go-sql-driver/mysql/pull/1469](https://togithub.com/go-sql-driver/mysql/pull/1469) - QueryUnescape DSN ConnectionAttribute value by [@​zhangyangyu](https://togithub.com/zhangyangyu) in [https://github.com/go-sql-driver/mysql/pull/1470](https://togithub.com/go-sql-driver/mysql/pull/1470) - Add client_ed25519 authentication by [@​Gusted](https://togithub.com/Gusted) in [https://github.com/go-sql-driver/mysql/pull/1518](https://togithub.com/go-sql-driver/mysql/pull/1518) - Reduced allocation on connection.go by [@​EPuncker](https://togithub.com/EPuncker) in [https://github.com/go-sql-driver/mysql/pull/1421](https://togithub.com/go-sql-driver/mysql/pull/1421) - Avoid panic in TestRowsColumnTypes by [@​wayyoungboy](https://togithub.com/wayyoungboy) in [https://github.com/go-sql-driver/mysql/pull/1426](https://togithub.com/go-sql-driver/mysql/pull/1426) - Add benchmark to receive massive rows. by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1415](https://togithub.com/go-sql-driver/mysql/pull/1415) - README: Update multistatement by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1431](https://togithub.com/go-sql-driver/mysql/pull/1431) - all: replace ioutil pkg to new package by [@​uji](https://togithub.com/uji) in [https://github.com/go-sql-driver/mysql/pull/1438](https://togithub.com/go-sql-driver/mysql/pull/1438) - chore: code optimization by [@​testwill](https://togithub.com/testwill) in [https://github.com/go-sql-driver/mysql/pull/1439](https://togithub.com/go-sql-driver/mysql/pull/1439) - Reduce map lookup in ColumnTypeDatabaseTypeName. by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1436](https://togithub.com/go-sql-driver/mysql/pull/1436) - doc: add link to NewConnector from FormatDSN by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1442](https://togithub.com/go-sql-driver/mysql/pull/1442) - Add fuzz test for ParseDSN / FormatDSN roundtrip by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1444](https://togithub.com/go-sql-driver/mysql/pull/1444) - TestDSNReformat: add more roundtrip checks by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1443](https://togithub.com/go-sql-driver/mysql/pull/1443) - tcp: handle errors returned by SetKeepAlive by [@​achille-roussel](https://togithub.com/achille-roussel) in [https://github.com/go-sql-driver/mysql/pull/1448](https://togithub.com/go-sql-driver/mysql/pull/1448) - use staticcheck by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1449](https://togithub.com/go-sql-driver/mysql/pull/1449) - Add Daemonxiao to AUTHORS by [@​Daemonxiao](https://togithub.com/Daemonxiao) in [https://github.com/go-sql-driver/mysql/pull/1459](https://togithub.com/go-sql-driver/mysql/pull/1459) - Update link about `LOAD DATA LOCAL` in README.md by [@​i7a7467](https://togithub.com/i7a7467) in [https://github.com/go-sql-driver/mysql/pull/1468](https://togithub.com/go-sql-driver/mysql/pull/1468) - Update README.md by [@​Netzer7](https://togithub.com/Netzer7) in [https://github.com/go-sql-driver/mysql/pull/1464](https://togithub.com/go-sql-driver/mysql/pull/1464) - add Go 1.21 and MySQL 8.1 to the build matrix by [@​shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1472](https://togithub.com/go-sql-driver/mysql/pull/1472) - Improve DSN docstsrings by [@​golddranks](https://togithub.com/golddranks) in [https://github.com/go-sql-driver/mysql/pull/1475](https://togithub.com/go-sql-driver/mysql/pull/1475) - Fix [#​1478](https://togithub.com/go-sql-driver/mysql/issues/1478) remove length check by [@​ShenFeng312](https://togithub.com/ShenFeng312) in [https://github.com/go-sql-driver/mysql/pull/1481](https://togithub.com/go-sql-driver/mysql/pull/1481) - README: fix markup error by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1480](https://togithub.com/go-sql-driver/mysql/pull/1480) - Close connection on ErrPktSync and ErrPktSyncMul by [@​owbone](https://togithub.com/owbone) in [https://github.com/go-sql-driver/mysql/pull/1473](https://togithub.com/go-sql-driver/mysql/pull/1473) - Spelling, grammar, and link fixes by [@​scop](https://togithub.com/scop) in [https://github.com/go-sql-driver/mysql/pull/1485](https://togithub.com/go-sql-driver/mysql/pull/1485) - Make use of strings.Cut by [@​scop](https://togithub.com/scop) in [https://github.com/go-sql-driver/mysql/pull/1486](https://togithub.com/go-sql-driver/mysql/pull/1486) - move stale connection check to ResetSession() by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1496](https://togithub.com/go-sql-driver/mysql/pull/1496) - fix race condition of TestConcurrent by [@​shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1490](https://togithub.com/go-sql-driver/mysql/pull/1490) - mark fail, mustExec and mustQuery as test helpers by [@​shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1488](https://togithub.com/go-sql-driver/mysql/pull/1488) - Remove obsolete fuzz.go [#​1445](https://togithub.com/go-sql-driver/mysql/issues/1445) by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1498](https://togithub.com/go-sql-driver/mysql/pull/1498) - testing: expose testing.TB in DBTest instead of full \*testing.T by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1500](https://togithub.com/go-sql-driver/mysql/pull/1500) - symbol removed from installation command by [@​panvalkar1994](https://togithub.com/panvalkar1994) in [https://github.com/go-sql-driver/mysql/pull/1510](https://togithub.com/go-sql-driver/mysql/pull/1510) - fix issue 1361 by [@​keeplearning20221](https://togithub.com/keeplearning20221) in [https://github.com/go-sql-driver/mysql/pull/1462](https://togithub.com/go-sql-driver/mysql/pull/1462) - fix fragile test by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1522](https://togithub.com/go-sql-driver/mysql/pull/1522) - Fix sql.RawBytes corruption issue by [@​shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1523](https://togithub.com/go-sql-driver/mysql/pull/1523) - fix for enum and set field type to column type identifying by [@​jennifersp](https://togithub.com/jennifersp) in [https://github.com/go-sql-driver/mysql/pull/1520](https://togithub.com/go-sql-driver/mysql/pull/1520) - Parallelize test by [@​shogo82148](https://togithub.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1525](https://togithub.com/go-sql-driver/mysql/pull/1525) - Fix unsigned int overflow by [@​shiyuhang0](https://togithub.com/shiyuhang0) in [https://github.com/go-sql-driver/mysql/pull/1530](https://togithub.com/go-sql-driver/mysql/pull/1530) - Introduce `timeTruncate` parameter for `time.Time` arguments by [@​PauliusLozys](https://togithub.com/PauliusLozys) in [https://github.com/go-sql-driver/mysql/pull/1541](https://togithub.com/go-sql-driver/mysql/pull/1541) - add TiDB support in README.md by [@​crazycs520](https://togithub.com/crazycs520) in [https://github.com/go-sql-driver/mysql/pull/1333](https://togithub.com/go-sql-driver/mysql/pull/1333) - Update workflows by [@​methane](https://togithub.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1547](https://togithub.com/go-sql-driver/mysql/pull/1547) #### New Contributors - [@​EPuncker](https://togithub.com/EPuncker) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1421](https://togithub.com/go-sql-driver/mysql/pull/1421) - [@​jypelle](https://togithub.com/jypelle) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1422](https://togithub.com/go-sql-driver/mysql/pull/1422) - [@​frozenbonito](https://togithub.com/frozenbonito) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1408](https://togithub.com/go-sql-driver/mysql/pull/1408) - [@​wayyoungboy](https://togithub.com/wayyoungboy) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1426](https://togithub.com/go-sql-driver/mysql/pull/1426) - [@​evanelias](https://togithub.com/evanelias) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1428](https://togithub.com/go-sql-driver/mysql/pull/1428) - [@​Daemonxiao](https://togithub.com/Daemonxiao) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1389](https://togithub.com/go-sql-driver/mysql/pull/1389) - [@​uji](https://togithub.com/uji) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1438](https://togithub.com/go-sql-driver/mysql/pull/1438) - [@​testwill](https://togithub.com/testwill) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1439](https://togithub.com/go-sql-driver/mysql/pull/1439) - [@​i7a7467](https://togithub.com/i7a7467) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1468](https://togithub.com/go-sql-driver/mysql/pull/1468) - [@​Netzer7](https://togithub.com/Netzer7) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1464](https://togithub.com/go-sql-driver/mysql/pull/1464) - [@​golddranks](https://togithub.com/golddranks) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1475](https://togithub.com/go-sql-driver/mysql/pull/1475) - [@​ShenFeng312](https://togithub.com/ShenFeng312) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1481](https://togithub.com/go-sql-driver/mysql/pull/1481) - [@​owbone](https://togithub.com/owbone) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1473](https://togithub.com/go-sql-driver/mysql/pull/1473) - [@​scop](https://togithub.com/scop) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1485](https://togithub.com/go-sql-driver/mysql/pull/1485) - [@​panvalkar1994](https://togithub.com/panvalkar1994) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1510](https://togithub.com/go-sql-driver/mysql/pull/1510) - [@​zhangyangyu](https://togithub.com/zhangyangyu) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1470](https://togithub.com/go-sql-driver/mysql/pull/1470) - [@​keeplearning20221](https://togithub.com/keeplearning20221) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1462](https://togithub.com/go-sql-driver/mysql/pull/1462) - [@​oblitorum](https://togithub.com/oblitorum) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1506](https://togithub.com/go-sql-driver/mysql/pull/1506) - [@​Gusted](https://togithub.com/Gusted) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1518](https://togithub.com/go-sql-driver/mysql/pull/1518) - [@​jennifersp](https://togithub.com/jennifersp) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1520](https://togithub.com/go-sql-driver/mysql/pull/1520) - [@​shiyuhang0](https://togithub.com/shiyuhang0) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1530](https://togithub.com/go-sql-driver/mysql/pull/1530) - [@​PauliusLozys](https://togithub.com/PauliusLozys) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1541](https://togithub.com/go-sql-driver/mysql/pull/1541) - [@​crazycs520](https://togithub.com/crazycs520) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1333](https://togithub.com/go-sql-driver/mysql/pull/1333) - [@​ItalyPaleAle](https://togithub.com/ItalyPaleAle) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1469](https://togithub.com/go-sql-driver/mysql/pull/1469) **Full Changelog**: go-sql-driver/mysql@v1.7.1...v1.8.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/PingCAP-QE/ee-apps). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This seems to be an unnecessary solution to a true problem. Instead the user should have created its own See https://github.com/dolmen-go/mylogin-driver/blob/master/driver.go as an example of a |
…5255) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/go-sql-driver/mysql](https://redirect.github.com/go-sql-driver/mysql) | `v1.7.1` -> `v1.8.1` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgo-sql-driver%2fmysql/v1.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgo-sql-driver%2fmysql/v1.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgo-sql-driver%2fmysql/v1.7.1/v1.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgo-sql-driver%2fmysql/v1.7.1/v1.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>go-sql-driver/mysql (github.com/go-sql-driver/mysql)</summary> ### [`v1.8.1`](https://redirect.github.com/go-sql-driver/mysql/releases/tag/v1.8.1) [Compare Source](https://redirect.github.com/go-sql-driver/mysql/compare/v1.8.0...v1.8.1) #### What's Changed Bugfixes: - fix race condition when context is canceled in [#​1562](https://redirect.github.com/go-sql-driver/mysql/pull/1562) and [#​1570](https://redirect.github.com/go-sql-driver/mysql/pull/1570) **Full Changelog**: go-sql-driver/mysql@v1.8.0...v1.8.1 ### [`v1.8.0`](https://redirect.github.com/go-sql-driver/mysql/releases/tag/v1.8.0) [Compare Source](https://redirect.github.com/go-sql-driver/mysql/compare/v1.7.1...v1.8.0) #### What's Changed ##### Major changes - Use `SET NAMES charset COLLATE collation`. by [@​methane](https://redirect.github.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1437](https://redirect.github.com/go-sql-driver/mysql/pull/1437) - PathEscape dbname in DSN. by [@​methane](https://redirect.github.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1432](https://redirect.github.com/go-sql-driver/mysql/pull/1432) - Drop Go 1.13-17 support by [@​methane](https://redirect.github.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1420](https://redirect.github.com/go-sql-driver/mysql/pull/1420) - Parse numbers on text protocol too by [@​methane](https://redirect.github.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1452](https://redirect.github.com/go-sql-driver/mysql/pull/1452) ##### Other changes - Adding DeregisterDialContext to prevent memory leaks with dialers we don't need anymore by [@​jypelle](https://redirect.github.com/jypelle) in [https://github.com/go-sql-driver/mysql/pull/1422](https://redirect.github.com/go-sql-driver/mysql/pull/1422) - Make logger configurable per connection by [@​frozenbonito](https://redirect.github.com/frozenbonito) in [https://github.com/go-sql-driver/mysql/pull/1408](https://redirect.github.com/go-sql-driver/mysql/pull/1408) - Fix ColumnType.DatabaseTypeName for mediumint unsigned by [@​evanelias](https://redirect.github.com/evanelias) in [https://github.com/go-sql-driver/mysql/pull/1428](https://redirect.github.com/go-sql-driver/mysql/pull/1428) - Add connection attributes by [@​Daemonxiao](https://redirect.github.com/Daemonxiao) in [https://github.com/go-sql-driver/mysql/pull/1389](https://redirect.github.com/go-sql-driver/mysql/pull/1389) - Stop `ColumnTypeScanType()` from returning `sql.RawBytes` by [@​methane](https://redirect.github.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1424](https://redirect.github.com/go-sql-driver/mysql/pull/1424) - Exec() now provides access to status of multiple statements. by [@​mherr-google](https://redirect.github.com/mherr-google) in [https://github.com/go-sql-driver/mysql/pull/1309](https://redirect.github.com/go-sql-driver/mysql/pull/1309) - Allow to change (or disable) the default driver name for registration by [@​dolmen](https://redirect.github.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1499](https://redirect.github.com/go-sql-driver/mysql/pull/1499) - Add default connection attribute '\_server_host' by [@​oblitorum](https://redirect.github.com/oblitorum) in [https://github.com/go-sql-driver/mysql/pull/1506](https://redirect.github.com/go-sql-driver/mysql/pull/1506) - Make TimeTruncate functional option by [@​methane](https://redirect.github.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1552](https://redirect.github.com/go-sql-driver/mysql/pull/1552) - Add BeforeConnect callback to configuration object by [@​ItalyPaleAle](https://redirect.github.com/ItalyPaleAle) in [https://github.com/go-sql-driver/mysql/pull/1469](https://redirect.github.com/go-sql-driver/mysql/pull/1469) - QueryUnescape DSN ConnectionAttribute value by [@​zhangyangyu](https://redirect.github.com/zhangyangyu) in [https://github.com/go-sql-driver/mysql/pull/1470](https://redirect.github.com/go-sql-driver/mysql/pull/1470) - Add client_ed25519 authentication by [@​Gusted](https://redirect.github.com/Gusted) in [https://github.com/go-sql-driver/mysql/pull/1518](https://redirect.github.com/go-sql-driver/mysql/pull/1518) - Reduced allocation on connection.go by [@​EPuncker](https://redirect.github.com/EPuncker) in [https://github.com/go-sql-driver/mysql/pull/1421](https://redirect.github.com/go-sql-driver/mysql/pull/1421) - Avoid panic in TestRowsColumnTypes by [@​wayyoungboy](https://redirect.github.com/wayyoungboy) in [https://github.com/go-sql-driver/mysql/pull/1426](https://redirect.github.com/go-sql-driver/mysql/pull/1426) - Add benchmark to receive massive rows. by [@​methane](https://redirect.github.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1415](https://redirect.github.com/go-sql-driver/mysql/pull/1415) - README: Update multistatement by [@​methane](https://redirect.github.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1431](https://redirect.github.com/go-sql-driver/mysql/pull/1431) - all: replace ioutil pkg to new package by [@​uji](https://redirect.github.com/uji) in [https://github.com/go-sql-driver/mysql/pull/1438](https://redirect.github.com/go-sql-driver/mysql/pull/1438) - chore: code optimization by [@​testwill](https://redirect.github.com/testwill) in [https://github.com/go-sql-driver/mysql/pull/1439](https://redirect.github.com/go-sql-driver/mysql/pull/1439) - Reduce map lookup in ColumnTypeDatabaseTypeName. by [@​methane](https://redirect.github.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1436](https://redirect.github.com/go-sql-driver/mysql/pull/1436) - doc: add link to NewConnector from FormatDSN by [@​dolmen](https://redirect.github.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1442](https://redirect.github.com/go-sql-driver/mysql/pull/1442) - Add fuzz test for ParseDSN / FormatDSN roundtrip by [@​dolmen](https://redirect.github.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1444](https://redirect.github.com/go-sql-driver/mysql/pull/1444) - TestDSNReformat: add more roundtrip checks by [@​dolmen](https://redirect.github.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1443](https://redirect.github.com/go-sql-driver/mysql/pull/1443) - tcp: handle errors returned by SetKeepAlive by [@​achille-roussel](https://redirect.github.com/achille-roussel) in [https://github.com/go-sql-driver/mysql/pull/1448](https://redirect.github.com/go-sql-driver/mysql/pull/1448) - use staticcheck by [@​methane](https://redirect.github.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1449](https://redirect.github.com/go-sql-driver/mysql/pull/1449) - Add Daemonxiao to AUTHORS by [@​Daemonxiao](https://redirect.github.com/Daemonxiao) in [https://github.com/go-sql-driver/mysql/pull/1459](https://redirect.github.com/go-sql-driver/mysql/pull/1459) - Update link about `LOAD DATA LOCAL` in README.md by [@​i7a7467](https://redirect.github.com/i7a7467) in [https://github.com/go-sql-driver/mysql/pull/1468](https://redirect.github.com/go-sql-driver/mysql/pull/1468) - Update README.md by [@​Netzer7](https://redirect.github.com/Netzer7) in [https://github.com/go-sql-driver/mysql/pull/1464](https://redirect.github.com/go-sql-driver/mysql/pull/1464) - add Go 1.21 and MySQL 8.1 to the build matrix by [@​shogo82148](https://redirect.github.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1472](https://redirect.github.com/go-sql-driver/mysql/pull/1472) - Improve DSN docstsrings by [@​golddranks](https://redirect.github.com/golddranks) in [https://github.com/go-sql-driver/mysql/pull/1475](https://redirect.github.com/go-sql-driver/mysql/pull/1475) - Fix [#​1478](https://redirect.github.com/go-sql-driver/mysql/issues/1478) remove length check by [@​ShenFeng312](https://redirect.github.com/ShenFeng312) in [https://github.com/go-sql-driver/mysql/pull/1481](https://redirect.github.com/go-sql-driver/mysql/pull/1481) - README: fix markup error by [@​methane](https://redirect.github.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1480](https://redirect.github.com/go-sql-driver/mysql/pull/1480) - Close connection on ErrPktSync and ErrPktSyncMul by [@​owbone](https://redirect.github.com/owbone) in [https://github.com/go-sql-driver/mysql/pull/1473](https://redirect.github.com/go-sql-driver/mysql/pull/1473) - Spelling, grammar, and link fixes by [@​scop](https://redirect.github.com/scop) in [https://github.com/go-sql-driver/mysql/pull/1485](https://redirect.github.com/go-sql-driver/mysql/pull/1485) - Make use of strings.Cut by [@​scop](https://redirect.github.com/scop) in [https://github.com/go-sql-driver/mysql/pull/1486](https://redirect.github.com/go-sql-driver/mysql/pull/1486) - move stale connection check to ResetSession() by [@​methane](https://redirect.github.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1496](https://redirect.github.com/go-sql-driver/mysql/pull/1496) - fix race condition of TestConcurrent by [@​shogo82148](https://redirect.github.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1490](https://redirect.github.com/go-sql-driver/mysql/pull/1490) - mark fail, mustExec and mustQuery as test helpers by [@​shogo82148](https://redirect.github.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1488](https://redirect.github.com/go-sql-driver/mysql/pull/1488) - Remove obsolete fuzz.go [#​1445](https://redirect.github.com/go-sql-driver/mysql/issues/1445) by [@​dolmen](https://redirect.github.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1498](https://redirect.github.com/go-sql-driver/mysql/pull/1498) - testing: expose testing.TB in DBTest instead of full \*testing.T by [@​dolmen](https://redirect.github.com/dolmen) in [https://github.com/go-sql-driver/mysql/pull/1500](https://redirect.github.com/go-sql-driver/mysql/pull/1500) - symbol removed from installation command by [@​panvalkar1994](https://redirect.github.com/panvalkar1994) in [https://github.com/go-sql-driver/mysql/pull/1510](https://redirect.github.com/go-sql-driver/mysql/pull/1510) - fix issue 1361 by [@​keeplearning20221](https://redirect.github.com/keeplearning20221) in [https://github.com/go-sql-driver/mysql/pull/1462](https://redirect.github.com/go-sql-driver/mysql/pull/1462) - fix fragile test by [@​methane](https://redirect.github.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1522](https://redirect.github.com/go-sql-driver/mysql/pull/1522) - Fix sql.RawBytes corruption issue by [@​shogo82148](https://redirect.github.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1523](https://redirect.github.com/go-sql-driver/mysql/pull/1523) - fix for enum and set field type to column type identifying by [@​jennifersp](https://redirect.github.com/jennifersp) in [https://github.com/go-sql-driver/mysql/pull/1520](https://redirect.github.com/go-sql-driver/mysql/pull/1520) - Parallelize test by [@​shogo82148](https://redirect.github.com/shogo82148) in [https://github.com/go-sql-driver/mysql/pull/1525](https://redirect.github.com/go-sql-driver/mysql/pull/1525) - Fix unsigned int overflow by [@​shiyuhang0](https://redirect.github.com/shiyuhang0) in [https://github.com/go-sql-driver/mysql/pull/1530](https://redirect.github.com/go-sql-driver/mysql/pull/1530) - Introduce `timeTruncate` parameter for `time.Time` arguments by [@​PauliusLozys](https://redirect.github.com/PauliusLozys) in [https://github.com/go-sql-driver/mysql/pull/1541](https://redirect.github.com/go-sql-driver/mysql/pull/1541) - add TiDB support in README.md by [@​crazycs520](https://redirect.github.com/crazycs520) in [https://github.com/go-sql-driver/mysql/pull/1333](https://redirect.github.com/go-sql-driver/mysql/pull/1333) - Update workflows by [@​methane](https://redirect.github.com/methane) in [https://github.com/go-sql-driver/mysql/pull/1547](https://redirect.github.com/go-sql-driver/mysql/pull/1547) #### New Contributors - [@​EPuncker](https://redirect.github.com/EPuncker) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1421](https://redirect.github.com/go-sql-driver/mysql/pull/1421) - [@​jypelle](https://redirect.github.com/jypelle) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1422](https://redirect.github.com/go-sql-driver/mysql/pull/1422) - [@​frozenbonito](https://redirect.github.com/frozenbonito) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1408](https://redirect.github.com/go-sql-driver/mysql/pull/1408) - [@​wayyoungboy](https://redirect.github.com/wayyoungboy) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1426](https://redirect.github.com/go-sql-driver/mysql/pull/1426) - [@​evanelias](https://redirect.github.com/evanelias) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1428](https://redirect.github.com/go-sql-driver/mysql/pull/1428) - [@​Daemonxiao](https://redirect.github.com/Daemonxiao) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1389](https://redirect.github.com/go-sql-driver/mysql/pull/1389) - [@​uji](https://redirect.github.com/uji) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1438](https://redirect.github.com/go-sql-driver/mysql/pull/1438) - [@​testwill](https://redirect.github.com/testwill) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1439](https://redirect.github.com/go-sql-driver/mysql/pull/1439) - [@​i7a7467](https://redirect.github.com/i7a7467) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1468](https://redirect.github.com/go-sql-driver/mysql/pull/1468) - [@​Netzer7](https://redirect.github.com/Netzer7) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1464](https://redirect.github.com/go-sql-driver/mysql/pull/1464) - [@​golddranks](https://redirect.github.com/golddranks) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1475](https://redirect.github.com/go-sql-driver/mysql/pull/1475) - [@​ShenFeng312](https://redirect.github.com/ShenFeng312) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1481](https://redirect.github.com/go-sql-driver/mysql/pull/1481) - [@​owbone](https://redirect.github.com/owbone) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1473](https://redirect.github.com/go-sql-driver/mysql/pull/1473) - [@​scop](https://redirect.github.com/scop) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1485](https://redirect.github.com/go-sql-driver/mysql/pull/1485) - [@​panvalkar1994](https://redirect.github.com/panvalkar1994) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1510](https://redirect.github.com/go-sql-driver/mysql/pull/1510) - [@​zhangyangyu](https://redirect.github.com/zhangyangyu) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1470](https://redirect.github.com/go-sql-driver/mysql/pull/1470) - [@​keeplearning20221](https://redirect.github.com/keeplearning20221) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1462](https://redirect.github.com/go-sql-driver/mysql/pull/1462) - [@​oblitorum](https://redirect.github.com/oblitorum) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1506](https://redirect.github.com/go-sql-driver/mysql/pull/1506) - [@​Gusted](https://redirect.github.com/Gusted) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1518](https://redirect.github.com/go-sql-driver/mysql/pull/1518) - [@​jennifersp](https://redirect.github.com/jennifersp) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1520](https://redirect.github.com/go-sql-driver/mysql/pull/1520) - [@​shiyuhang0](https://redirect.github.com/shiyuhang0) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1530](https://redirect.github.com/go-sql-driver/mysql/pull/1530) - [@​PauliusLozys](https://redirect.github.com/PauliusLozys) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1541](https://redirect.github.com/go-sql-driver/mysql/pull/1541) - [@​crazycs520](https://redirect.github.com/crazycs520) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1333](https://redirect.github.com/go-sql-driver/mysql/pull/1333) - [@​ItalyPaleAle](https://redirect.github.com/ItalyPaleAle) made their first contribution in [https://github.com/go-sql-driver/mysql/pull/1469](https://redirect.github.com/go-sql-driver/mysql/pull/1469) **Full Changelog**: go-sql-driver/mysql@v1.7.1...v1.8.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: opentelemetrybot <[email protected]> Co-authored-by: Alex Boten <[email protected]>
Description
This can be used to alter the connection options for each connection, right before it's established.
Our use case is that we want to connect to a MySQL server which supports authentication using a JWT (in the specific case, Azure Database for MySQL using tokens from Azure AD). The token is to be used in place of a password. Because the tokens have a limited lifetime, we cannot create a Config object with a hardcoded password, because connections in the pool can be created later in time and the token may be expired. By using the BeforeConnect callback, instead, we can ensure that the Config object used to open the connection has a fresh password every time.
This design is modeled after the "BeforeConnect" property offered by pgx.
Although our use case is for updating the password, there may be other uses for a BeforeConnect callback. The callback can also return an error to abort the connection.
We plan to use this for Dapr: dapr/components-contrib#2955
You can see how we implemented this for Postgres (using pgx) here: https://github.com/dapr/components-contrib/blob/566c7fd31adbd81740ba66995729a7eadeb3444a/internal/authentication/postgresql/metadata.go#L97-L109
Checklist
Summary by CodeRabbit
New Features
Microsoft Corp.
to the list of companies in theAUTHORS
file.beforeConnect
to theConfig
struct for invoking functions before connection establishment.Tests
TestBeforeConnect
to verify database connection setup and pre-connection configurations.