Kubernetes-practical-exercises-Hands-on
Kubernetes-practical-exercises-Hands-on copied to clipboard
chore(deps): bump github.com/go-sql-driver/mysql from 1.7.1 to 1.8.1 in /retail-store-sample-app/src/catalog
Bumps github.com/go-sql-driver/mysql from 1.7.1 to 1.8.1.
Release notes
Sourced from github.com/go-sql-driver/mysql's releases.
v1.8.1
What's Changed
Bugfixes:
Full Changelog: https://github.com/go-sql-driver/mysql/compare/v1.8.0...v1.8.1
v1.8.0
What's Changed
Major changes
Use
SET NAMES charset COLLATE collation. by@methanein go-sql-driver/mysql#1437
- Older go-mysql-driver used
collation_idin 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 utf8mb4for 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
@methanein go-sql-driver/mysql#1432
- This is backward incompatible in rare case. Check your DSN.
Drop Go 1.13-17 support by
@methanein go-sql-driver/mysql#1420
- Use Go 1.18+
Parse numbers on text protocol too by
@methanein go-sql-driver/mysql#1452
- When text protocol is used, go-mysql-driver passed bare
[]byteto database/sql for avoid unnecessary allocation and conversion.- If user specified
*anytoScan(), database/sql passed the[]byteinto 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
[]byteand 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.
- Make TimeTruncate functional option by
@methanein go-sql-driver/mysql#1552- Add BeforeConnect callback to configuration object by
@ItalyPaleAlein go-sql-driver/mysql#1469Other changes
- Adding DeregisterDialContext to prevent memory leaks with dialers we don't need anymore by
@jypellein go-sql-driver/mysql#1422- Make logger configurable per connection by
@frozenbonitoin go-sql-driver/mysql#1408- Fix ColumnType.DatabaseTypeName for mediumint unsigned by
@evaneliasin go-sql-driver/mysql#1428- Add connection attributes by
@Daemonxiaoin go-sql-driver/mysql#1389- Stop
ColumnTypeScanType()from returningsql.RawBytesby@methanein go-sql-driver/mysql#1424- Exec() now provides access to status of multiple statements. by
@mherr-googlein go-sql-driver/mysql#1309- Allow to change (or disable) the default driver name for registration by
@dolmenin go-sql-driver/mysql#1499
... (truncated)
Changelog
Sourced from github.com/go-sql-driver/mysql's changelog.
Version 1.8.1 (2024-03-26)
Bugfixes:
Version 1.8.0 (2024-03-09)
Major Changes:
- Use
SET NAMES charset COLLATE collation. by@methanein #1437
- Older go-mysql-driver used
collation_idin 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 utf8mb4for 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
@methanein #1432
- This is backward incompatible in rare case. Check your DSN.
- Drop Go 1.13-17 support by
@methanein #1420
- Use Go 1.18+
- Parse numbers on text protocol too by
@methanein #1452
- When text protocol is used, go-mysql-driver passed bare
[]byteto database/sql for avoid unnecessary allocation and conversion.- If user specified
*anytoScan(), database/sql passed the[]byteinto the target variable.- 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
[]byteand conversion cost is negatable.- 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.
- Make TimeTruncate functional option by
@methanein 1552- Add BeforeConnect callback to configuration object by
@ItalyPaleAlein #1469Other changes:
- Adding DeregisterDialContext to prevent memory leaks with dialers we don't need anymore by
@jypellein go-sql-driver/mysql#1422- Make logger configurable per connection by
@frozenbonitoin go-sql-driver/mysql#1408- Fix ColumnType.DatabaseTypeName for mediumint unsigned by
@evaneliasin go-sql-driver/mysql#1428- Add connection attributes by
@Daemonxiaoin go-sql-driver/mysql#1389- Stop
ColumnTypeScanType()from returningsql.RawBytesby@methanein go-sql-driver/mysql#1424- Exec() now provides access to status of multiple statements. by
@mherr-googlein go-sql-driver/mysql#1309- Allow to change (or disable) the default driver name for registration by
@dolmenin go-sql-driver/mysql#1499- Add default connection attribute '_server_host' by
@oblitorumin go-sql-driver/mysql#1506- QueryUnescape DSN ConnectionAttribute value by
@zhangyangyuin go-sql-driver/mysql#1470- Add client_ed25519 authentication by
@Gustedin go-sql-driver/mysql#1518
Commits
4395c45update changelog for releasing v1.8.1 (#1576)7eeaba6Fix issue 1567 (#1570) (#1571)65395d8fix race condition when context is canceled (#1565)1e75613add wrapper method to call mc.cfg.Logger (#1564)33fa6e5replace interface{} with any (#1561)33b7747Add BeforeConnect callback to configuration object (#1469)6964272Make TimeTruncate functional option (#1552)097fe6eUpdate workflows (#1547)f019727add TiDB support in README.md (#1333)743e263IntroducetimeTruncateparameter fortime.Timearguments (#1541)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)