Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jul 17, 2024

This PR contains the following updates:

Package Change Age Confidence
github.com/onsi/ginkgo/v2 v2.19.0 -> v2.27.2 age confidence
github.com/onsi/gomega v1.33.1 -> v1.38.2 age confidence

Release Notes

onsi/ginkgo (github.com/onsi/ginkgo/v2)

v2.27.2

Compare Source

2.27.2

Fixes
  • inline automaxprocs to simplify dependencies; this will be removed when Go 1.26 comes out [a69113a]
Maintenance
  • Fix syntax errors and typo [a99c6e0]
  • Fix paragraph position error [f993df5]

v2.27.1

Compare Source

2.27.1

Fixes
  • Fix Ginkgo Reporter slice-bounds panic [606c1cb]
  • Bug Fix: Add GinkoTBWrapper.Attr() and GinkoTBWrapper.Output() [a6463b3]

v2.27.0

Compare Source

2.27.0

Features
Transforming Nodes during Tree Construction

This release adds support for NodeArgsTransformers that can be registered with AddTreeConstructionNodeArgsTransformer.

These are called during the tree construction phase as nodes are constructed and can modify the node strings and decorators. This enables frameworks built on top of Ginkgo to modify Ginkgo nodes and enforce conventions.

Learn more here.

Spec Prioritization

A new SpecPriority(int) decorator has been added. Ginkgo will honor priority when ordering specs, ensuring that higher priority specs start running before lower priority specs

Learn more here.

Maintenance

v2.26.0

Compare Source

2.26.0

Features

Ginkgo can now generate json-formatted reports that are compatible with the go test json format. Use ginkgo --gojson-report=report.go.json. This is not intended to be a replacement for Ginkgo's native json format which is more information rich and better models Ginkgo's test structure semantics.

v2.25.3

Compare Source

2.25.3

Fixes
  • emit --github-output group only for progress report itself [f01aed1]

v2.25.2

Compare Source

2.25.2

Fixes

Add github output group for progress report content

Maintenance

Bump Gomega

v2.25.1

Compare Source

2.25.1

Fixes
  • fix(types): ignore nameless nodes on FullText() [10866d3]
  • chore: fix some CodeQL warnings [2e42cff]

v2.25.0

Compare Source

2.25.0

AroundNode

This release introduces a new decorator to support more complex spec setup usecases.

AroundNode registers a function that runs before each individual node. This is considered a more advanced decorator.

Please read the docs for more information and some examples.

Allowed signatures:

  • AroundNode(func()) - func will be called before the node is run.
  • AroundNode(func(ctx context.Context) context.Context) - func can wrap the passed in context and return a new one which will be passed on to the node.
  • AroundNode(func(ctx context.Context, body func(ctx context.Context))) - ctx is the context for the node and body is a function that must be called to run the node. This gives you complete control over what runs before and after the node.

Multiple AroundNode decorators can be applied to a single node and they will run in the order they are applied.

Unlike setup nodes like BeforeEach and DeferCleanup, AroundNode is guaranteed to run in the same goroutine as the decorated node. This is necessary when working with lower-level libraries that must run on a single thread (you can call runtime.LockOSThread() in the AroundNode to ensure that the node runs on a single thread).

Since AroundNode allows you to modify the context you can also use AroundNode to implement shared setup that attaches values to the context.

If applied to a container, AroundNode will run before every node in the container. Including setup nodes like BeforeEach and DeferCleanup.

AroundNode can also be applied to RunSpecs to run before every node in the suite. This opens up new mechanisms for instrumenting individual nodes across an entire suite.

v2.24.0

Compare Source

2.24.0

Features

Specs can now be decorated with (e.g.) SemVerConstraint("2.1.0") and ginkgo --sem-ver-filter="2.1.1" will only run constrained specs that match the requested version. Learn more in the docs here! Thanks to @​Icarus9913 for the PR.

Fixes
Maintenance

Numerous dependency bumps and documentation fixes

v2.23.4

Compare Source

2.23.4

Prior to this release Ginkgo would compute the incorrect number of available CPUs when running with -p in a linux container. Thanks to @​emirot for the fix!

Features
  • Add automaxprocs for using CPUQuota [2b9c428]
