Closed renovate[bot] closed 7 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 85.05%. Comparing base (
a527599
) to head (db6b79d
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR contains the following updates:
v1.13.0
->v1.14.0
Release Notes
maxatome/go-testdeep (github.com/maxatome/go-testdeep)
### [`v1.14.0`](https://togithub.com/maxatome/go-testdeep/releases/tag/v1.14.0) [Compare Source](https://togithub.com/maxatome/go-testdeep/compare/v1.13.0...v1.14.0) #### Features - [`ErrorIs`][ErrorIs] becomes a [smuggler operator](https://go-testdeep.zetta.rocks/operators/#smuggler-operators) using [`errors.As`](https://pkg.go.dev/errors#As) behind the scene; - [`Struct`][Struct] and [`SStruct`][SStruct] introduce lazy-model feature, i.e. the model is guessed at run-time. #### Fixes - in error reports, the origin operator was sometimes missing and sometimes wrong when using [`JSON`][JSON], [`SubJSONOf`][SubJSONOf] and [`SuperJSONOf`][SuperJSONOf] operators; - fix [`JSON`][JSON], [`SubJSONOf`][SubJSONOf] and [`SuperJSONOf`][SuperJSONOf] panic when using a bad placeholder several times in the same operator. [`ErrorIs`]: https://go-testdeep.zetta.rocks/operators/erroris/ [`JSON`]: https://go-testdeep.zetta.rocks/operators/json/ [`SStruct`]: https://go-testdeep.zetta.rocks/operators/sstruct/ [`Struct`]: https://go-testdeep.zetta.rocks/operators/struct/ [`SubJSONOf`]: https://go-testdeep.zetta.rocks/operators/subjsonof/ [`SuperJSONOf`]: https://go-testdeep.zetta.rocks/operators/superjsonof/ #### What's Changed in details - test: fix empty GOPROXY when testing with tip by [@maxatome](https://togithub.com/maxatome) in [https://github.com/maxatome/go-testdeep/pull/240](https://togithub.com/maxatome/go-testdeep/pull/240) - fix(JSON): errors with wrong origin operator by [@maxatome](https://togithub.com/maxatome) in [https://github.com/maxatome/go-testdeep/pull/239](https://togithub.com/maxatome/go-testdeep/pull/239) - ci: add workflow_dispatch as event trigger by [@maxatome](https://togithub.com/maxatome) in [https://github.com/maxatome/go-testdeep/pull/241](https://togithub.com/maxatome/go-testdeep/pull/241) - feat(ErrorIs): becomes a smuggler operator with errors.As feature by [@maxatome](https://togithub.com/maxatome) in [https://github.com/maxatome/go-testdeep/pull/242](https://togithub.com/maxatome/go-testdeep/pull/242) - refactor: make golangci-lint v1.52.2 happy by [@maxatome](https://togithub.com/maxatome) in [https://github.com/maxatome/go-testdeep/pull/243](https://togithub.com/maxatome/go-testdeep/pull/243) - ci: switch to install-go v3.4 by [@maxatome](https://togithub.com/maxatome) in [https://github.com/maxatome/go-testdeep/pull/244](https://togithub.com/maxatome/go-testdeep/pull/244) - Minor fixes by [@maxatome](https://togithub.com/maxatome) in [https://github.com/maxatome/go-testdeep/pull/246](https://togithub.com/maxatome/go-testdeep/pull/246) - feat(Struct): introduce lazy-Struct & lazy-SStruct by [@maxatome](https://togithub.com/maxatome) in [https://github.com/maxatome/go-testdeep/pull/247](https://togithub.com/maxatome/go-testdeep/pull/247) - test: use go 1.21 & golangci-lint 1.54.1 in CI by [@maxatome](https://togithub.com/maxatome) in [https://github.com/maxatome/go-testdeep/pull/248](https://togithub.com/maxatome/go-testdeep/pull/248) - Correct spelling least by [@aktasfatih](https://togithub.com/aktasfatih) in [https://github.com/maxatome/go-testdeep/pull/249](https://togithub.com/maxatome/go-testdeep/pull/249) - docs: clarify panic(nil) case since go 1.21 introduced a change by [@maxatome](https://togithub.com/maxatome) in [https://github.com/maxatome/go-testdeep/pull/250](https://togithub.com/maxatome/go-testdeep/pull/250) - Fix json panic by [@maxatome](https://togithub.com/maxatome) in [https://github.com/maxatome/go-testdeep/pull/251](https://togithub.com/maxatome/go-testdeep/pull/251) - fix(tdsuite): verbose tests raised an error by [@maxatome](https://togithub.com/maxatome) in [https://github.com/maxatome/go-testdeep/pull/253](https://togithub.com/maxatome/go-testdeep/pull/253) #### New Contributors - [@aktasfatih](https://togithub.com/aktasfatih) made their first contribution in [https://github.com/maxatome/go-testdeep/pull/249](https://togithub.com/maxatome/go-testdeep/pull/249) **Full Changelog**: https://github.com/maxatome/go-testdeep/compare/v1.13.0...v1.14.0Configuration
📅 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.