Update module github.com/onsi/gomega to v1.32.0 #18
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.10.1->v1.32.0Release Notes
onsi/gomega (github.com/onsi/gomega)
v1.32.0Compare Source
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.
chore: test with Go 1.22 (#733) [
32ef35e]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.1Compare Source
1.31.1
Fixes
e0dd999]ad1a367]Maintenance
24e958d]26661b8]bde8f7a]v1.31.0Compare Source
1.31.0
Features
121c37f]Maintenance
dee1e3c]49005fe]f1c8757]9836e76]54726f0]df97ecc]HaveExactElementtypo (#712) [a672c86]v1.30.0Compare Source
1.30.0
Features
4da4c7f]Maintenance
6ca6e97]f1b8343]v1.29.0Compare Source
1.29.0
Features
2b39142]v1.28.1Compare Source
1.28.1
Maintenance
635d196]14f8859]d8a6508]2705bdb]375648c]v1.28.0Compare Source
1.28.0
Features
0b03b36]Fixes
18d6673]Maintenance
55a33f3]de68e8f]ab17f5e]5069017]babe25f]v1.27.10Compare Source
1.27.10
Fixes
bdc7803]v1.27.9Compare Source
v1.27.8Compare Source
1.27.8
Fixes
096f392]Maintenance
8884bee]v1.27.7Compare Source
1.27.7
Fixes
57054d5]Maintenance
05c1bc6]7cadcf6]b524839]5f44694]05dc99a]3a033d1]a19238f]29ed041]11b2080]v1.27.6Compare Source
1.27.6
Fixes
60e7cf3]Maintenance
67b869d]v1.27.5Compare Source
1.27.5
Maintenance
a215021]a26fed8]v1.27.4Compare Source
1.27.4
Fixes
854f075]Maintenance
ccebd9b]v1.27.3Compare Source
1.27.3
Fixes
86d97ef]636757e]Maintenance
cc16689]e783366]v1.27.2Compare Source
1.27.2
Fixes
28a319b]Maintenance
81443b3]v1.27.1Compare Source
1.27.1
Maintenance
bc686cd]v1.27.0Compare Source
1.27.0
Features
9d50783]be32774]Maintenance
296a68b]c2b098b]a9069ab]6bd25c8]5445f8b]03e93bb]63c7d21]d92f963]v1.26.0Compare Source
1.26.0
Features
21f3090]c530fb3]Fixes
e2eff1f]v1.25.0Compare Source
1.25.0
Features
MustPassRepeatedly(int)to asyncAssertion (#619) [4509f72]aaeaa5d]Maintenance
c7cfea4]71b8adb]9351dda]cd1dc1d]v1.24.2Compare Source
1.24.2
Fixes
78f1660]3187c1f]808d192]Maintenance
6ebc0bf]258cfc8]e6c3eb9]v1.24.1Compare Source
v1.24.0Compare Source
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
756eaa0]v1.23.0Compare Source
1.23.0
Features
Custom formatting on a per-type basis can be provided using
format.RegisterCustomFormatter()-- see the docs hereSubstantial improvement have been made to
StopTrying():StopTrying().Wrap(err)to wrap errors andStopTrying().Attach(description, object)to attach arbitrary objects to theStopTrying()errorStopTrying()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.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
afed901]7c691b3]ff22665]v1.22.1Compare Source
1.22.1
Fixes
e5105cf]bf3cba9]Maintenance
c5d5c39]v1.22.0Compare Source
1.22.0
Features
Several improvements have been made to
EventuallyandConsistentlyin this and the most recent releases:65c01bc]This enables integration with Ginkgo 2.3.0's interruptible nodes and node timeouts.
0d063c9]e2091c5]a2dc7c3]52976bb]These improvements are all documented in Gomega's docs
v1.21.1Compare Source
v1.21.1
Features
0d063c9]v1.21.0Compare Source
1.21.0
Features
65c01bc]This enables integration with Ginkgo 2.3.0's interruptible nodes and node timeouts.
f633800]fb586b3]Fixes
8c54344]119d4ce]ba548e2]Maintenance
12469a0]v1.20.2Compare Source
1.20.2
Fixes
35eeadf]5b78f40]061fd26]Maintenance
55d895b]346de7c]v1.20.1Compare Source
1.20.1
Fixes
cb46517]5f71ed2]9d1186f]8e37808]Maintenance
40d7efe]5f26371]v1.20.0Compare Source
Features
gleakexperimental goroutine leak detection package! (#538) [85ba7bc]BeComparableTomatcher(#546) that usesgocmpto make comparisons [e77ea75]HaveExistingFieldmatcher (#553) [fd130e1]56714a4]Fixes
8dab36e]Maintenance
f5a83b1]52f5adf]5f3942d]eb4b4c2]1c29028]1ce84d5]755485e]4fbb0dc]ac49202]1.19.0
Features
HaveEachmatcher to ensure that each and every element in anarray,slice, ormapsatisfies the passed in matcher. (#523) [9fc2ae2] (#524) [c8ba582]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
0917cde]49ab4b0]f1b4456]1c84497]4dea8d5]56d2a29]b607941]v1.19.0Compare Source
Features
HaveEachmatcher to ensure that each and every element in anarray,slice, ormapsatisfies the passed in matcher. (#523) [9fc2ae2] (#524) [c8ba582]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
0917cde]49ab4b0]f1b4456]1c84497]4dea8d5]56d2a29]b607941]v1.18.1Compare Source
79e41a3]v1.18.0Compare Source
Features
2570272]bdc087c]360db9d]Fixes
c29c1c0]Maintenace
72e6040]f383637]2b4b2c0]f58a52b]3f8160d]v1.17.0Compare Source
1.17.0
Features
3a26311]2f96943]18a4723]e001fab]bf93408]Fixes
Stop using deprecated ioutil package (#467) [
07f405d]v1.16.0Compare Source
Features
aa69f1b]dd83a96]504e1f2]e5b3157]v1.15.0Compare Source
1.15.0
Fixes
The previous version (1.14.0) introduced a change to allow
EventuallyandConsistentlyto support functions that make assertions. This was accomplished by overriding the global fail handler when running the callbacks passed toEventually/Consistentlyin order to capture any resulting errors. Issue #457 uncovered a flaw with this approach: when multipleEventuallys 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/Consistentlycall backs to explicitly pass in a function that takes aGomegaas an argument. The passed-inGomegainstance can be used to make assertions. Any failures will causeEventuallyto 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.0Compare Source
1.14.0
Features
e94dbca]2f04e6e]These assertions must pass or the function is considered to have failed and is retried.
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.
and halts execution in its passed-in callback.
Fixes
496e6fd]7356360]v1.13.0Compare Source
Set consistently and eventually defaults on init (#443)
Using environment variables
Closes #434
Signed-off-by: toby lorne toby@toby.codes
gmeasure provides BETA support for benchmarking (#447)
gmeasure is a new gomega subpackage intended to provide measurement and benchmarking support for durations and values. gmeasure replaces Ginkgo V1s deprecated Measure nodes and provides a migration path for users migrating to Ginkgo V2.
gmeasure is organized around an Experiment metaphor. Experiments can record several different Measurements, with each Measurement comprised of multiple data points. Measurements can hold time.Durations and float64 values and gmeasure includes support measuring the duraiton of callback functions and for sampling functions repeatedly to build an ensemble of data points. In addition, gmeasure introduces a Stopwatch abtraction for easily measuring and recording durations of code segments.
Once measured, users can readily generate Stats for Measurements to capture their key statistics and these stats can be ranked using a Ranking and associated RankingCriteria.
Experiments can be Cached to disk to speed up subsequent runs. Experiments are cached by name and version number which makes it easy to manage and bust the cache.
Finally, gmeasure integrates with Ginkgo V2 via the new ReportEntry abstraction. Experiments, Measurements, and Rankings can all be registered via AddReportEntry. Doing so generates colorful reports as part of Ginkgo's test output.
gmeasure is currently in beta and will go GA around when Ginkgo V2 goes GA.
v1.12.0Compare Source
Features
c548f31]3360b8c]cc80b6f]c3c0920]Fixes
09c074a]e5f6ea0]adae3bf]3275b35]v1.11.0Compare Source
Features
334e00d]47c613f]Fixes
3c60a15]b82522a]b75d2f2]f08e2dc]1fa9468]v1.10.5Compare Source
Fixes
6b4eb5a]073b880]7266efe]v1.10.4Compare Source
Fixes
817a8b9]0bae715]ea06b9b]v1.10.3Compare Source
Fixes
c479356]v1.10.2Compare Source
Fixes
990941a]Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.
This PR has been generated by Mend Renovate. View repository job log here.