Fixes
  • clarify gotchas about -vet flag [1f59d07]
Maintenance

v2.23.3

Compare Source

2.23.3

Fixes
  • allow - as a standalone argument [cfcc1a5]
  • Bug Fix: Add GinkoTBWrapper.Chdir() and GinkoTBWrapper.Context() [feaf292]
  • ignore exit code for symbol test on linux [88e2282]

v2.23.2

Compare Source

2.23.2

🎉🎉🎉

At long last, some long-standing performance gaps between ginkgo and go test have been resolved!

Ginkgo operates by running go test -c to generate test binaries, and then running those binaries. It turns out that the compilation step of go test -c is slower than go test's compilation step because go test strips out debug symbols (ldflags=-w) whereas go test -c does not.

Ginkgo now passes the appropriate ldflags to go test -c when running specs to strip out symbols. This is only done when it is safe to do so and symbols are preferred when profiling is enabled and when ginkgo build is called explicitly.

This, coupled, with the instructions for disabling XProtect on MacOS yields a much better performance experience with Ginkgo.

v2.23.1

Compare Source

2.23.1

🚨 For users on MacOS 🚨

A long-standing Ginkgo performance issue on MacOS seems to be due to mac's antimalware XProtect. You can follow the instructions here to disable it in your terminal. Doing so sped up Ginkgo's own test suite from 1m8s to 47s.

Fixes

Ginkgo's CLI is now a bit clearer if you pass flags in incorrectly:

  • make it clearer that you need to pass a filename to the various profile flags, not an absolute directory [a0e52ff]
  • emit an error and exit if the ginkgo invocation includes flags after positional arguments [b799d8d]

This might cause existing CI builds to fail. If so then it's likely that your CI build was misconfigured and should be corrected. Open an issue if you need help.

v2.23.0

Compare Source

2.23.0

Ginkgo 2.23.0 adds a handful of methods to GinkgoT() to make it compatible with the testing.TB interface in Go 1.24. GinkgoT().Context(), in particular, is a useful shorthand for generating a new context that will clean itself up in a DeferCleanup(). This has subtle behavior differences from the golang implementation but should make sense in a Ginkgo... um... context.

Features
  • bump to go 1.24.0 - support new testing.TB methods and add a test to cover testing.TB regressions [37a511b]
Fixes
  • fix edge case where build -o is pointing at an explicit file, not a directory [7556a86]
  • Fix binary paths when precompiling multiple suites. [4df06c6]
Maintenance

v2.22.2

Compare Source

What's Changed

Full Changelog: onsi/ginkgo@v2.22.1...v2.22.2

v2.22.1

Compare Source

2.22.1

Fixes

Fix CSV encoding

Maintenance
  • ensure *.test files are gitignored so we don't accidentally commit compiled tests again [c88c634]
  • remove golang.org/x/net/context in favour of stdlib context [4df44bf]

v2.22.0

Compare Source

2.22.0

Features
  • Add label to serial nodes [0fcaa08]

This allows serial tests to be filtered using the label-filter

Maintenance

Various doc fixes

v2.21.0

Compare Source

2.21.0

Features
  • add support for GINKGO_TIME_FORMAT [a69eb39]
  • add GINKGO_NO_COLOR to disable colors via environment variables [bcab9c8]
Fixes
  • increase threshold in timeline matcher [e548367]
  • Fix the document by replacing SpecsThatWillBeRun with SpecsThatWillRun
    [c2c4d3c]
Maintenance
  • bump various dependencies [7e65a00]

v2.20.2

Compare Source

2.20.2

Require Go 1.22+

Maintenance

v2.20.1

Compare Source

2.20.1

Fixes
  • make BeSpecEvent duration matcher more forgiving [d6f9640]

v2.20.0

Compare Source

2.20.0

Features
Maintenance
  • Add update-deps to makefile [d303d14]
  • bump all dependencies [7a50221]

v2.19.1

Compare Source

2.19.1

Fixes
  • update supported platforms for race conditions [63c8c30]
  • [build] Allow custom name for binaries. [ff41e27]
Maintenance
onsi/gomega (github.com/onsi/gomega)

v1.38.2

Compare Source

1.38.2

v1.38.1

Compare Source

1.38.1

Fixes

Numerous minor fixes and dependency bumps

v1.38.0

Compare Source

1.38.0

Features
  • gstruct handles extra unexported fields [4ee7ed0]
Fixes
  • support [] in IgnoringTopFunction function signatures (#​851) [36bbf72]
Maintenance

v1.37.0

Compare Source

1.37.0

Features
  • add To/ToNot/NotTo aliases for AsyncAssertion [5666f98]

v1.36.3

Compare Source

1.36.3

Maintenance

v1.36.2

Compare Source

Maintenance

v1.36.1

Compare Source

1.36.1

Fixes

v1.36.0

Compare Source

1.36.0

Features
  • new: make collection-related matchers Go 1.23 iterator aware [4c964c6]
Maintenance
  • Replace min/max helpers with built-in min/max [ece6872]
  • Fix some typos in docs [8e924d7]

v1.35.1

Compare Source

1.35.1

Fixes
  • Export EnforceDefaultTimeoutsWhenUsingContexts and DisableDefaultTimeoutsWhenUsingContext [ca36da1]

v1.35.0

Compare Source

1.35.0

Features
  • 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]
Maintenance

v1.34.2

Compare Source

1.34.2

Require Go 1.22+

Maintenance
  • bump ginkgo as well [c59c6dc]
  • bump to go 1.22 - remove x/exp dependency [8158b99]

v1.34.1

Compare Source

1.34.1

Maintenance
  • Use slices from exp/slices to keep golang 1.20 compat [5e71dcd]

v1.34.0

Compare Source

1.34.0

Features
  • Add RoundTripper method to ghttp.Server [c549e0d]
Fixes
  • fix incorrect handling of nil slices in HaveExactElements (fixes #​771) [878940c]
  • issue_765 - fixed bug in Hopcroft-Karp algorithm [ebadb67]
Maintenance

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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented Jul 17, 2024

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 9 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.22 -> 1.23.0
google.golang.org/protobuf v1.34.2 -> v1.36.7
github.com/go-logr/logr v1.4.2 -> v1.4.3
github.com/google/go-cmp v0.6.0 -> v0.7.0
github.com/google/pprof v0.0.0-20240424215950-a892ee059fd6 -> v0.0.0-20250403155104-27863c87afa6
github.com/rogpeppe/go-internal v1.12.0 -> v1.13.1
go.uber.org/automaxprocs v1.5.3 -> v1.6.0
golang.org/x/crypto v0.24.0 -> v0.41.0
golang.org/x/net v0.26.0 -> v0.43.0
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d -> v0.36.0

@codecov
Copy link

codecov bot commented Jul 17, 2024

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 54.94%. Comparing base (3cf2082) to head (6a6aaf0).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #65      +/-   ##
==========================================
+ Coverage   54.81%   54.94%   +0.12%     
==========================================
  Files          25       25              
  Lines        1609     1609              
==========================================
+ Hits          882      884       +2     
+ Misses        630      628       -2     
  Partials       97       97              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate bot changed the title test: update module github.com/nats-io/nats-server/v2 to v2.10.18 test: update test dependencies Jul 25, 2024
@renovate renovate bot force-pushed the renovate/test-dependencies branch 3 times, most recently from 90d5f53 to 9a51ee2 Compare July 29, 2024 18:58
@renovate renovate bot force-pushed the renovate/test-dependencies branch from 9a51ee2 to 9e675ad Compare August 7, 2024 21:30
@renovate renovate bot force-pushed the renovate/test-dependencies branch 3 times, most recently from 178a298 to e16b3f4 Compare August 28, 2024 17:16
@renovate renovate bot force-pushed the renovate/test-dependencies branch from e16b3f4 to 2a46ed4 Compare August 29, 2024 21:58
@renovate renovate bot force-pushed the renovate/test-dependencies branch from 2a46ed4 to 301e215 Compare September 26, 2024 15:53
@renovate renovate bot force-pushed the renovate/test-dependencies branch from 301e215 to 609af73 Compare October 17, 2024 18:03
@renovate renovate bot force-pushed the renovate/test-dependencies branch 2 times, most recently from 6f8da03 to 45dc2d2 Compare November 1, 2024 01:33
@renovate renovate bot force-pushed the renovate/test-dependencies branch 2 times, most recently from bdc2c07 to de92385 Compare November 6, 2024 04:48
@renovate renovate bot force-pushed the renovate/test-dependencies branch 2 times, most recently from 22c23e1 to f8ac1b1 Compare November 21, 2024 04:38
@renovate renovate bot force-pushed the renovate/test-dependencies branch from f8ac1b1 to 9bacf07 Compare November 25, 2024 16:06
@renovate renovate bot force-pushed the renovate/test-dependencies branch 2 times, most recently from ca38101 to 7eb0902 Compare December 10, 2024 20:05
@renovate renovate bot force-pushed the renovate/test-dependencies branch 3 times, most recently from 9b1735d to b710b98 Compare December 24, 2024 12:24
@renovate renovate bot force-pushed the renovate/test-dependencies branch from b710b98 to 102766b Compare December 30, 2024 20:16
@renovate renovate bot force-pushed the renovate/test-dependencies branch from 102766b to 69c2068 Compare January 23, 2025 21:21
@renovate renovate bot force-pushed the renovate/test-dependencies branch 2 times, most recently from e1bfcc5 to c6ecff3 Compare February 1, 2025 21:29
@renovate renovate bot force-pushed the renovate/test-dependencies branch 4 times, most recently from f10e66b to 2953389 Compare March 21, 2025 23:23
@renovate renovate bot force-pushed the renovate/test-dependencies branch 3 times, most recently from 657df5e to 60cac24 Compare April 8, 2025 19:24
@renovate renovate bot force-pushed the renovate/test-dependencies branch from 60cac24 to 1ed400d Compare April 15, 2025 22:24
@renovate renovate bot force-pushed the renovate/test-dependencies branch from 1ed400d to 3cfc68a Compare May 7, 2025 11:02
@renovate renovate bot force-pushed the renovate/test-dependencies branch from 3cfc68a to c34e31b Compare July 22, 2025 21:00
@renovate renovate bot force-pushed the renovate/test-dependencies branch from c34e31b to b973b0c Compare August 10, 2025 14:05
@renovate renovate bot changed the title test: update test dependencies test: update module github.com/onsi/gomega to v1.38.0 Aug 17, 2025
@renovate renovate bot force-pushed the renovate/test-dependencies branch from b973b0c to 5141d1b Compare August 17, 2025 09:45
@renovate renovate bot changed the title test: update module github.com/onsi/gomega to v1.38.0 test: update test dependencies Aug 17, 2025
@renovate renovate bot force-pushed the renovate/test-dependencies branch 3 times, most recently from 0c07122 to b60e7a5 Compare August 22, 2025 04:35
@renovate renovate bot changed the title test: update test dependencies test: update module github.com/onsi/ginkgo/v2 to v2.25.1 Aug 22, 2025
@renovate renovate bot force-pushed the renovate/test-dependencies branch 2 times, most recently from 9a3c5e6 to b9f9eb6 Compare August 22, 2025 22:08
@renovate renovate bot changed the title test: update module github.com/onsi/ginkgo/v2 to v2.25.1 test: update test dependencies Aug 22, 2025
@renovate renovate bot changed the title test: update test dependencies test: update module github.com/onsi/gomega to v1.38.1 Aug 25, 2025
@renovate renovate bot changed the title test: update module github.com/onsi/gomega to v1.38.1 test: update test dependencies Aug 25, 2025
@renovate renovate bot force-pushed the renovate/test-dependencies branch 2 times, most recently from 7783646 to a63b481 Compare August 28, 2025 22:58
@renovate renovate bot force-pushed the renovate/test-dependencies branch from a63b481 to a6cbd5a Compare September 4, 2025 21:38
@renovate renovate bot force-pushed the renovate/test-dependencies branch from a6cbd5a to 2d21c84 Compare October 2, 2025 14:38
@renovate renovate bot force-pushed the renovate/test-dependencies branch from 2d21c84 to aae0dcc Compare October 22, 2025 19:01
@renovate renovate bot force-pushed the renovate/test-dependencies branch from aae0dcc to 6a6aaf0 Compare October 27, 2025 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant