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

Merged
renovate_bot merged 1 commit from renovate/github.com-go-sql-driver-mysql-1.x into master 2026-11-18 00:01:31 +00:00
Collaborator

This PR contains the following updates:

Package Change Age Confidence
github.com/go-sql-driver/mysql v1.10.1 → v1.10.2 age confidence

⚠️ Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

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

v1.10.2

Compare Source

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)

  • Preserve and log idle server error packets before discarding a connection,
    with bounded diagnostics over plain, TLS, and zlib connections. (#​1843)

CI
  • Update GitHub Actions dependencies and add a workflow dependency lockfile. (#​1838)

  • Pin the lint job to Go 1.26 and Staticcheck v0.8.1 for compatibility. (#​1824)

  • Limit Go module Dependabot pull requests to security updates. (#​1829)

  • Test Go 1.27 and MySQL 9.7 while retaining Go 1.24 and the existing database
    compatibility jobs.


Configuration

📅 Schedule: (UTC)

  • 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 has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) | `v1.10.1` → `v1.10.2` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgo-sql-driver%2fmysql/v1.10.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgo-sql-driver%2fmysql/v1.10.1/v1.10.2?slim=true) | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/1) for more information. --- ### Release Notes <details> <summary>go-sql-driver/mysql (github.com/go-sql-driver/mysql)</summary> ### [`v1.10.2`](https://github.com/go-sql-driver/mysql/blob/HEAD/CHANGELOG.md#v1102-2026-11-17) [Compare Source](https://github.com/go-sql-driver/mysql/compare/v1.10.1...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, [#&#8203;1850](https://github.com/go-sql-driver/mysql/issues/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. ([#&#8203;1836](https://github.com/go-sql-driver/mysql/issues/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. ([#&#8203;1836](https://github.com/go-sql-driver/mysql/issues/1836)) - Fix `interpolateParams` treating the `*` that opens `/*/` as closing the comment. ([#&#8203;1835](https://github.com/go-sql-driver/mysql/issues/1835)) ##### Bugfixes - Honor `BeforeConnect` changes to the timeout, dialer, logger, and connection attributes without modifying the shared connector. ([#&#8203;1809](https://github.com/go-sql-driver/mysql/issues/1809)) - Validate prepared statement arguments and packet size before sending long data, and reset the statement if a long-data write fails. ([#&#8203;1810](https://github.com/go-sql-driver/mysql/issues/1810)) - Fix the reported precision of unsigned DECIMAL columns. ([#&#8203;1813](https://github.com/go-sql-driver/mysql/issues/1813)) - Preserve full two-byte column collation IDs so IDs above 255 do not cause text columns to be reported as binary columns. ([#&#8203;1818](https://github.com/go-sql-driver/mysql/issues/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. ([#&#8203;1832](https://github.com/go-sql-driver/mysql/issues/1832)) - Preserve and log idle server error packets before discarding a connection, with bounded diagnostics over plain, TLS, and zlib connections. ([#&#8203;1843](https://github.com/go-sql-driver/mysql/issues/1843)) ##### CI - Update GitHub Actions dependencies and add a workflow dependency lockfile. ([#&#8203;1838](https://github.com/go-sql-driver/mysql/issues/1838)) - Pin the lint job to Go 1.26 and Staticcheck v0.8.1 for compatibility. ([#&#8203;1824](https://github.com/go-sql-driver/mysql/issues/1824)) - Limit Go module Dependabot pull requests to security updates. ([#&#8203;1829](https://github.com/go-sql-driver/mysql/issues/1829)) - Test Go 1.27 and MySQL 9.7 while retaining Go 1.24 and the existing database compatibility jobs. </details> --- ### Configuration 📅 **Schedule**: (UTC) - 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yNTEuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjI1MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
fix(deps): update module github.com/go-sql-driver/mysql to v1.10.2
Some checks failed
ci / frontend-test (push) Successful in 53s
ci / backend-test (push) Successful in 1m45s
ci / build-1 (push) Failing after 2m14s
ci / frontend-docker (push) Failing after 0s
ci / build (push) Failing after 4m12s
ci / backend-docker (push) Failing after 0s
ci / build-2 (push) Has been skipped
ci / chart (push) Failing after 0s
92563f7b6f
renovate_bot scheduled this pull request to auto merge when all checks succeed 2026-11-17 23:59:54 +00:00
renovate_bot deleted branch renovate/github.com-go-sql-driver-mysql-1.x 2026-11-18 00:01:31 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jonasled/timetracker-next!40
No description provided.