fix(deps): update minor/patch dependencies
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
github.com/go-sql-driver/mysql |
v1.7.1 -> v1.8.1
|
||||
github.com/hellofresh/health-go/v5 |
v5.5.2 -> v5.5.3
|
||||
github.com/jackc/pgx/v5 |
v5.5.2 -> v5.5.5
|
||||
github.com/prometheus/client_golang |
v1.18.0 -> v1.19.0
|
||||
github.com/stretchr/testify |
v1.8.4 -> v1.9.0
|
Release Notes
go-sql-driver/mysql (github.com/go-sql-driver/mysql)
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 @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
.
- Older go-mysql-driver used
-
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
toScan()
, 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.
- When text protocol is used, go-mysql-driver passed bare
-
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 @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
Other 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/1424 -
Exec() 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
-
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/1468 -
Update 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/1541 -
add 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
- @EPuncker made their first contribution in https://github.com/go-sql-driver/mysql/pull/1421
- @jypelle made their first contribution in https://github.com/go-sql-driver/mysql/pull/1422
- @frozenbonito made their first contribution in https://github.com/go-sql-driver/mysql/pull/1408
- @wayyoungboy made their first contribution in https://github.com/go-sql-driver/mysql/pull/1426
- @evanelias made their first contribution in https://github.com/go-sql-driver/mysql/pull/1428
- @Daemonxiao made their first contribution in https://github.com/go-sql-driver/mysql/pull/1389
- @uji made their first contribution in https://github.com/go-sql-driver/mysql/pull/1438
- @testwill made their first contribution in https://github.com/go-sql-driver/mysql/pull/1439
- @i7a7467 made their first contribution in https://github.com/go-sql-driver/mysql/pull/1468
- @Netzer7 made their first contribution in https://github.com/go-sql-driver/mysql/pull/1464
- @golddranks made their first contribution in https://github.com/go-sql-driver/mysql/pull/1475
- @ShenFeng312 made their first contribution in https://github.com/go-sql-driver/mysql/pull/1481
- @owbone made their first contribution in https://github.com/go-sql-driver/mysql/pull/1473
- @scop made their first contribution in https://github.com/go-sql-driver/mysql/pull/1485
- @panvalkar1994 made their first contribution in https://github.com/go-sql-driver/mysql/pull/1510
- @zhangyangyu made their first contribution in https://github.com/go-sql-driver/mysql/pull/1470
- @keeplearning20221 made their first contribution in https://github.com/go-sql-driver/mysql/pull/1462
- @oblitorum made their first contribution in https://github.com/go-sql-driver/mysql/pull/1506
- @Gusted made their first contribution in https://github.com/go-sql-driver/mysql/pull/1518
- @jennifersp made their first contribution in https://github.com/go-sql-driver/mysql/pull/1520
- @shiyuhang0 made their first contribution in https://github.com/go-sql-driver/mysql/pull/1530
- @PauliusLozys made their first contribution in https://github.com/go-sql-driver/mysql/pull/1541
- @crazycs520 made their first contribution in https://github.com/go-sql-driver/mysql/pull/1333
- @ItalyPaleAle made their first contribution in https://github.com/go-sql-driver/mysql/pull/1469
Full Changelog: https://github.com/go-sql-driver/mysql/compare/v1.7.1...v1.8.0
hellofresh/health-go (github.com/hellofresh/health-go/v5)
v5.5.3
What's Changed
-
Update Redis dependency to correct import path by @fsrv-xyz in https://github.com/hellofresh/health-go/pull/170
-
Using BlankIdentifier in an unused param by @fabioserra in https://github.com/hellofresh/health-go/pull/175
-
Bump github.com/nats-io/nats.go from 1.31.0 to 1.32.0 by @dependabot in https://github.com/hellofresh/health-go/pull/157
-
Bump github.com/jackc/pgx/v5 from 5.5.1 to 5.5.2 by @dependabot in https://github.com/hellofresh/health-go/pull/158
-
Bump go.opentelemetry.io/otel from 1.21.0 to 1.22.0 by @dependabot in https://github.com/hellofresh/health-go/pull/160
-
Bump github.com/jackc/pgx/v5 from 5.5.2 to 5.5.3 by @dependabot in https://github.com/hellofresh/health-go/pull/162
-
Bump google.golang.org/grpc from 1.60.1 to 1.61.0 by @dependabot in https://github.com/hellofresh/health-go/pull/161
-
Bump go.opentelemetry.io/otel/trace from 1.22.0 to 1.23.0 by @dependabot in https://github.com/hellofresh/health-go/pull/163
-
Bump go.opentelemetry.io/otel/trace from 1.23.0 to 1.23.1 by @dependabot in https://github.com/hellofresh/health-go/pull/166
-
Bump go.mongodb.org/mongo-driver from 1.13.1 to 1.14.0 by @dependabot in https://github.com/hellofresh/health-go/pull/169
-
Bump github.com/nats-io/nats.go from 1.32.0 to 1.33.1 by @dependabot in https://github.com/hellofresh/health-go/pull/171
-
Bump google.golang.org/grpc from 1.61.0 to 1.62.0 by @dependabot in https://github.com/hellofresh/health-go/pull/172
-
Bump go.opentelemetry.io/otel/trace from 1.23.1 to 1.24.0 by @dependabot in https://github.com/hellofresh/health-go/pull/174
-
Bump github.com/redis/go-redis/v9 from 9.4.0 to 9.5.1 by @dependabot in https://github.com/hellofresh/health-go/pull/179
-
Bump github.com/jackc/pgx/v4 from 4.18.1 to 4.18.3 by @dependabot in https://github.com/hellofresh/health-go/pull/182
-
Bump github.com/jackc/pgx/v5 from 5.5.3 to 5.5.5 by @dependabot in https://github.com/hellofresh/health-go/pull/181
-
Bump google.golang.org/grpc from 1.62.0 to 1.62.1 by @dependabot in https://github.com/hellofresh/health-go/pull/180
-
Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 by @dependabot in https://github.com/hellofresh/health-go/pull/176
-
Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by @dependabot in https://github.com/hellofresh/health-go/pull/184
New Contributors
- @fabioserra made their first contribution in https://github.com/hellofresh/health-go/pull/175
- @fsrv-xyz made their first contribution in https://github.com/hellofresh/health-go/pull/170
Full Changelog: https://github.com/hellofresh/health-go/compare/v5.5.2...v5.5.3
prometheus/client_golang (github.com/prometheus/client_golang)
v1.19.0
What's Changed
The module prometheus/common v0.48.0
introduced an incompatibility when used together with client_golang (See https://github.com/prometheus/client_golang/pull/1448 for more details). If your project uses client_golang and you want to use prometheus/common v0.48.0
or higher, please update client_golang to v1.19.0.
- [CHANGE] Minimum required go version is now 1.20 (we also test client_golang against new 1.22 version). #1445 #1449
- [FEATURE] collectors: Add version collector. #1422 #1427
New Contributors
- @michurin made their first contribution in https://github.com/prometheus/client_golang/pull/1423
- @kavu made their first contribution in https://github.com/prometheus/client_golang/pull/1445
- @ywwg made their first contribution in https://github.com/prometheus/client_golang/pull/1448
Full Changelog: https://github.com/prometheus/client_golang/compare/v1.18.0...v1.19.0
stretchr/testify (github.com/stretchr/testify)
v1.9.0
What's Changed
- Fix Go modules version by @SuperQ in https://github.com/stretchr/testify/pull/1394
- Document that require is not safe to call in created goroutines by @programmer04 in https://github.com/stretchr/testify/pull/1392
- Remove myself from MAINTAINERS.md by @mvdkleijn in https://github.com/stretchr/testify/pull/1367
- Correct spelling/grammar by @echarrod in https://github.com/stretchr/testify/pull/1389
- docs: Update URLs in README by @davidjb in https://github.com/stretchr/testify/pull/1349
- Update mockery link to Github Pages in README by @LandonTClipp in https://github.com/stretchr/testify/pull/1346
- docs: Fix typos in tests and comments by @alexandear in https://github.com/stretchr/testify/pull/1410
- CI: tests from go1.17 by @SuperQ in https://github.com/stretchr/testify/pull/1409
- Fix adding ? when no values passed by @lesichkovm in https://github.com/stretchr/testify/pull/1320
- codegen: use standard header for generated files by @dolmen in https://github.com/stretchr/testify/pull/1406
- mock: AssertExpectations log reason only on failure by @hikyaru-suzuki in https://github.com/stretchr/testify/pull/1360
- assert: fix flaky TestNeverTrue by @dolmen in https://github.com/stretchr/testify/pull/1417
- README: fix typos "set up" vs "setup" by @ossan-dev in https://github.com/stretchr/testify/pull/1428
- mock: move regexp compilation outside of
Called
by @aud10slave in https://github.com/stretchr/testify/pull/631 - assert: refactor internal func getLen() by @dolmen in https://github.com/stretchr/testify/pull/1445
- mock: deprecate type AnythingOfTypeArgument (#1434) by @dolmen in https://github.com/stretchr/testify/pull/1441
- Remove no longer needed assert.canConvert by @alexandear in https://github.com/stretchr/testify/pull/1470
- assert: ObjectsAreEqual: use time.Equal for time.Time types by @tscales in https://github.com/stretchr/testify/pull/1464
- Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/stretchr/testify/pull/1466
- Bump actions/setup-go from 3.2.0 to 4.1.0 by @dependabot in https://github.com/stretchr/testify/pull/1451
- fix: make EventuallyWithT concurrency safe by @czeslavo in https://github.com/stretchr/testify/pull/1395
- assert: fix httpCode and HTTPBody occur panic when http.Handler read Body by @hidu in https://github.com/stretchr/testify/pull/1484
- assert.EqualExportedValues: fix handling of arrays by @zrbecker in https://github.com/stretchr/testify/pull/1473
- .github: use latest Go versions by @kevinburkesegment in https://github.com/stretchr/testify/pull/1489
- assert: Deprecate EqualExportedValues by @HaraldNordgren in https://github.com/stretchr/testify/pull/1488
- suite: refactor test assertions by @alexandear in https://github.com/stretchr/testify/pull/1474
- suite: fix SetupSubTest and TearDownSubTest execution order by @linusbarth in https://github.com/stretchr/testify/pull/1471
- docs: Fix deprecation comments for http package by @alexandear in https://github.com/stretchr/testify/pull/1335
- Add map support doc comments to Subset and NotSubset by @jedevc in https://github.com/stretchr/testify/pull/1306
- TestErrorIs/TestNotErrorIs: check error message contents by @craig65535 in https://github.com/stretchr/testify/pull/1435
- suite: fix subtest names (fix #1501) by @dolmen in https://github.com/stretchr/testify/pull/1504
- assert: improve unsafe.Pointer tests by @dolmen in https://github.com/stretchr/testify/pull/1505
- assert: simplify isNil implementation by @dolmen in https://github.com/stretchr/testify/pull/1506
- assert.InEpsilonSlice: fix expected/actual order and other improvements by @dolmen in https://github.com/stretchr/testify/pull/1483
- Fix dependency cycle with objx #1292 by @dolmen in https://github.com/stretchr/testify/pull/1453
- mock: refactor TestIsArgsEqual by @dolmen in https://github.com/stretchr/testify/pull/1444
- mock: optimize argument matching checks by @dolmen in https://github.com/stretchr/testify/pull/1416
- assert: fix TestEventuallyTimeout by @dolmen in https://github.com/stretchr/testify/pull/1412
- CI: add go 1.21 in GitHub Actions by @dolmen in https://github.com/stretchr/testify/pull/1450
- suite: fix recoverAndFailOnPanic to report test failure at the right location by @dolmen in https://github.com/stretchr/testify/pull/1502
- Update maintainers by @brackendawson in https://github.com/stretchr/testify/pull/1533
- assert: Fix EqualValues to handle overflow/underflow by @arjunmahishi in https://github.com/stretchr/testify/pull/1531
- assert: better formatting for Len() error by @kevinburkesegment in https://github.com/stretchr/testify/pull/1485
- Ensure AssertExpectations does not fail in skipped tests by @ianrose14 in https://github.com/stretchr/testify/pull/1331
- suite: fix deadlock in suite.Require()/Assert() by @arjunmahishi in https://github.com/stretchr/testify/pull/1535
- Revert "assert: ObjectsAreEqual: use time.Equal for time.Time type" by @brackendawson in https://github.com/stretchr/testify/pull/1537
- [chore] Add issue templates by @arjunmahishi in https://github.com/stretchr/testify/pull/1538
- Update the build status badge by @brackendawson in https://github.com/stretchr/testify/pull/1540
- Update Github workflows setup-go to V5 by @hendrywiranto in https://github.com/stretchr/testify/pull/1545
- Support Pointer to Struct in EqualExportedValues by @Lucaber in https://github.com/stretchr/testify/pull/1517
- README: drop link to gorc by @guettli in https://github.com/stretchr/testify/pull/1248
- http_assertions: honour the msgAndArgs provided with each assertion by @arjunmahishi in https://github.com/stretchr/testify/pull/1548
- fix typos in comments and tests by @ccoVeille in https://github.com/stretchr/testify/pull/1247
- Include the auto-release notes in releases by @brackendawson in https://github.com/stretchr/testify/pull/1550
- Add
NotImplements
and variants by @hslatman in https://github.com/stretchr/testify/pull/1385 - Add support to compare uintptr by @bogdandrutu in https://github.com/stretchr/testify/pull/1339
- build(deps): bump github.com/stretchr/objx from 0.5.1 to 0.5.2 by @dependabot in https://github.com/stretchr/testify/pull/1552
New Contributors
- @SuperQ made their first contribution in https://github.com/stretchr/testify/pull/1394
- @programmer04 made their first contribution in https://github.com/stretchr/testify/pull/1392
- @echarrod made their first contribution in https://github.com/stretchr/testify/pull/1389
- @davidjb made their first contribution in https://github.com/stretchr/testify/pull/1349
- @LandonTClipp made their first contribution in https://github.com/stretchr/testify/pull/1346
- @alexandear made their first contribution in https://github.com/stretchr/testify/pull/1410
- @lesichkovm made their first contribution in https://github.com/stretchr/testify/pull/1320
- @dolmen made their first contribution in https://github.com/stretchr/testify/pull/1406
- @hikyaru-suzuki made their first contribution in https://github.com/stretchr/testify/pull/1360
- @ossan-dev made their first contribution in https://github.com/stretchr/testify/pull/1428
- @aud10slave made their first contribution in https://github.com/stretchr/testify/pull/631
- @tscales made their first contribution in https://github.com/stretchr/testify/pull/1464
- @czeslavo made their first contribution in https://github.com/stretchr/testify/pull/1395
- @hidu made their first contribution in https://github.com/stretchr/testify/pull/1484
- @zrbecker made their first contribution in https://github.com/stretchr/testify/pull/1473
- @kevinburkesegment made their first contribution in https://github.com/stretchr/testify/pull/1489
- @linusbarth made their first contribution in https://github.com/stretchr/testify/pull/1471
- @jedevc made their first contribution in https://github.com/stretchr/testify/pull/1306
- @craig65535 made their first contribution in https://github.com/stretchr/testify/pull/1435
- @arjunmahishi made their first contribution in https://github.com/stretchr/testify/pull/1531
- @ianrose14 made their first contribution in https://github.com/stretchr/testify/pull/1331
- @hendrywiranto made their first contribution in https://github.com/stretchr/testify/pull/1545
- @Lucaber made their first contribution in https://github.com/stretchr/testify/pull/1517
- @guettli made their first contribution in https://github.com/stretchr/testify/pull/1248
- @ccoVeille made their first contribution in https://github.com/stretchr/testify/pull/1247
- @hslatman made their first contribution in https://github.com/stretchr/testify/pull/1385
- @bogdandrutu made their first contribution in https://github.com/stretchr/testify/pull/1339
Full Changelog: https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.