Bump github.com/onsi/gomega from 1.14.0 to 1.18.0
Created by: dependabot[bot]
Bumps github.com/onsi/gomega from 1.14.0 to 1.18.0.
Release notes
Sourced from github.com/onsi/gomega's releases.
v1.18.0
Features
- Docs now live on the master branch in the docs folder which will make for easier PRs. The docs also use Ginkgo 2.0's new docs html/css/js. [2570272]
- New HaveValue matcher can handle actuals that are either values (in which case they are passed on unscathed) or pointers (in which case they are indirected). Docs here. (#485) [bdc087c]
- Gmeasure has been declared GA [360db9d]
Fixes
- Gomega now uses ioutil for Go 1.15 and lower (#492) - official support is only for the most recent two major versions of Go but this will unblock users who need to stay on older unsupported versions of Go. [c29c1c0]
Maintenace
- Remove Travis workflow (#491) [72e6040]
- Upgrade to Ginkgo 2.0.0 GA [f383637]
- chore: fix description of HaveField matcher (#487) [2b4b2c0]
- use tools.go to ensure Ginkgo cli dependencies are included [f58a52b]
- remove dockerfile and simplify github actions to match ginkgo's actions [3f8160d]
v1.17.0
1.17.0
Features
- Add HaveField matcher [3a26311]
- add Error() assertions on the final error value of multi-return values (#480) [2f96943]
- separate out offsets and timeouts (#478) [18a4723]
- fix transformation error reporting (#479) [e001fab]
- allow transform functions to report errors (#472) [bf93408]
Fixes
Stop using deprecated ioutil package (#467) [07f405d]
v1.16.0
Features
- feat: HaveHTTPStatus multiple expected values (#465) [aa69f1b]
- feat: HaveHTTPHeaderWithValue() matcher (#463) [dd83a96]
- feat: HaveHTTPBody matcher (#462) [504e1f2]
- feat: formatter for HTTP responses (#461) [e5b3157]
v1.15.0
1.15.0
Fixes
The previous version (1.14.0) introduced a change to allow
Eventually
andConsistently
to support functions that make assertions. This was accomplished by overriding the global fail handler when running the callbacks passed toEventually/Consistently
in order to capture any resulting errors. Issue #457 uncovered a flaw with this approach: when multipleEventually
s are running concurrently they race when overriding the singleton global fail handler.1.15.0 resolves this by requiring users who want to make assertions in
Eventually/Consistently
call backs to explicitly pass in a function that takes aGomega
as an argument. The passed-inGomega
instance can be used to make assertions. Any failures will causeEventually
to retry the callback. This cleaner interface avoids the issue of swapping out globals but comes at the cost of changing the contract introduced in v1.14.0. As such 1.15.0 introduces a breaking change with respect to 1.14.0 - however we expect that adoption of this feature in 1.14.0 remains limited.In addition, 1.15.0 cleans up some of Gomega's internals. Most users shouldn't notice any differences stemming from the refactoring that was made.
Changelog
Sourced from github.com/onsi/gomega's changelog.
1.18.0
Features
- Docs now live on the master branch in the docs folder which will make for easier PRs. The docs also use Ginkgo 2.0's new docs html/css/js. [2570272]
- New HaveValue matcher can handle actuals that are either values (in which case they are passed on unscathed) or pointers (in which case they are indirected). Docs here. (#485) [bdc087c]
- Gmeasure has been declared GA [360db9d]
Fixes
- Gomega now uses ioutil for Go 1.15 and lower (#492) - official support is only for the most recent two major versions of Go but this will unblock users who need to stay on older unsupported versions of Go. [c29c1c0]
Maintenace
- Remove Travis workflow (#491) [72e6040]
- Upgrade to Ginkgo 2.0.0 GA [f383637]
- chore: fix description of HaveField matcher (#487) [2b4b2c0]
- use tools.go to ensure Ginkgo cli dependencies are included [f58a52b]
- remove dockerfile and simplify github actions to match ginkgo's actions [3f8160d]
1.17.0
Features
- Add HaveField matcher [3a26311]
- add Error() assertions on the final error value of multi-return values (#480) [2f96943]
- separate out offsets and timeouts (#478) [18a4723]
- fix transformation error reporting (#479) [e001fab]
- allow transform functions to report errors (#472) [bf93408]
Fixes
Stop using deprecated ioutil package (#467) [07f405d]
1.16.0
Features
- feat: HaveHTTPStatus multiple expected values (#465) [aa69f1b]
- feat: HaveHTTPHeaderWithValue() matcher (#463) [dd83a96]
- feat: HaveHTTPBody matcher (#462) [504e1f2]
- feat: formatter for HTTP responses (#461) [e5b3157]
1.15.0
Fixes
The previous version (1.14.0) introduced a change to allow
Eventually
andConsistently
to support functions that make assertions. This was accomplished by overriding the global fail handler when running the callbacks passed toEventually/Consistently
in order to capture any resulting errors. Issue #457 uncovered a flaw with this approach: when multipleEventually
s are running concurrently they race when overriding the singleton global fail handler.1.15.0 resolves this by requiring users who want to make assertions in
Eventually/Consistently
call backs to explicitly pass in a function that takes aGomega
as an argument. The passed-inGomega
instance can be used to make assertions. Any failures will causeEventually
to retry the callback. This cleaner interface avoids the issue of swapping out globals but comes at the cost of changing the contract introduced in v1.14.0. As such 1.15.0 introduces a breaking change with respect to 1.14.0 - however we expect that adoption of this feature in 1.14.0 remains limited.In addition, 1.15.0 cleans up some of Gomega's internals. Most users shouldn't notice any differences stemming from the refactoring that was made.
Commits
-
8e0d16d
v1.18.0 -
2570272
Migrate docs to docs folder and use Ginkgo 2.0s new doc styling/structure -
c29c1c0
fix: use ioutil for Go 1.15 and lower (#492) -
72e6040
Remove Travis workflow (#491) -
f383637
Upgrade to Ginkgo 2.0.0 GA -
99c5e49
upgrade Ginkgo to rc3 -
187eff0
remove non-test dependency on Ginkgo -
7e687ad
export HaveValue matcher in Gomega DSL (#489) -
bdc087c
Add HaveValue matcher (#485) -
2b4b2c0
chore: fix description of HaveField matcher (#487) - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)