Skip to content

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

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/go_modules/github.com/go-sql-driver/mysql-1.11.0
Dec 1, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
dependabot/go_modules/github.com/go-sql-driver/mysql-1.11.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

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

Release notes

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

v1.11.0

Changes since v1.10.2.

Requirements

  • The driver now requires Go 1.25 or later. The minimum supported server versions are MySQL 8.0 and MariaDB 10.11. (#1803)

New features

  • Add the tinyInt1IsBool DSN parameter and TinyInt1IsBool functional option, disabled by default to preserve numeric TINYINT behavior. When enabled, signed, non-ZEROFILL TINYINT(1) columns report BOOLEAN and scan types bool or sql.NullBool; zero is returned as false and non-zero values as true. This applies to both text-protocol queries and prepared statements. For non-NULL values, enabling the option makes integer scans fail and string scans return "false" or "true" instead of numeric strings. (#1805, #1845)

  • Add a pluggable authentication system with the AuthPlugin interface, AuthContext, and RegisterAuthPlugin. Custom plugins receive the connection context and an immutable snapshot of the selected credentials, established transport, and configured RSA public key. (#1696)

  • Refactor the built-in authentication methods to use the plugin system and support multi-step authentication flows with multiple auth switch requests and continuation packets. Authentication now validates plugin state, rejects unsolicited public keys, preserves errors from plugins, and starts plugins only after the TLS handshake has completed. (#1696)

  • Add OpenID Connect authentication with the OIDCToken option. The driver sends the token over TLS. (#1820)

  • Add support for MariaDB PARSEC authentication. (#1827)

  • Add optional zstd protocol compression. Import github.com/go-sql-driver/mysql/zstd for side effects and enable compress=true to use zstd when the server supports it, with zlib as a fallback. (#1823)

  • Preserve the order of DSN system variables when setting them on the server and when calling FormatDSN. Use AddParam to specify that order when configuring a connection programmatically. (#1807)

Bugfixes

  • For text queries, return BIGINT UNSIGNED values to sql.Scanner as int64 when they fit and as decimal bytes for larger values. (#1860)

  • Handle omitted column metadata in prepared statement Exec calls on MariaDB. (#1862)

... (truncated)

Changelog

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

v1.11.0 (2026-11-27)

Changes since v1.10.2.

Requirements

  • The driver now requires Go 1.25 or later. The minimum supported server versions are MySQL 8.0 and MariaDB 10.11. (#1803)

New features

  • Add the tinyInt1IsBool DSN parameter and TinyInt1IsBool functional option, disabled by default to preserve numeric TINYINT behavior. When enabled, signed, non-ZEROFILL TINYINT(1) columns report BOOLEAN and scan types bool or sql.NullBool; zero is returned as false and non-zero values as true. This applies to both text-protocol queries and prepared statements. For non-NULL values, enabling the option makes integer scans fail and string scans return "false" or "true" instead of numeric strings. (#1805, #1845)

  • Add a pluggable authentication system with the AuthPlugin interface, AuthContext, and RegisterAuthPlugin. Custom plugins receive the connection context and an immutable snapshot of the selected credentials, established transport, and configured RSA public key. (#1696)

  • Refactor the built-in authentication methods to use the plugin system and support multi-step authentication flows with multiple auth switch requests and continuation packets. Authentication now validates plugin state, rejects unsolicited public keys, preserves errors from plugins, and starts plugins only after the TLS handshake has completed. (#1696)

  • Add OpenID Connect authentication with the OIDCToken option. The driver sends the token over TLS. (#1820)

  • Add support for MariaDB PARSEC authentication. (#1827)

  • Add optional zstd protocol compression. Import github.com/go-sql-driver/mysql/zstd for side effects and enable compress=true to use zstd when the server supports it, with zlib as a fallback. (#1823)

  • Preserve the order of DSN system variables when setting them on the server and when calling FormatDSN. Use AddParam to specify that order when configuring a connection programmatically. (#1807)

Bugfixes

  • For text queries, return BIGINT UNSIGNED values to sql.Scanner as int64 when they fit and as decimal bytes for larger values. (#1860)

  • Handle omitted column metadata in prepared statement Exec calls on

... (truncated)

Commits
  • 059c148 release v1.11.0
  • 3ffda03 Bump actions/setup-go from 7.0.0 to 7.1.0 in the all-dependencies group (#1870)
  • 7a784e7 Report and close on connection errors from the server (#1852)
  • bcfd4cc ci: limit GITHUB_TOKEN permissions in the test workflow (#1865)
  • 444be80 auth: mariadb Parsec authentication plugin addition (#1827)
  • 9cd234f auth: pass auth switch data to plugins unmodified (#1864)
  • 42fbb9c Warm BenchmarkExec connections before starting workers (#1863)
  • 996fc48 Return ErrMalformPkt for truncated OK, EOF, column and prepare packets (#1858)
  • 3aac645 Handle omitted column metadata in prepared statement Exec (#1862)
  • 0ef14a2 Fix unsigned BIGINT Scan source types (#1860)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Dec 1, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) December 1, 2026 04:56
@codecov

codecov Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.67%. Comparing base (520f598) to head (cd700f0).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2440      +/-   ##
==========================================
- Coverage   92.68%   92.67%   -0.02%     
==========================================
  Files         137      137              
  Lines        9923     9923              
==========================================
- Hits         9197     9196       -1     
- Misses        725      726       +1     
  Partials        1        1              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) from 1.10.2 to 1.11.0.
- [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.2...v1.11.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/go-sql-driver/mysql-1.11.0 branch from 095f406 to cd700f0 Compare December 1, 2026 05:01
@github-actions
github-actions Bot merged commit ddf6512 into main Dec 1, 2026
23 checks passed
@github-actions
github-actions Bot deleted the dependabot/go_modules/github.com/go-sql-driver/mysql-1.11.0 branch December 1, 2026 05:07
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.

1 participant