proactive-node-scaling-operator
proactive-node-scaling-operator copied to clipboard
Update module github.com/onsi/gomega to v1.32.0
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| github.com/onsi/gomega | v1.13.0 -> v1.32.0 |
Release Notes
onsi/gomega (github.com/onsi/gomega)
v1.32.0
1.32.0
Maintenance
-
Migrate github.com/golang/protobuf to google.golang.org/protobuf [
436a197]This release drops the deprecated github.com/golang/protobuf and adopts google.golang.org/protobuf. Care was taken to ensure the release is backwards compatible (thanks @jbduncan !). Please open an issue if you run into one.
-
Bump golang.org/x/net from 0.19.0 to 0.20.0 (#717) [
a0d0387] -
Bump github-pages and jekyll-feed in /docs (#732) [
b71e477] -
docs: fix typo and broken anchor link to gstruct [
f460154] -
docs: fix HaveEach matcher signature [
a2862e4]
v1.31.1
1.31.1
Fixes
- Inverted arguments order of FailureMessage of BeComparableToMatcher [
e0dd999] - Update test in case keeping msg is desired [
ad1a367]
Maintenance
- Show how to import the format sub package [
24e958d] - tidy up go.sum [
26661b8] - bump dependencies [
bde8f7a]
v1.31.0
1.31.0
Features
- Async assertions include context cancellation cause if present [
121c37f]
Maintenance
- Bump minimum go version [
dee1e3c] - docs: fix typo in example usage "occured" -> "occurred" [
49005fe] - Bump actions/setup-go from 4 to 5 (#714) [
f1c8757] - Bump github/codeql-action from 2 to 3 (#715) [
9836e76] - Bump github.com/onsi/ginkgo/v2 from 2.13.0 to 2.13.2 (#713) [
54726f0] - Bump golang.org/x/net from 0.17.0 to 0.19.0 (#711) [
df97ecc] - docs: fix
HaveExactElementtypo (#712) [a672c86]
v1.30.0
1.30.0
Features
- BeTrueBecause and BeFalseBecause allow for better failure messages [
4da4c7f]
Maintenance
v1.29.0
1.29.0
Features
- MatchError can now take an optional func(error) bool + description [
2b39142]
v1.28.1
1.28.1
Maintenance
- Bump github.com/onsi/ginkgo/v2 from 2.12.0 to 2.13.0 [
635d196] - Bump github.com/google/go-cmp from 0.5.9 to 0.6.0 [
14f8859] - Bump golang.org/x/net from 0.14.0 to 0.17.0 [
d8a6508] - #703 doc(matchers): HaveEach() doc comment updated [
2705bdb] - Minor typos (#699) [
375648c]
v1.28.0
1.28.0
Features
Fixes
Maintenance
- Bump github.com/onsi/ginkgo/v2 from 2.11.0 to 2.12.0 (#693) [
55a33f3] - Typo in matchers.go (#691) [
de68e8f] - Bump commonmarker from 0.23.9 to 0.23.10 in /docs (#690) [
ab17f5e] - chore: update test matrix for Go 1.21 (#689) [
5069017] - Bump golang.org/x/net from 0.12.0 to 0.14.0 (#688) [
babe25f]
v1.27.10
1.27.10
Fixes
v1.27.9
v1.27.8
1.27.8
Fixes
- HaveExactElement should not call FailureMessage if a submatcher returned an error [
096f392]
Maintenance
v1.27.7
1.27.7
Fixes
Maintenance
- update gitignore [
05c1bc6] - Bump github.com/onsi/ginkgo/v2 from 2.9.4 to 2.9.5 (#663) [
7cadcf6] - Bump golang.org/x/net from 0.9.0 to 0.10.0 (#662) [
b524839] - Bump github.com/onsi/ginkgo/v2 from 2.9.2 to 2.9.4 (#661) [
5f44694] - Bump commonmarker from 0.23.8 to 0.23.9 in /docs (#657) [
05dc99a] - Bump nokogiri from 1.14.1 to 1.14.3 in /docs (#658) [
3a033d1] - Replace deprecated NewGomegaWithT with NewWithT (#659) [
a19238f] - Bump golang.org/x/net from 0.8.0 to 0.9.0 (#656) [
29ed041] - Bump actions/setup-go from 3 to 4 (#651) [
11b2080]
v1.27.6
1.27.6
Fixes
- Allow collections matchers to work correctly when expected has nil elements [
60e7cf3]
Maintenance
v1.27.5
1.27.5
Maintenance
- Bump github.com/onsi/ginkgo/v2 from 2.9.1 to 2.9.2 (#653) [
a215021] - Bump github.com/go-task/slim-sprig (#652) [
a26fed8]
v1.27.4
1.27.4
Fixes
- improve error formatting and remove duplication of error message in Eventually/Consistently [
854f075]
Maintenance
v1.27.3
1.27.3
Fixes
- format.Object now always includes err.Error() when passed an error [
86d97ef] - Fix HaveExactElements to work inside ContainElement or other collection matchers (#648) [
636757e]
Maintenance
- Bump github.com/golang/protobuf from 1.5.2 to 1.5.3 (#649) [
cc16689] - Bump github.com/onsi/ginkgo/v2 from 2.8.4 to 2.9.0 (#646) [
e783366]
v1.27.2
1.27.2
Fixes
- improve poll progress message when polling a consistently that has been passing [
28a319b]
Maintenance
- bump ginkgo
- remove tools.go hack as Ginkgo 2.8.2 automatically pulls in the cli dependencies [
81443b3]
v1.27.1
1.27.1
Maintenance
v1.27.0
1.27.0
Features
- Add HaveExactElements matcher (#634) [
9d50783] - update Gomega docs to discuss GinkgoHelper() [
be32774]
Maintenance
- Bump github.com/onsi/ginkgo/v2 from 2.8.0 to 2.8.1 (#639) [
296a68b] - Bump golang.org/x/net from 0.5.0 to 0.6.0 (#638) [
c2b098b] - Bump github-pages from 227 to 228 in /docs (#636) [
a9069ab] - test: update matrix for Go 1.20 (#635) [
6bd25c8] - Bump github.com/onsi/ginkgo/v2 from 2.7.0 to 2.8.0 (#631) [
5445f8b] - Bump webrick from 1.7.0 to 1.8.1 in /docs (#630) [
03e93bb] - codeql: add ruby language (#626) [
63c7d21] - dependabot: add bundler package-ecosystem for docs (#625) [
d92f963]
v1.26.0
1.26.0
Features
- When a polled function returns an error, keep track of the actual and report on the matcher state of the last non-errored actual [
21f3090] - improve eventually failure message output [
c530fb3]
Fixes
- fix several documentation spelling issues [
e2eff1f]
v1.25.0
1.25.0
Features
- add
MustPassRepeatedly(int)to asyncAssertion (#619) [4509f72] - compare unwrapped errors using DeepEqual (#617) [
aaeaa5d]
Maintenance
- Bump golang.org/x/net from 0.4.0 to 0.5.0 (#614) [
c7cfea4] - Bump github.com/onsi/ginkgo/v2 from 2.6.1 to 2.7.0 (#615) [
71b8adb] - Docs: Fix typo "MUltiple" -> "Multiple" (#616) [
9351dda] - clean up go.sum [
cd1dc1d]
v1.24.2
1.24.2
Fixes
- Correctly handle assertion failure panics for eventually/consistnetly "g Gomega"s in a goroutine [
78f1660] - docs:Fix typo "you an" -> "you can" (#607) [
3187c1f] - fixes issue #600 (#606) [
808d192]
Maintenance
- Bump golang.org/x/net from 0.2.0 to 0.4.0 (#611) [
6ebc0bf] - Bump nokogiri from 1.13.9 to 1.13.10 in /docs (#612) [
258cfc8] - Bump github.com/onsi/ginkgo/v2 from 2.5.0 to 2.5.1 (#609) [
e6c3eb9]
v1.24.1
v1.24.0
1.24.0
Features
Introducting gcustom - a convenient mechanism for building custom matchers.
This is an RC release for gcustom. The external API may be tweaked in response to feedback however it is expected to remain mostly stable.
Maintenance
- Update BeComparableTo documentation [
756eaa0]
v1.23.0
1.23.0
Features
-
Custom formatting on a per-type basis can be provided using
format.RegisterCustomFormatter()-- see the docs here -
Substantial improvement have been made to
StopTrying():- Users can now use
StopTrying().Wrap(err)to wrap errors andStopTrying().Attach(description, object)to attach arbitrary objects to theStopTrying()error StopTrying()is now always interpreted as a failure. If you are an early adopter ofStopTrying()you may need to change your code as the prior version would match against the returned value even ifStopTrying()was returned. Going forward theStopTrying()api should remain stable.StopTrying()andStopTrying().Now()can both be used in matchers - not just polled functions.
- Users can now use
-
TryAgainAfter(duration)is used likeStopTrying()but instructsEventuallyandConsistentlythat the poll should be tried again after the specified duration. This allows you to dynamically adjust the polling duration. -
ctxcan now be passed-in as the first argument toEventuallyandConsistently.
Maintenance
- Bump github.com/onsi/ginkgo/v2 from 2.3.0 to 2.3.1 (#597) [
afed901] - Bump nokogiri from 1.13.8 to 1.13.9 in /docs (#599) [
7c691b3] - Bump github.com/google/go-cmp from 0.5.8 to 0.5.9 (#587) [
ff22665]
v1.22.1
1.22.1
Fixes
- When passed a context and no explicit timeout, Eventually will only timeout when the context is cancelled [
e5105cf] - Allow StopTrying() to be wrapped [
bf3cba9]
Maintenance
- bump to ginkgo v2.3.0 [
c5d5c39]
v1.22.0
1.22.0
Features
Several improvements have been made to Eventually and Consistently in this and the most recent releases:
- Eventually and Consistently can take a context.Context [
65c01bc] This enables integration with Ginkgo 2.3.0's interruptible nodes and node timeouts. - Eventually and Consistently that are passed a SpecContext can provide reports when an interrupt occurs [
0d063c9] - Eventually/Consistently will forward an attached context to functions that ask for one [
e2091c5] - Eventually/Consistently supports passing arguments to functions via WithArguments() [
a2dc7c3] - Eventually and Consistently can now be stopped early with StopTrying(message) and StopTrying(message).Now() [
52976bb]
These improvements are all documented in Gomega's docs
v1.21.1
v1.21.1
Features
- Eventually and Consistently that are passed a SpecContext can provide reports when an interrupt occurs [
0d063c9]
v1.21.0
1.21.0
Features
- Eventually and Consistently can take a context.Context [
65c01bc] This enables integration with Ginkgo 2.3.0's interruptible nodes and node timeouts. - Introduces Eventually.Within.ProbeEvery with tests and documentation (#591) [
f633800] - New BeKeyOf matcher with documentation and unit tests (#590) [
fb586b3]
Fixes
- Cover the entire gmeasure suite with leak detection [
8c54344] - Fix gmeasure leak [
119d4ce] - Ignore new Ginkgo ProgressSignal goroutine in gleak [
ba548e2]
Maintenance
- Fixes crashes on newer Ruby 3 installations by upgrading github-pages gem dependency (#596) [
12469a0]
v1.20.2
1.20.2
Fixes
- label specs that rely on remote access; bump timeout on short-circuit test to make it less flaky [
35eeadf] - gexec: allow more headroom for SIGABRT-related unit tests (#581) [
5b78f40] - Enable reading from a closed gbytes.Buffer (#575) [
061fd26]
Maintenance
- Bump github.com/onsi/ginkgo/v2 from 2.1.5 to 2.1.6 (#583) [
55d895b] - Bump github.com/onsi/ginkgo/v2 from 2.1.4 to 2.1.5 (#582) [
346de7c]
v1.20.1
1.20.1
Fixes
- fix false positive gleaks when using ginkgo -p (#577) [
cb46517] - Fix typos in gomega_dsl.go (#569) [
5f71ed2] - don't panic on Eventually(nil), fixing #555 (#567) [
9d1186f] - vet optional description args in assertions, fixing #560 (#566) [
8e37808]
Maintenance
- test: add new Go 1.19 to test matrix (#571) [
40d7efe] - Bump tzinfo from 1.2.9 to 1.2.10 in /docs (#564) [
5f26371]
v1.20.0
Features
- New
gleakexperimental goroutine leak detection package! (#538) [85ba7bc] - New
BeComparableTomatcher(#546) that usesgocmpto make comparisons [e77ea75] - New
HaveExistingFieldmatcher (#553) [fd130e1] - Document how to wrap Gomega (#539) [
56714a4]
Fixes
Maintenance
- Bump various dependencies:
- Upgrade to yaml.v3 (#556) [
f5a83b1] - Bump github/codeql-action from 1 to 2 (#549) [
52f5adf] - Bump github.com/google/go-cmp from 0.5.7 to 0.5.8 (#551) [
5f3942d] - Bump nokogiri from 1.13.4 to 1.13.6 in /docs (#554) [
eb4b4c2] - Use latest ginkgo (#535) [
1c29028] - Bump nokogiri from 1.13.3 to 1.13.4 in /docs (#541) [
1ce84d5] - Bump actions/setup-go from 2 to 3 (#540) [
755485e] - Bump nokogiri from 1.12.5 to 1.13.3 in /docs (#522) [
4fbb0dc] - Bump actions/checkout from 2 to 3 (#526) [
ac49202]
- Upgrade to yaml.v3 (#556) [
1.19.0
Features
- New
HaveEachmatcher to ensure that each and every element in anarray,slice, ormapsatisfies the passed in matcher. (#523) [9fc2ae2] (#524) [c8ba582] - Users can now wrap the
Gomegainterface to implement custom behavior on each assertion. (#521) [1f2e714] ContainElementnow accepts an additional pointer argument. Elements that satisfy the matcher are stored in the pointer enabling developers to easily add subsequent, more detailed, assertions against the matching element. (#527) [1a4e27f]
Fixes
- update RELEASING instructions to match ginkgo [
0917cde] - Bump github.com/onsi/ginkgo/v2 from 2.0.0 to 2.1.3 (#519) [
49ab4b0] - Fix CVE-2021-38561 (#534) [
f1b4456] - Fix max number of samples in experiments on non-64-bit systems. (#528) [
1c84497] - Remove dependency on ginkgo v1.16.4 (#530) [
4dea8d5] - Fix for Go 1.18 (#532) [
56d2a29] - Document precendence of timeouts (#533) [
b607941]
v1.19.0
Features
- New
HaveEachmatcher to ensure that each and every element in anarray,slice, ormapsatisfies the passed in matcher. (#523) [9fc2ae2] (#524) [c8ba582] - Users can now wrap the
Gomegainterface to implement custom behavior on each assertion. (#521) [1f2e714] ContainElementnow accepts an additional pointer argument. Elements that satisfy the matcher are stored in the pointer enabling developers to easily add subsequent, more detailed, assertions against the matching element. (#527) [1a4e27f]
Fixes
- update RELEASING instructions to match ginkgo [
0917cde] - Bump github.com/onsi/ginkgo/v2 from 2.0.0 to 2.1.3 (#519) [
49ab4b0] - Fix CVE-2021-38561 (#534) [
f1b4456] - Fix max number of samples in experiments on non-64-bit systems. (#528) [
1c84497] - Remove dependency on ginkgo v1.16.4 (#530) [
4dea8d5] - Fix for Go 1.18 (#532) [
56d2a29] - Document precendence of timeouts (#533) [
b607941]
v1.18.1
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 and Consistently to support functions that make assertions. This was accomplished by overriding the global fail handler when running the callbacks passed to Eventually/Consistently in order to capture any resulting errors. Issue #457 uncovered a flaw with this approach: when multiple Eventuallys 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 a Gomega as an argument. The passed-in Gomega instance can be used to make assertions. Any failures will cause Eventually 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.
v1.14.0
1.14.0
Features
- gmeasure.SamplingConfig now suppers a MinSamplingInterval [
e94dbca] - Eventually and Consistently support functions that make assertions [
2f04e6e]- Eventually and Consistently now allow their passed-in functions to make assertions. These assertions must pass or the function is considered to have failed and is retried.
- Eventually and Consistently can now take functions with no return values. These implicitly return nil if they contain no failed assertion. Otherwise they return an error wrapping the first assertion failure. This allows these functions to be used with the Succeed() matcher.
- Introduce InterceptGomegaFailure - an analogue to InterceptGomegaFailures - that captures the first assertion failure and halts execution in its passed-in callback.
Fixes
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.