-
Notifications
You must be signed in to change notification settings - Fork 2.3k
v1.8.0 #1556
-
What's Changed
Major changes
- Use
SET NAMES charset COLLATE collation
. by @methane in UseSET NAMES charset COLLATE collation
. #1437 - PathEscape dbname in DSN. by @methane in PathEscape dbname in DSN. #1432
- Drop Go 1.13-17 support by @methane in Drop Go 1.13-17 support #1420
- Parse numbers on text protocol too by @methane in Parse numbers on text protocol too #1452
Other changes
-
Adding DeregisterDialContext to prevent memory leaks with dialers we don't need anymore by @jypelle in Adding DeregisterDialContext to prevent memory leaks with dialers we don't need anymore #1422
-
Make logger configurable per connection by @frozenbonito in Make logger configurable per connection #1408
-
Fix ColumnType.DatabaseTypeName for mediumint unsigned by @evanelias in Fix ColumnType.DatabaseTypeName for mediumint unsigned #1428
-
Add connection attributes by @Daemonxiao in Add connection attributes #1389
-
Stop
ColumnTypeScanType()
from returningsql.RawBytes
by @methane in StopColumnTypeScanType()
from returningsql.RawBytes
#1424 -
Exec() now provides access to status of multiple statements. by @mherr-google in Exec() now provides access to status of multiple statements. #1309
-
Allow to change (or disable) the default driver name for registration by @dolmen in Allow to change (or disable) the default driver name for registration #1499
-
Add default connection attribute '_server_host' by @oblitorum in Add default connection attribute '_server_host' #1506
-
Make TimeTruncate functional option by @methane in Make TimeTruncate functional option #1552
-
Add BeforeConnect callback to configuration object by @ItalyPaleAle in Add BeforeConnect callback to configuration object #1469
-
QueryUnescape DSN ConnectionAttribute value by @zhangyangyu in QueryUnescape DSN ConnectionAttribute value #1470
-
Add client_ed25519 authentication by @Gusted in Add client_ed25519 authentication #1518
-
Reduced allocation on connection.go by @EPuncker in Reduced allocation on connection.go #1421
-
Avoid panic in TestRowsColumnTypes by @wayyoungboy in Avoid panic in TestRowsColumnTypes #1426
-
Add benchmark to receive massive rows. by @methane in Add benchmark to receive massive rows. #1415
-
README: Update multistatement by @methane in README: Update multistatement #1431
-
all: replace ioutil pkg to new package by @uji in all: replace ioutil pkg to new package #1438
-
chore: code optimization by @testwill in chore: code optimization #1439
-
Reduce map lookup in ColumnTypeDatabaseTypeName. by @methane in Reduce map lookup in ColumnTypeDatabaseTypeName. #1436
-
doc: add link to NewConnector from FormatDSN by @dolmen in doc: add link to NewConnector from FormatDSN #1442
-
Add fuzz test for ParseDSN / FormatDSN roundtrip by @dolmen in Add fuzz test for ParseDSN / FormatDSN roundtrip #1444
-
TestDSNReformat: add more roundtrip checks by @dolmen in TestDSNReformat: add more roundtrip checks #1443
-
tcp: handle errors returned by SetKeepAlive by @achille-roussel in tcp: handle errors returned by SetKeepAlive #1448
-
use staticcheck by @methane in use staticcheck #1449
-
Add Daemonxiao to AUTHORS by @Daemonxiao in Add Daemonxiao to AUTHORS #1459
-
Update link about
LOAD DATA LOCAL
in README.md by @i7a7467 in Update link aboutLOAD DATA LOCAL
in README.md #1468 -
Update README.md by @Netzer7 in Update README.md #1464
-
add Go 1.21 and MySQL 8.1 to the build matrix by @shogo82148 in add Go 1.21 and MySQL 8.1 to the build matrix #1472
-
Improve DSN docstsrings by @golddranks in Improve DSN docstsrings #1475
-
Fix The behavior of the readResultSetHeaderPacket differs from that of the MySQL client #1478 remove length check by @ShenFeng312 in Fix #1478 remove length check #1481
-
README: fix markup error by @methane in README: fix markup error #1480
-
Close connection on ErrPktSync and ErrPktSyncMul by @owbone in Close connection on ErrPktSync and ErrPktSyncMul #1473
-
Spelling, grammar, and link fixes by @scop in Spelling, grammar, and link fixes #1485
-
Make use of strings.Cut by @scop in Make use of strings.Cut #1486
-
move stale connection check to ResetSession() by @methane in move stale connection check to ResetSession() #1496
-
fix race condition of TestConcurrent by @shogo82148 in fix race condition of TestConcurrent #1490
-
mark fail, mustExec and mustQuery as test helpers by @shogo82148 in mark fail, mustExec and mustQuery as test helpers #1488
-
Remove obsolete fuzz.go Remove fuzz.go #1445 by @dolmen in Remove obsolete fuzz.go #1445 #1498
-
testing: expose testing.TB in DBTest instead of full *testing.T by @dolmen in testing: expose testing.TB in DBTest instead of full *testing.T #1500
-
symbol removed from installation command by @panvalkar1994 in symbol removed from installation command #1510
-
fix issue 1361 by @keeplearning20221 in fix issue 1361 #1462
-
fix fragile test by @methane in fix fragile test #1522
-
Fix sql.RawBytes corruption issue by @shogo82148 in Fix sql.RawBytes corruption issue #1523
-
fix for enum and set field type to column type identifying by @jennifersp in fix for enum and set field type to column type identifying #1520
-
Parallelize test by @shogo82148 in Parallelize test #1525
-
Fix unsigned int overflow by @shiyuhang0 in Fix unsigned int overflow #1530
-
Introduce
timeTruncate
parameter fortime.Time
arguments by @PauliusLozys in IntroducetimeTruncate
parameter fortime.Time
arguments #1541 -
add TiDB support in README.md by @crazycs520 in add TiDB support in README.md #1333
-
Update workflows by @methane in Update workflows #1547
New Contributors
- @EPuncker made their first contribution in Reduced allocation on connection.go #1421
- @jypelle made their first contribution in Adding DeregisterDialContext to prevent memory leaks with dialers we don't need anymore #1422
- @frozenbonito made their first contribution in Make logger configurable per connection #1408
- @wayyoungboy made their first contribution in Avoid panic in TestRowsColumnTypes #1426
- @evanelias made their first contribution in Fix ColumnType.DatabaseTypeName for mediumint unsigned #1428
- @Daemonxiao made their first contribution in Add connection attributes #1389
- @uji made their first contribution in all: replace ioutil pkg to new package #1438
- @testwill made their first contribution in chore: code optimization #1439
- @i7a7467 made their first contribution in Update link about
LOAD DATA LOCAL
in README.md #1468 - @Netzer7 made their first contribution in Update README.md #1464
- @golddranks made their first contribution in Improve DSN docstsrings #1475
- @ShenFeng312 made their first contribution in Fix #1478 remove length check #1481
- @owbone made their first contribution in Close connection on ErrPktSync and ErrPktSyncMul #1473
- @scop made their first contribution in Spelling, grammar, and link fixes #1485
- @panvalkar1994 made their first contribution in symbol removed from installation command #1510
- @zhangyangyu made their first contribution in QueryUnescape DSN ConnectionAttribute value #1470
- @keeplearning20221 made their first contribution in fix issue 1361 #1462
- @oblitorum made their first contribution in Add default connection attribute '_server_host' #1506
- @Gusted made their first contribution in Add client_ed25519 authentication #1518
- @jennifersp made their first contribution in fix for enum and set field type to column type identifying #1520
- @shiyuhang0 made their first contribution in Fix unsigned int overflow #1530
- @PauliusLozys made their first contribution in Introduce
timeTruncate
parameter fortime.Time
arguments #1541 - @crazycs520 made their first contribution in add TiDB support in README.md #1333
- @ItalyPaleAle made their first contribution in Add BeforeConnect callback to configuration object #1469
Full Changelog: v1.7.1...v1.8.0
This discussion was created from the release v1.8.0.
Beta Was this translation helpful? Give feedback.
All reactions
-
🎉 5 -
🚀 3