You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're adopting a new release strategy to minimize dependency bloat in projects that consume Gomega. It is a limitation of the go mod toolchain that test subdependencies of your project's direct dependencies get pulled in as indirect dependencies. In the case of Gomega, this ends up pulling in all of Ginkgo into your go.mod even if you are only using Gomega (Gomega uses Ginkgo for its own tests).
Going forward, releases will strip out all tests, tidy up the go.mod and then push this stripped down version to a new master-lite branch. These stripped-down versions will receive the vx.y.z git tag and will be picked up by the go toolchain.
Please open an issue if this new release process causes unexpected changes for your projects.
Update all dependencies. This auto-updated the required version of Go to 1.24, consistent with the fact that Go 1.23 has been out of support for almost six months.
You can now call EnforceDefaultTimeoutsWhenUsingContexts() to have Eventually honor the default timeout when passed a context. (prior to this you had to expclility add a timeout) [e4c4265]
You can call StopTrying(message).Successfully() to abort a Consistently early without failure [eeca931]
Fixes
Stop memoizing the result of HaveField to avoid unexpected errors when used with async assertions. [3bdbc4e]
Receive not accepts Receive(<POINTER>, MATCHER>), allowing you to pick out a specific value on the channel that satisfies the provided matcher and is stored in the provided pointer.
Maintenance
Bump github.com/onsi/ginkgo/v2 from 2.15.0 to 2.17.1 (#745) [9999deb]
Bump github-pages from 229 to 230 in /docs (#735) [cb5ff21]
Bump golang.org/x/net from 0.20.0 to 0.23.0 (#746) [bac6596]
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.
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 and StopTrying().Attach(description, object) to attach arbitrary objects to the StopTrying() error
StopTrying() is now always interpreted as a failure. If you are an early adopter of StopTrying() you may need to change your code as the prior version would match against the returned value even if StopTrying() was returned. Going forward the StopTrying() api should remain stable.
StopTrying() and StopTrying().Now() can both be used in matchers - not just polled functions.
TryAgainAfter(duration) is used like StopTrying() but instructs Eventually and Consistently that the poll should be tried again after the specified duration. This allows you to dynamically adjust the polling duration.
ctx can now be passed-in as the first argument to Eventually and Consistently.
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]
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]
1.19.0
Features
New HaveEach matcher to ensure that each and every element in an array, slice, or map satisfies the passed in matcher. (#523) [9fc2ae2] (#524) [c8ba582]
Users can now wrap the Gomega interface to implement custom behavior on each assertion. (#521) [1f2e714]
ContainElement now 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]
New HaveEach matcher to ensure that each and every element in an array, slice, or map satisfies the passed in matcher. (#523) [9fc2ae2] (#524) [c8ba582]
Users can now wrap the Gomega interface to implement custom behavior on each assertion. (#521) [1f2e714]
ContainElement now 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]
renovateBot
changed the title
fix(deps): update module github.com/onsi/gomega to v1.30.0
fix(deps): update module github.com/onsi/gomega to v1.31.0
Jan 18, 2024
renovateBot
changed the title
fix(deps): update module github.com/onsi/gomega to v1.31.0
fix(deps): update module github.com/onsi/gomega to v1.31.1
Jan 19, 2024
renovateBot
changed the title
fix(deps): update module github.com/onsi/gomega to v1.31.1
fix(deps): update module github.com/onsi/gomega to v1.32.0
Mar 18, 2024
renovateBot
changed the title
fix(deps): update module github.com/onsi/gomega to v1.32.0
fix(deps): update module github.com/onsi/gomega to v1.36.2
Mar 17, 2025
renovateBot
changed the title
fix(deps): update module github.com/onsi/gomega to v1.36.2
fix(deps): update module github.com/onsi/gomega to v1.36.3
Mar 21, 2025
renovateBot
changed the title
fix(deps): update module github.com/onsi/gomega to v1.36.3
fix(deps): update module github.com/onsi/gomega to v1.37.0
Apr 2, 2025
renovateBot
changed the title
fix(deps): update module github.com/onsi/gomega to v1.37.0
fix(deps): update module github.com/onsi/gomega to v1.38.0
Jul 22, 2025
renovateBot
changed the title
fix(deps): update module github.com/onsi/gomega to v1.38.0
fix(deps): update module github.com/onsi/gomega to v1.38.1
Aug 22, 2025
renovateBot
changed the title
fix(deps): update module github.com/onsi/gomega to v1.38.1
fix(deps): update module github.com/onsi/gomega to v1.38.2
Aug 26, 2025
renovateBot
changed the title
fix(deps): update module github.com/onsi/gomega to v1.38.2
fix(deps): update module github.com/onsi/gomega to v1.38.2 - autoclosed
Dec 1, 2025
renovateBot
changed the title
fix(deps): update module github.com/onsi/gomega to v1.38.2 - autoclosed
fix(deps): update module github.com/onsi/gomega to v1.38.2
Dec 8, 2025
renovateBot
changed the title
fix(deps): update module github.com/onsi/gomega to v1.38.2
fix(deps): update module github.com/onsi/gomega to v1.38.3
Dec 8, 2025
renovateBot
changed the title
fix(deps): update module github.com/onsi/gomega to v1.38.3
fix(deps): update module github.com/onsi/gomega to v1.39.0
Jan 8, 2026
renovateBot
changed the title
fix(deps): update module github.com/onsi/gomega to v1.39.0
fix(deps): update module github.com/onsi/gomega to v1.39.1
Jan 30, 2026
renovateBot
changed the title
fix(deps): update module github.com/onsi/gomega to v1.39.1
fix(deps): update module github.com/onsi/gomega to v1.39.1 - autoclosed
Feb 28, 2026
renovateBot
changed the title
fix(deps): update module github.com/onsi/gomega to v1.39.1 - autoclosed
fix(deps): update module github.com/onsi/gomega to v1.39.1
Mar 2, 2026
renovateBot
changed the title
Update module github.com/onsi/gomega to v1.41.0
Update module github.com/onsi/gomega to v1.42.0
Jun 14, 2026
renovateBot
changed the title
Update module github.com/onsi/gomega to v1.42.0
Update module github.com/onsi/gomega to v1.42.0 - autoclosed
Jun 16, 2026
renovateBot
changed the title
Update module github.com/onsi/gomega to v1.42.0 - autoclosed
Update module github.com/onsi/gomega to v1.42.0
Jun 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.18.1→v1.42.1Release Notes
onsi/gomega (github.com/onsi/gomega)
v1.42.1Compare Source
1.42.1
Bump Dependencies
v1.42.0Compare Source
1.42.0
Add a set of Claude skill as a marketplace plugin
v1.41.0Compare Source
v1.40.0Compare Source
1.40.0
We're adopting a new release strategy to minimize dependency bloat in projects that consume Gomega. It is a limitation of the go mod toolchain that test subdependencies of your project's direct dependencies get pulled in as indirect dependencies. In the case of Gomega, this ends up pulling in all of Ginkgo into your
go.modeven if you are only using Gomega (Gomega uses Ginkgo for its own tests).Going forward, releases will strip out all tests, tidy up the
go.modand then push this stripped down version to a newmaster-litebranch. These stripped-down versions will receive thevx.y.zgit tag and will be picked up by the go toolchain.Please open an issue if this new release process causes unexpected changes for your projects.
v1.39.1Compare Source
1.39.1
Update all dependencies. This auto-updated the required version of Go to 1.24, consistent with the fact that Go 1.23 has been out of support for almost six months.
v1.39.0Compare Source
1.39.0
Features
Add
MatchErrorStrictlywhich only passes iferrors.Is(actual, expected)returns true.MatchError, by contrast, will fallback to string comparison.v1.38.3Compare Source
1.38.3
Fixes
make string formatitng more consistent for users who use format.Object directly
v1.38.2Compare Source
1.38.2
c404969]v1.38.1Compare Source
1.38.1
Fixes
Numerous minor fixes and dependency bumps
v1.38.0Compare Source
1.38.0
Features
4ee7ed0]Fixes
36bbf72]Maintenance
529d408]acd1f55]bae65a0]8dda91f]212d812]59bd7f9]328c729]9a798a1]04a72c6]v1.37.0Compare Source
1.37.0
Features
5666f98]v1.36.3Compare Source
1.36.3
Maintenance
adb8b49]interface{}withany[7613216]9fe5259]a0e85b9]604a8b1]36fbc84]ced70d7]c8b4a07]06431b9]b55a92d]a1d518b]v1.36.2Compare Source
Maintenance
v1.36.1Compare Source
1.36.1
Fixes
1c6c112]4feb9d7]v1.36.0Compare Source
1.36.0
Features
4c964c6]Maintenance
ece6872]8e924d7]v1.35.1Compare Source
1.35.1
Fixes
ca36da1]v1.35.0Compare Source
1.35.0
Features
EnforceDefaultTimeoutsWhenUsingContexts()to haveEventuallyhonor the default timeout when passed a context. (prior to this you had to expclility add a timeout) [e4c4265]StopTrying(message).Successfully()to abort aConsistentlyearly without failure [eeca931]Fixes
HaveFieldto avoid unexpected errors when used with async assertions. [3bdbc4e]Maintenance
a05a416]v1.34.2Compare Source
1.34.2
Require Go 1.22+
Maintenance
c59c6dc]8158b99]v1.34.1Compare Source
1.34.1
Maintenance
5e71dcd]v1.34.0Compare Source
1.34.0
Features
c549e0d]Fixes
878940c]ebadb67]Maintenance
8af2ece]123a071]0e69083]2675796]4160c0f]892c303]v1.33.1Compare Source
1.33.1
Fixes
3a66379]Maintenance
e9bc35a]v1.33.0Compare Source
1.33.0
Features
Receivenot acceptsReceive(<POINTER>, MATCHER>), allowing you to pick out a specific value on the channel that satisfies the provided matcher and is stored in the provided pointer.Maintenance
9999deb]cb5ff21]bac6596]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
1.27.9
Fixes
3b31fc3]Maintenance
360849b]86f3659]642ead0]ceb9ca6]a2087d8]fc9a89f]9076019]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]Configuration
📅 Schedule: (UTC)
* 0-3 * * 1)🚦 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 was generated by Mend Renovate. View the repository job log.