Skip to content

fix(deps): update module github.com/go-sql-driver/mysql to v1.9.2 #612

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 10, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/go-sql-driver/mysql v1.7.1 -> v1.9.2 age adoption passing confidence

Release Notes

go-sql-driver/mysql (github.com/go-sql-driver/mysql)

v1.9.2

Compare Source

v1.9.2 is a re-release of v1.9.1 due to a release process issue; no changes were made to the content.

v1.9.1

Compare Source

Major Changes
Bugfixes
  • go.mod: fix go version format (#​1682)
  • Fix FormatDSN missing ConnectionAttributes (#​1619)

v1.9.0

Compare Source

Major Changes
  • Implement zlib compression. (#​1487)
  • Supported Go version is updated to Go 1.21+. (#​1639)
  • Add support for VECTOR type introduced in MySQL 9.0. (#​1609)
  • Config object can have custom dial function. (#​1527)
Bugfixes
  • Fix auth errors when username/password are too long. (#​1625)
  • Check if MySQL supports CLIENT_CONNECT_ATTRS before sending client attributes. (#​1640)
  • Fix auth switch request handling. (#​1666)
Other changes
  • Add "filename:line" prefix to log in go-mysql. Custom loggers now show it. (#​1589)
  • Improve error handling. It reduces the "busy buffer" errors. (#​1595, #​1601, #​1641)
  • Use strconv.Atoi to parse max_allowed_packet. (#​1661)
  • rejectReadOnly option now handles ER_READ_ONLY_MODE (1290) error too. (#​1660)

v1.8.1

Compare Source

What's Changed

Bugfixes:

Full Changelog: go-sql-driver/mysql@v1.8.0...v1.8.1

v1.8.0

Compare Source

What's Changed

Major changes

  • Use SET NAMES charset COLLATE collation. by @​methane in https://github.com/go-sql-driver/mysql/pull/1437

    • Older go-mysql-driver used collation_id in the handshake packet. But it caused collation mismatch in some situation.
    • If you don't specify charset nor collation, go-mysql-driver sends SET NAMES utf8mb4 for new connection. This uses server's default collation for utf8mb4.
    • If you specify charset, go-mysql-driver sends SET NAMES <charset>. This uses the server's default collation for <charset>.
    • If you specify collation and/or charset, go-mysql-driver sends SET NAMES charset COLLATE collation.
  • PathEscape dbname in DSN. by @​methane in https://github.com/go-sql-driver/mysql/pull/1432

    • This is backward incompatible in rare case. Check your DSN.
  • Drop Go 1.13-17 support by @​methane in https://github.com/go-sql-driver/mysql/pull/1420

    • Use Go 1.18+
  • Parse numbers on text protocol too by @​methane in https://github.com/go-sql-driver/mysql/pull/1452

    • When text protocol is used, go-mysql-driver passed bare []byte to database/sql for avoid unnecessary allocation and conversion.
    • If user specified *any to Scan(), database/sql passed the []byte into the target variabe.
    • This confused users because most user doesn't know when text/binary protocol used.
    • go-mysql-driver 1.8 converts integer/float values into int64/double even in text protocol. This doesn't increase allocation compared to []byte and conversion cost is negilible.
  • New options start using the Functional Option Pattern to avoid increasing technical debt in the Config object. Future version may introduce Functional Option for existing options, but not for now.

Other changes

New Contributors

Full Changelog: go-sql-driver/mysql@v1.7.1...v1.8.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) March 10, 2024 13:14
Copy link

github-actions bot commented Mar 10, 2024

Go API Changes

# github.com/cucumber/godog/formatters%0A## compatible changes%0AFlushFormatter: added%0A%0A# summary%0AInferred base version: v0.15.0%0ASuggested version: v0.16.0

@renovate renovate bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch 2 times, most recently from 6d8c608 to e72a90e Compare March 26, 2024 17:47
@renovate renovate bot changed the title fix(deps): update module github.com/go-sql-driver/mysql to v1.8.0 fix(deps): update module github.com/go-sql-driver/mysql to v1.8.1 Mar 26, 2024
@renovate renovate bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch 4 times, most recently from eca4b86 to d2c99ab Compare April 8, 2024 12:53
@renovate renovate bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch 4 times, most recently from 2599b49 to 2c324a3 Compare May 2, 2024 12:52
@renovate renovate bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch 4 times, most recently from e7ff70f to 68f4eb0 Compare May 31, 2024 20:34
@renovate renovate bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from 68f4eb0 to 32bdeb2 Compare July 1, 2024 09:29
@renovate renovate bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from 32bdeb2 to b1ba6ae Compare July 23, 2024 16:23
@renovate renovate bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from b1ba6ae to a2220dc Compare August 9, 2024 15:01
@renovate renovate bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch 2 times, most recently from 76017ea to d620556 Compare October 6, 2024 01:13
@renovate renovate bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch 2 times, most recently from c112f7d to cc87482 Compare October 16, 2024 14:42
@renovate renovate bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch 2 times, most recently from 92deb25 to d538fb5 Compare November 2, 2024 03:11
@renovate renovate bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch 2 times, most recently from 822d3f4 to 66262b0 Compare November 14, 2024 09:43
@renovate renovate bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from 66262b0 to c7f27ed Compare December 10, 2024 15:55
@renovate renovate bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from c7f27ed to d696477 Compare December 19, 2024 10:13
@renovate renovate bot changed the title fix(deps): update module github.com/go-sql-driver/mysql to v1.8.1 fix(deps): update module github.com/go-sql-driver/mysql to v1.8.1 - autoclosed Dec 31, 2024
@renovate renovate bot closed this Dec 31, 2024
auto-merge was automatically disabled December 31, 2024 03:09

Pull request was closed

@renovate renovate bot deleted the renovate/github.com-go-sql-driver-mysql-1.x branch December 31, 2024 03:09
@renovate renovate bot changed the title fix(deps): update module github.com/go-sql-driver/mysql to v1.8.1 - autoclosed fix(deps): update module github.com/go-sql-driver/mysql to v1.8.1 Dec 31, 2024
@renovate renovate bot reopened this Dec 31, 2024
@renovate renovate bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from ffd7adc to d696477 Compare December 31, 2024 07:33
@renovate renovate bot enabled auto-merge (squash) December 31, 2024 09:18
@renovate renovate bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from d696477 to 64b05c0 Compare January 31, 2025 02:49
@renovate renovate bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from 64b05c0 to b648dcc Compare February 18, 2025 04:36
@renovate renovate bot changed the title fix(deps): update module github.com/go-sql-driver/mysql to v1.8.1 fix(deps): update module github.com/go-sql-driver/mysql to v1.9.0 Feb 18, 2025
Copy link
Contributor Author

renovate bot commented Feb 18, 2025

ℹ Artifact update notice

File name: _examples/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.16 -> 1.24.2

@renovate renovate bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from b648dcc to 9927619 Compare March 11, 2025 15:21
@renovate renovate bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch 2 times, most recently from 307d60f to f7ce0d8 Compare March 21, 2025 04:48
@renovate renovate bot changed the title fix(deps): update module github.com/go-sql-driver/mysql to v1.9.0 fix(deps): update module github.com/go-sql-driver/mysql to v1.9.1 Mar 21, 2025
@renovate renovate bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from f7ce0d8 to 6b5008c Compare March 24, 2025 10:06
@renovate renovate bot changed the title fix(deps): update module github.com/go-sql-driver/mysql to v1.9.1 fix(deps): update module github.com/go-sql-driver/mysql to v1.9.1 - autoclosed Apr 4, 2025
@renovate renovate bot closed this Apr 4, 2025
auto-merge was automatically disabled April 4, 2025 08:40

Pull request was closed

@renovate renovate bot changed the title fix(deps): update module github.com/go-sql-driver/mysql to v1.9.1 - autoclosed fix(deps): update module github.com/go-sql-driver/mysql to v1.9.1 Apr 4, 2025
@renovate renovate bot reopened this Apr 4, 2025
@renovate renovate bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from 6b5008c to 7064311 Compare April 4, 2025 16:57
@renovate renovate bot enabled auto-merge (squash) April 4, 2025 16:57
@renovate renovate bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from 7064311 to 02e9808 Compare April 7, 2025 14:34
@renovate renovate bot changed the title fix(deps): update module github.com/go-sql-driver/mysql to v1.9.1 fix(deps): update module github.com/go-sql-driver/mysql to v1.9.2 Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants