Update module github.com/go-sql-driver/mysql to v1.8.0 #219
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.
This PR contains the following updates:
v1.7.1
->v1.8.0
Release Notes
go-sql-driver/mysql (github.com/go-sql-driver/mysql)
v1.8.0
Compare Source
What's Changed
Major changes
SET NAMES charset COLLATE collation
. by @methane in https://github.com/go-sql-driver/mysql/pull/1437Other changes
Adding DeregisterDialContext to prevent memory leaks with dialers we don't need anymore by @jypelle in https://github.com/go-sql-driver/mysql/pull/1422
Make logger configurable per connection by @frozenbonito in https://github.com/go-sql-driver/mysql/pull/1408
Fix ColumnType.DatabaseTypeName for mediumint unsigned by @evanelias in https://github.com/go-sql-driver/mysql/pull/1428
Add connection attributes by @Daemonxiao in https://github.com/go-sql-driver/mysql/pull/1389
Stop
ColumnTypeScanType()
from returningsql.RawBytes
by @methane in https://github.com/go-sql-driver/mysql/pull/1424Exec() now provides access to status of multiple statements. by @mherr-google in https://github.com/go-sql-driver/mysql/pull/1309
Allow to change (or disable) the default driver name for registration by @dolmen in https://github.com/go-sql-driver/mysql/pull/1499
Add default connection attribute '_server_host' by @oblitorum in https://github.com/go-sql-driver/mysql/pull/1506
Make TimeTruncate functional option by @methane in https://github.com/go-sql-driver/mysql/pull/1552
Add BeforeConnect callback to configuration object by @ItalyPaleAle in https://github.com/go-sql-driver/mysql/pull/1469
QueryUnescape DSN ConnectionAttribute value by @zhangyangyu in https://github.com/go-sql-driver/mysql/pull/1470
Add client_ed25519 authentication by @Gusted in https://github.com/go-sql-driver/mysql/pull/1518
Reduced allocation on connection.go by @EPuncker in https://github.com/go-sql-driver/mysql/pull/1421
Avoid panic in TestRowsColumnTypes by @wayyoungboy in https://github.com/go-sql-driver/mysql/pull/1426
Add benchmark to receive massive rows. by @methane in https://github.com/go-sql-driver/mysql/pull/1415
README: Update multistatement by @methane in https://github.com/go-sql-driver/mysql/pull/1431
all: replace ioutil pkg to new package by @uji in https://github.com/go-sql-driver/mysql/pull/1438
chore: code optimization by @testwill in https://github.com/go-sql-driver/mysql/pull/1439
Reduce map lookup in ColumnTypeDatabaseTypeName. by @methane in https://github.com/go-sql-driver/mysql/pull/1436
doc: add link to NewConnector from FormatDSN by @dolmen in https://github.com/go-sql-driver/mysql/pull/1442
Add fuzz test for ParseDSN / FormatDSN roundtrip by @dolmen in https://github.com/go-sql-driver/mysql/pull/1444
TestDSNReformat: add more roundtrip checks by @dolmen in https://github.com/go-sql-driver/mysql/pull/1443
tcp: handle errors returned by SetKeepAlive by @achille-roussel in https://github.com/go-sql-driver/mysql/pull/1448
use staticcheck by @methane in https://github.com/go-sql-driver/mysql/pull/1449
Add Daemonxiao to AUTHORS by @Daemonxiao in https://github.com/go-sql-driver/mysql/pull/1459
Update link about
LOAD DATA LOCAL
in README.md by @i7a7467 in https://github.com/go-sql-driver/mysql/pull/1468Update README.md by @Netzer7 in https://github.com/go-sql-driver/mysql/pull/1464
add Go 1.21 and MySQL 8.1 to the build matrix by @shogo82148 in https://github.com/go-sql-driver/mysql/pull/1472
Improve DSN docstsrings by @golddranks in https://github.com/go-sql-driver/mysql/pull/1475
Fix #1478 remove length check by @ShenFeng312 in https://github.com/go-sql-driver/mysql/pull/1481
README: fix markup error by @methane in https://github.com/go-sql-driver/mysql/pull/1480
Close connection on ErrPktSync and ErrPktSyncMul by @owbone in https://github.com/go-sql-driver/mysql/pull/1473
Spelling, grammar, and link fixes by @scop in https://github.com/go-sql-driver/mysql/pull/1485
Make use of strings.Cut by @scop in https://github.com/go-sql-driver/mysql/pull/1486
move stale connection check to ResetSession() by @methane in https://github.com/go-sql-driver/mysql/pull/1496
fix race condition of TestConcurrent by @shogo82148 in https://github.com/go-sql-driver/mysql/pull/1490
mark fail, mustExec and mustQuery as test helpers by @shogo82148 in https://github.com/go-sql-driver/mysql/pull/1488
Remove obsolete fuzz.go #1445 by @dolmen in https://github.com/go-sql-driver/mysql/pull/1498
testing: expose testing.TB in DBTest instead of full *testing.T by @dolmen in https://github.com/go-sql-driver/mysql/pull/1500
symbol removed from installation command by @panvalkar1994 in https://github.com/go-sql-driver/mysql/pull/1510
fix issue 1361 by @keeplearning20221 in https://github.com/go-sql-driver/mysql/pull/1462
fix fragile test by @methane in https://github.com/go-sql-driver/mysql/pull/1522
Fix sql.RawBytes corruption issue by @shogo82148 in https://github.com/go-sql-driver/mysql/pull/1523
fix for enum and set field type to column type identifying by @jennifersp in https://github.com/go-sql-driver/mysql/pull/1520
Parallelize test by @shogo82148 in https://github.com/go-sql-driver/mysql/pull/1525
Fix unsigned int overflow by @shiyuhang0 in https://github.com/go-sql-driver/mysql/pull/1530
Introduce
timeTruncate
parameter fortime.Time
arguments by @PauliusLozys in https://github.com/go-sql-driver/mysql/pull/1541add TiDB support in README.md by @crazycs520 in https://github.com/go-sql-driver/mysql/pull/1333
Update workflows by @methane in https://github.com/go-sql-driver/mysql/pull/1547
New Contributors
Full Changelog: go-sql-driver/mysql@v1.7.1...v1.8.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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 has been generated by Mend Renovate. View repository job log here.