Skip to content

build(deps): bump github.com/go-sql-driver/mysql from 1.10.1 to 1.10.2 - #8

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/go-sql-driver/mysql-1.10.2
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/go-sql-driver/mysql-1.10.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 20, 2026

Copy link
Copy Markdown

Bumps github.com/go-sql-driver/mysql from 1.10.1 to 1.10.2.

Release notes

Sourced from github.com/go-sql-driver/mysql's releases.

v1.10.2

Changes since v1.10.1.

Security fixes

  • Return ErrMalformPkt instead of panicking on truncated initial handshake packets, including the greeting received before TLS negotiation. (GHSA-9qjq-77h9-895w, #1850)

  • Discard connections after a failed LOAD DATA LOCAL INFILE, including reader Close() errors, so unread results from a multi-statement batch cannot be returned to a later caller. Preserve the server's response status and avoid retrying the batch after an upload write failure. (GHSA-4v5x-9mc8-gr98)

  • Reject interpolateParams=true combined with an unsafe multibyte charset (big5, sjis, gbk, cp932, gb18030) given by charset or Charset(). Previously only collation was checked. Collations are now matched case-insensitively and by their charset prefix. The check also runs again after a BeforeConnect callback has modified the config. Stop rejecting gb2312_bin; GB2312 trailing bytes cannot contain a backslash. The error text changed from invalid DSN: interpolateParams can not be used with unsafe collations to interpolateParams cannot be used with unsafe charsets, because it may also be returned by NewConnector or Connector.Connect after BeforeConnect. Applications comparing the complete error string must update their comparison. (#1836)

  • Fix interpolateParams not treating -- followed by \v, \f, another control character, DEL, or a raw 0xA0 byte as a comment. Other non-ASCII bytes after -- remain outside the supported interpolation grammar. (#1836)

  • Fix interpolateParams treating the * that opens /*/ as closing the comment. (#1835)

Bugfixes

  • Honor BeforeConnect changes to the timeout, dialer, logger, and connection attributes without modifying the shared connector. (#1809)

  • Validate prepared statement arguments and packet size before sending long data, and reset the statement if a long-data write fails. (#1810)

  • Fix the reported precision of unsigned DECIMAL columns. (#1813)

  • Preserve full two-byte column collation IDs so IDs above 255 do not cause text columns to be reported as binary columns. (#1818)

  • Fix the inverted check for collations outside the handshake's one-byte map. Accept them when a charset is supplied, using SET NAMES ... COLLATE; reject them when no charset is supplied instead of silently using the default collation. (#1832)

... (truncated)

Changelog

Sourced from github.com/go-sql-driver/mysql's changelog.

v1.10.2 (2026-11-17)

Changes since v1.10.1.

Security fixes

  • Return ErrMalformPkt instead of panicking on truncated initial handshake packets, including the greeting received before TLS negotiation. (GHSA-9qjq-77h9-895w, #1850)

  • Discard connections after a failed LOAD DATA LOCAL INFILE, including reader Close() errors, so unread results from a multi-statement batch cannot be returned to a later caller. Preserve the server's response status and avoid retrying the batch after an upload write failure. (GHSA-4v5x-9mc8-gr98)

  • Reject interpolateParams=true combined with an unsafe multibyte charset (big5, sjis, gbk, cp932, gb18030) given by charset or Charset(). Previously only collation was checked. Collations are now matched case-insensitively and by their charset prefix. The check also runs again after a BeforeConnect callback has modified the config. Stop rejecting gb2312_bin; GB2312 trailing bytes cannot contain a backslash. The error text changed from invalid DSN: interpolateParams can not be used with unsafe collations to interpolateParams cannot be used with unsafe charsets, because it may also be returned by NewConnector or Connector.Connect after BeforeConnect. Applications comparing the complete error string must update their comparison. (#1836)

  • Fix interpolateParams not treating -- followed by \v, \f, another control character, DEL, or a raw 0xA0 byte as a comment. Other non-ASCII bytes after -- remain outside the supported interpolation grammar. (#1836)

  • Fix interpolateParams treating the * that opens /*/ as closing the comment. (#1835)

Bugfixes

  • Honor BeforeConnect changes to the timeout, dialer, logger, and connection attributes without modifying the shared connector. (#1809)

  • Validate prepared statement arguments and packet size before sending long data, and reset the statement if a long-data write fails. (#1810)

  • Fix the reported precision of unsigned DECIMAL columns. (#1813)

  • Preserve full two-byte column collation IDs so IDs above 255 do not cause text columns to be reported as binary columns. (#1818)

  • Fix the inverted check for collations outside the handshake's one-byte map. Accept them when a charset is supplied, using SET NAMES ... COLLATE; reject them when no charset is supplied instead of silently using the default collation. (#1832)

... (truncated)

Commits
  • 69ff544 release v1.10.2
  • 6feffa4 Expand truncated handshake regression coverage
  • b385bb3 Return ErrMalformPkt for truncated initial handshake packets (#1850)
  • a52707e Fix connection reuse after LOAD DATA LOCAL INFILE failures
  • d081619 ci: pin Ubuntu runners to 24.04
  • e507d41 Clarify changes since v1.10.1 for the v1.10.2 release
  • 3ff07d5 Document fixes backported to the 1.10 branch
  • 9d2079f ci: refresh the 1.10 test matrix without dropping compatibility
  • d71e224 conncheck: preserve and report idle server errors (#1843)
  • 38b6ecb Harden interpolateParams against unsafe charsets and -- comments (#1836)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) from 1.10.1 to 1.10.2.
- [Release notes](https://github.com/go-sql-driver/mysql/releases)
- [Changelog](https://github.com/go-sql-driver/mysql/blob/master/CHANGELOG.md)
- [Commits](go-sql-driver/mysql@v1.10.1...v1.10.2)

---
updated-dependencies:
- dependency-name: github.com/go-sql-driver/mysql
  dependency-version: 1.10.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Nov 20, 2026
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 go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants