fix(deps): update module github.com/stretchr/testify to v1.10.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
github.com/stretchr/testify | require | minor |
v1.8.1 -> v1.10.0
|
Release Notes
stretchr/testify
v1.10.0
What's Changed
Functional Changes
- Add PanicAssertionFunc by @fahimbagar in https://github.com/stretchr/testify/pull/1337
- assert: deprecate CompareType by @dolmen in https://github.com/stretchr/testify/pull/1566
- assert: make YAML dependency pluggable via build tags by @dolmen in https://github.com/stretchr/testify/pull/1579
- assert: new assertion NotElementsMatch by @hendrywiranto in https://github.com/stretchr/testify/pull/1600
- mock: in order mock calls by @ReyOrtiz in https://github.com/stretchr/testify/pull/1637
- Add assertion for NotErrorAs by @palsivertsen in https://github.com/stretchr/testify/pull/1129
- Record Return Arguments of a Call by @jayd3e in https://github.com/stretchr/testify/pull/1636
- assert.EqualExportedValues: accepts everything by @redachl in https://github.com/stretchr/testify/pull/1586
Fixes
- assert: make tHelper a type alias by @dolmen in https://github.com/stretchr/testify/pull/1562
- Do not get argument again unnecessarily in Arguments.Error() by @TomWright in https://github.com/stretchr/testify/pull/820
- Fix time.Time compare by @myxo in https://github.com/stretchr/testify/pull/1582
- assert.Regexp: handle []byte array properly by @kevinburkesegment in https://github.com/stretchr/testify/pull/1587
- assert: collect.FailNow() should not panic by @marshall-lee in https://github.com/stretchr/testify/pull/1481
- mock: simplify implementation of FunctionalOptions by @dolmen in https://github.com/stretchr/testify/pull/1571
- mock: caller information for unexpected method call by @spirin in https://github.com/stretchr/testify/pull/1644
- suite: fix test failures by @stevenh in https://github.com/stretchr/testify/pull/1421
- Fix issue #1662 (comparing infs should fail) by @ybrustin in https://github.com/stretchr/testify/pull/1663
- NotSame should fail if args are not pointers #1661 by @sikehish in https://github.com/stretchr/testify/pull/1664
- Increase timeouts in Test_Mock_Called_blocks to reduce flakiness in CI by @sikehish in https://github.com/stretchr/testify/pull/1667
- fix: compare functional option names for indirect calls by @arjun-1 in https://github.com/stretchr/testify/pull/1626
Documantation, Build & CI
- .gitignore: ignore "go test -c" binaries by @dolmen in https://github.com/stretchr/testify/pull/1565
- mock: improve doc by @dolmen in https://github.com/stretchr/testify/pull/1570
- mock: fix FunctionalOptions docs by @snirye in https://github.com/stretchr/testify/pull/1433
- README: link out to the excellent testifylint by @brackendawson in https://github.com/stretchr/testify/pull/1568
- assert: fix typo in comment by @JohnEndson in https://github.com/stretchr/testify/pull/1580
- Correct the EventuallyWithT and EventuallyWithTf example by @JonCrowther in https://github.com/stretchr/testify/pull/1588
- CI: bump softprops/action-gh-release from 1 to 2 by @dependabot in https://github.com/stretchr/testify/pull/1575
- mock: document more alternatives to deprecated AnythingOfTypeArgument by @dolmen in https://github.com/stretchr/testify/pull/1569
- assert: Correctly document EqualValues behavior by @brackendawson in https://github.com/stretchr/testify/pull/1593
- fix: grammar in godoc by @miparnisari in https://github.com/stretchr/testify/pull/1607
- .github/workflows: Run tests for Go 1.22 by @HaraldNordgren in https://github.com/stretchr/testify/pull/1629
- Document suite's lack of support for t.Parallel by @brackendawson in https://github.com/stretchr/testify/pull/1645
- assert: fix typos in comments by @alexandear in https://github.com/stretchr/testify/pull/1650
- mock: fix doc comment for NotBefore by @alexandear in https://github.com/stretchr/testify/pull/1651
- Generate better comments for require package by @Neokil in https://github.com/stretchr/testify/pull/1610
- README: replace Testify V2 notice with @dolmen's V2 manifesto by @hendrywiranto in https://github.com/stretchr/testify/pull/1518
New Contributors
- @fahimbagar made their first contribution in https://github.com/stretchr/testify/pull/1337
- @TomWright made their first contribution in https://github.com/stretchr/testify/pull/820
- @snirye made their first contribution in https://github.com/stretchr/testify/pull/1433
- @myxo made their first contribution in https://github.com/stretchr/testify/pull/1582
- @JohnEndson made their first contribution in https://github.com/stretchr/testify/pull/1580
- @JonCrowther made their first contribution in https://github.com/stretchr/testify/pull/1588
- @miparnisari made their first contribution in https://github.com/stretchr/testify/pull/1607
- @marshall-lee made their first contribution in https://github.com/stretchr/testify/pull/1481
- @spirin made their first contribution in https://github.com/stretchr/testify/pull/1644
- @ReyOrtiz made their first contribution in https://github.com/stretchr/testify/pull/1637
- @stevenh made their first contribution in https://github.com/stretchr/testify/pull/1421
- @jayd3e made their first contribution in https://github.com/stretchr/testify/pull/1636
- @Neokil made their first contribution in https://github.com/stretchr/testify/pull/1610
- @redachl made their first contribution in https://github.com/stretchr/testify/pull/1586
- @ybrustin made their first contribution in https://github.com/stretchr/testify/pull/1663
- @sikehish made their first contribution in https://github.com/stretchr/testify/pull/1664
- @arjun-1 made their first contribution in https://github.com/stretchr/testify/pull/1626
Full Changelog: https://github.com/stretchr/testify/compare/v1.9.0...v1.10.0
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
v1.8.4
What's Changed
- Create GitHub release when new release tag is pushed by @aldas in https://github.com/stretchr/testify/pull/1354
New Contributors
- @aldas made their first contribution in https://github.com/stretchr/testify/pull/1354
Full Changelog: https://github.com/stretchr/testify/compare/v1.8.3...v1.8.4
v1.8.3
What's Changed
- Compare public elements of struct by @mchlp in https://github.com/stretchr/testify/pull/1309
- assert: fix error message formatting for NotContains by @wwade in https://github.com/stretchr/testify/pull/1362
- allow testing for functional options by @nbaztec in https://github.com/stretchr/testify/pull/1023
- add EventuallyWithT assertion by @tobikris in https://github.com/stretchr/testify/pull/1264
- EqualExportedValues: Handle nested pointer, slice and map fields by @HaraldNordgren in https://github.com/stretchr/testify/pull/1379
New Contributors
- @mchlp made their first contribution in https://github.com/stretchr/testify/pull/1309
- @wwade made their first contribution in https://github.com/stretchr/testify/pull/1362
- @nbaztec made their first contribution in https://github.com/stretchr/testify/pull/1023
- @tobikris made their first contribution in https://github.com/stretchr/testify/pull/1264
Full Changelog: https://github.com/stretchr/testify/compare/v1.8.2...v1.8.3
v1.8.2
What's Changed
- Add opportunity to trigger setup/teardown for subtest by @qerdcv in https://github.com/stretchr/testify/pull/1246
- fix: fix bug for check unsafe.Pointer isNil by @sunpe in https://github.com/stretchr/testify/pull/1319
- Fix Call.Unset() panic (issue #1236) by @lisitsky in https://github.com/stretchr/testify/pull/1250
- Fix
CallerInfo()
source file paths by @bozaro in https://github.com/stretchr/testify/pull/1288 - assert: Fix Subset/NotSubset when map is missing keys from the subset by @danielwhite in https://github.com/stretchr/testify/pull/1261
New Contributors
- @qerdcv made their first contribution in https://github.com/stretchr/testify/pull/1246
- @sunpe made their first contribution in https://github.com/stretchr/testify/pull/1319
- @lisitsky made their first contribution in https://github.com/stretchr/testify/pull/1250
- @bozaro made their first contribution in https://github.com/stretchr/testify/pull/1288
- @danielwhite made their first contribution in https://github.com/stretchr/testify/pull/1261
Full Changelog: https://github.com/stretchr/testify/compare/v1.8.1...v1.8.2
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.