Skip to content

Update module github.com/go-sql-driver/mysql to v1.10.1 - #26

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/github.com-go-sql-driver-mysql-1.x
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/github.com-go-sql-driver-mysql-1.x

Conversation

@renovate

@renovate renovate Bot commented Mar 9, 2024 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

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

Release Notes

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

v1.10.1

Compare Source

  • Fix Config.FormatDSN() dropping Addr when Net is empty.
    It now uses the default tcp network so configs with only Addr round-trip correctly. (#​1770)

  • Fix typed-nil json.RawMessage with interpolateParams=true being interpolated as an empty string.
    It is now interpolated as SQL NULL, matching server-side prepared statements. (#​1782)

  • Add MariaDB 11.8 and 12.3 to the test matrix. (#​1774)

v1.10.0

Compare Source

  • Fix getSystemVar("max_allowed_packet") potentially returned wrong value. (#​1754)
    This affects only when maxAllowedPacket=0 is set.

  • Bump filippo.io/edwards25519 from 1.1.1 to 1.2.0. (#​1756)
    While older versions have reported CVEs, they do not affect go-mysql.

  • Update Go versions to 1.24-1.26. (#​1763)

  • Enhance interpolateParams to correctly handle placeholders. (#​1732)
    The question mark (?) within strings and comments will no longer be treated as a placeholder.

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 #​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 #​1432

    • This is backward incompatible in rare case. Check your DSN.
  • Drop Go 1.13-17 support by @​methane in #​1420

    • Use Go 1.18+
  • Parse numbers on text protocol too by @​methane in #​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: (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 was generated by Mend Renovate. View the repository job log.

@renovate

renovate Bot commented Mar 9, 2024

Copy link
Copy Markdown
Contributor Author

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.


  • Branch has one or more failed status checks

@coveralls

coveralls commented Mar 9, 2024 •

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 11068615303

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 87.963%

Totals Coverage Status
Change from base Build 11068610082: 0.0%
Covered Lines: 95
Relevant Lines: 108

💛 - Coveralls

@renovate
renovate Bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch 2 times, most recently from 4cad6dc to 553871a Compare March 26, 2024 14:46
@renovate renovate Bot changed the title Update module github.com/go-sql-driver/mysql to v1.8.0 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 from 553871a to 5ebbf32 Compare April 4, 2024 06:15
@renovate
renovate Bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from 5ebbf32 to 75ca186 Compare April 25, 2024 08:09
@renovate
renovate Bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch 2 times, most recently from a5b44f7 to 4bbc556 Compare May 7, 2024 04:44
@renovate
renovate Bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from 4bbc556 to 19854cd Compare May 12, 2024 03:41
@renovate
renovate Bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from 19854cd to 7450478 Compare June 5, 2024 07:20
@renovate
renovate Bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch 2 times, most recently from 0e8055f to b1d8976 Compare September 27, 2024 10:02
@renovate
renovate Bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from b1d8976 to a934b52 Compare November 23, 2024 16:03
@renovate renovate Bot changed the title Update module github.com/go-sql-driver/mysql to v1.8.1 Update module github.com/go-sql-driver/mysql to v1.9.0 Feb 18, 2025
@renovate

renovate Bot commented Feb 18, 2025 •

Copy link
Copy Markdown
Contributor Author

ℹ Artifact update notice

File name: 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.15 -> 1.21.0

@renovate
renovate Bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from a934b52 to b4b7a66 Compare February 18, 2025 07:09
@renovate
renovate Bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch 2 times, most recently from 6011274 to fa05a85 Compare March 11, 2025 21:43
@renovate
renovate Bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from fa05a85 to 79e2cc8 Compare March 21, 2025 02:52
@renovate renovate Bot changed the title Update module github.com/go-sql-driver/mysql to v1.9.0 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 79e2cc8 to 7aef979 Compare April 7, 2025 16:41
@renovate renovate Bot changed the title Update module github.com/go-sql-driver/mysql to v1.9.1 Update module github.com/go-sql-driver/mysql to v1.9.2 Apr 7, 2025
@renovate
renovate Bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from 7aef979 to 85a6235 Compare May 7, 2025 12:07
@renovate
renovate Bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from 85a6235 to 3aa03ec Compare June 13, 2025 06:55
@renovate renovate Bot changed the title Update module github.com/go-sql-driver/mysql to v1.9.2 Update module github.com/go-sql-driver/mysql to v1.9.3 Jun 13, 2025
@renovate renovate Bot changed the title Update module github.com/go-sql-driver/mysql to v1.9.3 Update module github.com/go-sql-driver/mysql to v1.9.3 - autoclosed Jun 18, 2025
@renovate renovate Bot closed this Jun 18, 2025
@renovate
renovate Bot deleted the renovate/github.com-go-sql-driver-mysql-1.x branch June 18, 2025 23:40
@renovate renovate Bot changed the title Update module github.com/go-sql-driver/mysql to v1.9.3 - autoclosed Update module github.com/go-sql-driver/mysql to v1.9.3 Jun 19, 2025
@renovate
renovate Bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from 12c87da to a266add Compare November 21, 2025 00:40
@renovate renovate Bot changed the title Update module github.com/go-sql-driver/mysql to v1.9.3 Update module github.com/go-sql-driver/mysql to v1.9.3 - autoclosed Dec 11, 2025
@renovate renovate Bot closed this Dec 11, 2025
@renovate renovate Bot changed the title Update module github.com/go-sql-driver/mysql to v1.9.3 - autoclosed Update module github.com/go-sql-driver/mysql to v1.9.3 Dec 11, 2025
@renovate renovate Bot reopened this Dec 11, 2025
@renovate
renovate Bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from f69c19c to a266add Compare December 11, 2025 22:29
@renovate

renovate Bot commented Dec 11, 2025 •

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: 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.15 -> 1.24.0

@renovate
renovate Bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from a266add to f69c19c Compare December 11, 2025 22:29
@renovate
renovate Bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from f69c19c to dd1a3a6 Compare February 11, 2026 10:34
@renovate
renovate Bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from dd1a3a6 to 341775e Compare February 21, 2026 21:52
@renovate renovate Bot changed the title Update module github.com/go-sql-driver/mysql to v1.9.3 Update module github.com/go-sql-driver/mysql to v1.10.0 Apr 29, 2026
@renovate
renovate Bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from 341775e to cbe1c4c Compare April 29, 2026 19:38
@renovate renovate Bot changed the title Update module github.com/go-sql-driver/mysql to v1.10.0 Update module github.com/go-sql-driver/mysql to v1.10.0 - autoclosed May 15, 2026
@renovate renovate Bot closed this May 15, 2026
@renovate renovate Bot changed the title Update module github.com/go-sql-driver/mysql to v1.10.0 - autoclosed Update module github.com/go-sql-driver/mysql to v1.10.0 May 15, 2026
@renovate renovate Bot reopened this May 15, 2026
@renovate
renovate Bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch 2 times, most recently from cbe1c4c to 794edac Compare May 15, 2026 04:31
@renovate renovate Bot changed the title Update module github.com/go-sql-driver/mysql to v1.10.0 Update module github.com/go-sql-driver/mysql to v1.10.0 - autoclosed May 24, 2026
@renovate renovate Bot closed this May 24, 2026
@renovate renovate Bot changed the title Update module github.com/go-sql-driver/mysql to v1.10.0 - autoclosed Update module github.com/go-sql-driver/mysql to v1.10.0 May 24, 2026
@renovate renovate Bot reopened this May 24, 2026
@renovate
renovate Bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch 2 times, most recently from 794edac to 0c20069 Compare May 24, 2026 17:48
@renovate renovate Bot changed the title Update module github.com/go-sql-driver/mysql to v1.10.0 Update module github.com/go-sql-driver/mysql to v1.10.0 - autoclosed May 25, 2026
@renovate renovate Bot closed this May 25, 2026
@renovate renovate Bot changed the title Update module github.com/go-sql-driver/mysql to v1.10.0 - autoclosed Update module github.com/go-sql-driver/mysql to v1.10.0 May 25, 2026
@renovate renovate Bot reopened this May 25, 2026
@renovate
renovate Bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from af5a305 to 0c20069 Compare May 25, 2026 14:30
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.

1 participant