Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update module github.com/go-sql-driver/mysql to v1.9.1 #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Apr 26, 2021

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/go-sql-driver/mysql v1.4.1 -> v1.9.1 age adoption passing confidence

Release Notes

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

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

v1.7.1

Compare Source

What's Changed

New Contributors

Full Changelog: go-sql-driver/mysql@v1.7.0...v1.7.1

v1.7.0: Version 1.7

Compare Source

Changes:

  • Drop support of Go 1.12 (#​1211)
  • Refactoring (*textRows).readRow in a more clear way (#​1230)
  • util: Reduce boundary check in escape functions. (#​1316)
  • enhancement for mysqlConn handleAuthResult (#​1250)

New Features:

  • support Is comparison on MySQLError (#​1210)
  • return unsigned in database type name when necessary (#​1238)
  • Add API to express like a --ssl-mode=PREFERRED MySQL client (#​1370)
  • Add SQLState to MySQLError (#​1321)

Bugfixes:

v1.6.0: Version 1.6.0

Compare Source

Major Release

See CHANGELOG.md for full details

v1.5.0: Version 1.5.0

Compare Source

Major Release

  • Added Go Module support
  • Dropped support for Go 1.9 and lower
  • Implemented Connector interface
  • Improved buffering
  • Added connection liveness check
  • Improved marking of bad connnections
  • Updated collations and made utf8mb4 default
  • Made mysql.NullTime compatible with sql.NullTime
  • Removed support for CloudSQL via appengine/cloudsql

See CHANGELOG.md for full details


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 becomes conflicted, 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 force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from e6e73d4 to cd0b4ee Compare March 16, 2023 07:35
@renovate renovate bot changed the title Update module github.com/go-sql-driver/mysql to v1.6.0 Update module github.com/go-sql-driver/mysql to v1.7.0 Mar 16, 2023
@renovate renovate bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from cd0b4ee to 27a399b Compare May 28, 2023 21:55
@renovate renovate bot changed the title Update module github.com/go-sql-driver/mysql to v1.7.0 Update module github.com/go-sql-driver/mysql to v1.7.1 May 28, 2023
@renovate renovate bot changed the title Update module github.com/go-sql-driver/mysql to v1.7.1 Update module github.com/go-sql-driver/mysql to v1.8.0 Mar 9, 2024
@renovate renovate bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from 27a399b to f881e73 Compare March 9, 2024 08:57
@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 27, 2024
@renovate renovate bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from f881e73 to cde8c31 Compare March 27, 2024 02:45
@renovate renovate bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from cde8c31 to 3b306bf Compare February 19, 2025 20:12
@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 19, 2025
Copy link
Author

renovate bot commented Feb 19, 2025

ℹ 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.12 -> 1.21.0

@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.0 - autoclosed Feb 21, 2025
@renovate renovate bot closed this Feb 21, 2025
@renovate renovate bot deleted the renovate/github.com-go-sql-driver-mysql-1.x branch February 21, 2025 07:32
@renovate renovate bot changed the title Update module github.com/go-sql-driver/mysql to v1.9.0 - autoclosed Update module github.com/go-sql-driver/mysql to v1.9.0 Feb 22, 2025
@renovate renovate bot reopened this Feb 22, 2025
@renovate renovate bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from 3b306bf to a0393fb Compare March 6, 2025 03:50
@renovate renovate bot force-pushed the renovate/github.com-go-sql-driver-mysql-1.x branch from a0393fb to b04ab5b Compare March 22, 2025 07:43
@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 22, 2025
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.

0 participants