Update module github.com/go-sql-driver/mysql to v1.9.3 #40
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.
This PR contains the following updates:
v1.4.1
->v1.9.3
Release Notes
go-sql-driver/mysql (github.com/go-sql-driver/mysql)
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
v1.9.0
Compare Source
Major Changes
Bugfixes
Other changes
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 #1437collation_id
in the handshake packet. But it caused collation mismatch in some situation.SET NAMES utf8mb4
for new connection. This uses server's default collation for utf8mb4.SET NAMES <charset>
. This uses the server's default collation for<charset>
.SET NAMES charset COLLATE collation
.PathEscape dbname in DSN. by @methane in #1432
Drop Go 1.13-17 support by @methane in #1420
Parse numbers on text protocol too by @methane in #1452
[]byte
to database/sql for avoid unnecessary allocation and conversion.*any
toScan()
, database/sql passed the[]byte
into the target variabe.[]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
Adding DeregisterDialContext to prevent memory leaks with dialers we don't need anymore by @jypelle in #1422
Make logger configurable per connection by @frozenbonito in #1408
Fix ColumnType.DatabaseTypeName for mediumint unsigned by @evanelias in #1428
Add connection attributes by @Daemonxiao in #1389
Stop
ColumnTypeScanType()
from returningsql.RawBytes
by @methane in #1424Exec() now provides access to status of multiple statements. by @mherr-google in #1309
Allow to change (or disable) the default driver name for registration by @dolmen in #1499
Add default connection attribute '_server_host' by @oblitorum in #1506
QueryUnescape DSN ConnectionAttribute value by @zhangyangyu in #1470
Add client_ed25519 authentication by @Gusted in #1518
Reduced allocation on connection.go by @EPuncker in #1421
Avoid panic in TestRowsColumnTypes by @wayyoungboy in #1426
Add benchmark to receive massive rows. by @methane in #1415
README: Update multistatement by @methane in #1431
all: replace ioutil pkg to new package by @uji in #1438
chore: code optimization by @testwill in #1439
Reduce map lookup in ColumnTypeDatabaseTypeName. by @methane in #1436
doc: add link to NewConnector from FormatDSN by @dolmen in #1442
Add fuzz test for ParseDSN / FormatDSN roundtrip by @dolmen in #1444
TestDSNReformat: add more roundtrip checks by @dolmen in #1443
tcp: handle errors returned by SetKeepAlive by @achille-roussel in #1448
use staticcheck by @methane in #1449
Add Daemonxiao to AUTHORS by @Daemonxiao in #1459
Update link about
LOAD DATA LOCAL
in README.md by @i7a7467 in #1468Update README.md by @Netzer7 in #1464
add Go 1.21 and MySQL 8.1 to the build matrix by @shogo82148 in #1472
Improve DSN docstsrings by @golddranks in #1475
Fix #1478 remove length check by @ShenFeng312 in #1481
README: fix markup error by @methane in #1480
Close connection on ErrPktSync and ErrPktSyncMul by @owbone in #1473
Spelling, grammar, and link fixes by @scop in #1485
Make use of strings.Cut by @scop in #1486
move stale connection check to ResetSession() by @methane in #1496
fix race condition of TestConcurrent by @shogo82148 in #1490
mark fail, mustExec and mustQuery as test helpers by @shogo82148 in #1488
Remove obsolete fuzz.go #1445 by @dolmen in #1498
testing: expose testing.TB in DBTest instead of full *testing.T by @dolmen in #1500
symbol removed from installation command by @panvalkar1994 in #1510
fix issue 1361 by @keeplearning20221 in #1462
fix fragile test by @methane in #1522
Fix sql.RawBytes corruption issue by @shogo82148 in #1523
fix for enum and set field type to column type identifying by @jennifersp in #1520
Parallelize test by @shogo82148 in #1525
Fix unsigned int overflow by @shiyuhang0 in #1530
Introduce
timeTruncate
parameter fortime.Time
arguments by @PauliusLozys in #1541add TiDB support in README.md by @crazycs520 in #1333
Update workflows by @methane in #1547
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.7Compare Source
Changes:
(*textRows).readRow
in a more clear way (#1230)New Features:
Bugfixes:
v1.6.0
: Version 1.6.0Compare Source
Major Release
NullTime
is deprecated (#960, #1144)See CHANGELOG.md for full details
v1.5.0
: Version 1.5.0Compare Source
Major Release
Connector
interfaceutf8mb4
defaultmysql.NullTime
compatible withsql.NullTime
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.
This PR was generated by Mend Renovate. View the repository job log.