Skip to content

Conversation

@renovate-bot
Copy link
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/go-sql-driver/mysql v1.7.1 -> v1.9.3 age confidence

Release Notes

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

v1.9.3

Compare Source

What's Changed

Full Changelog: go-sql-driver/mysql@v1.9.2...v1.9.3

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: Disabled by config. Please merge this manually once you are satisfied.

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.

@forking-renovate forking-renovate bot added the dependencies Pull requests that update a dependency file label Jul 24, 2025
@renovate-bot renovate-bot requested review from a team and prabhu34 as code owners July 24, 2025 10:07
@renovate-bot renovate-bot added the dependencies Pull requests that update a dependency file label Jul 24, 2025
@dpebot
Copy link
Collaborator

dpebot commented Jul 24, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from 4cf99bd to 9de122b Compare August 22, 2025 17:24
@dpebot
Copy link
Collaborator

dpebot commented Aug 22, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from 9de122b to 4179c41 Compare August 22, 2025 17:35
@dpebot
Copy link
Collaborator

dpebot commented Aug 22, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from 4179c41 to e9cac59 Compare October 13, 2025 16:13
@dpebot
Copy link
Collaborator

dpebot commented Oct 13, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from e9cac59 to b76446d Compare October 15, 2025 18:58
@dpebot
Copy link
Collaborator

dpebot commented Oct 15, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from b76446d to acb67b3 Compare November 12, 2025 22:19
@dpebot
Copy link
Collaborator

dpebot commented Nov 12, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from acb67b3 to 0f81e8b Compare November 12, 2025 23:17
@dpebot
Copy link
Collaborator

dpebot commented Nov 12, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from 0f81e8b to 31ba738 Compare November 13, 2025 05:04
@dpebot
Copy link
Collaborator

dpebot commented Nov 13, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from 31ba738 to 95fc13c Compare November 13, 2025 23:23
@dpebot
Copy link
Collaborator

dpebot commented Nov 13, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from 95fc13c to 2022864 Compare November 17, 2025 17:58
@dpebot
Copy link
Collaborator

dpebot commented Nov 17, 2025

/gcbrun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants