Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 6, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/onsi/ginkgo/v2 v2.22.2v2.28.1 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

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

v2.28.1

Compare Source

2.28.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.

v2.28.0

Compare Source

2.28.0

Ginkgo's SemVer filter now supports filtering multiple components by SemVer version:

It("should work in a specific version range (1.0.0, 2.0.0) and third-party dependency redis in [8.0.0, ~)", SemVerConstraint(">= 3.2.0"), ComponentSemVerConstraint("redis", ">= 8.0.0") func() {
    // This test will only run when version is between 1.0.0 (exclusive) and 2.0.0 (exclusive) and redis version is >= 8.0.0
})

can be filtered in or out with an invocation like:

ginkgo --sem-ver-filter="2.1.1, redis=8.2.0"

Huge thanks to @​Icarus9913 for working on this!

v2.27.5

Compare Source

2.27.5

Fixes

Don't make a new formatter for each GinkgoT(); that's just silly and uses precious memory

v2.27.4

Compare Source

2.27.4

Fixes
  • CurrentTreeConstructionNodeReport: fix for nested container nodes [59bc751]

v2.27.3

Compare Source

2.27.3

Fixes

report exit result in case of failure [1c9f356]
fix data race [ece19c8]

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

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 is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented Mar 6, 2025

ℹ 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):

  • 11 additional dependencies were updated

Details:

Package Change
github.com/go-logr/logr v1.4.2 -> v1.4.3
github.com/onsi/gomega v1.36.2 -> v1.38.2
github.com/google/go-cmp v0.6.0 -> v0.7.0
github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad -> v0.0.0-20250403155104-27863c87afa6
golang.org/x/net v0.33.0 -> v0.43.0
golang.org/x/sync v0.10.0 -> v0.16.0
golang.org/x/sys v0.28.0 -> v0.35.0
golang.org/x/term v0.27.0 -> v0.34.0
golang.org/x/text v0.21.0 -> v0.28.0
golang.org/x/tools v0.28.0 -> v0.36.0
google.golang.org/protobuf v1.36.1 -> v1.36.7

@github-actions
Copy link

github-actions bot commented Mar 6, 2025

@renovate[bot] Image is available for testing. docker pull ghcr.io/stakater/ipshield:0.0.6-SNAPSHOT-PR-27-686c4df1

@renovate renovate bot changed the title Update module github.com/onsi/ginkgo/v2 to v2.23.0 Update module github.com/onsi/ginkgo/v2 to v2.23.1 Mar 19, 2025
@renovate renovate bot force-pushed the renovate/github.com-onsi-ginkgo-v2-2.x branch from 686c4df to 3c07840 Compare March 19, 2025 18:29
@github-actions
Copy link

@renovate[bot] Image is available for testing. docker pull ghcr.io/stakater/ipshield:0.0.6-SNAPSHOT-PR-27-3c078405

@renovate renovate bot changed the title Update module github.com/onsi/ginkgo/v2 to v2.23.1 Update module github.com/onsi/ginkgo/v2 to v2.23.2 Mar 20, 2025
@renovate renovate bot force-pushed the renovate/github.com-onsi-ginkgo-v2-2.x branch from 3c07840 to 4a60f8d Compare March 20, 2025 18:04
@github-actions
Copy link

@renovate[bot] Image is available for testing. docker pull ghcr.io/stakater/ipshield:0.0.6-SNAPSHOT-PR-27-4a60f8d9

@renovate renovate bot changed the title Update module github.com/onsi/ginkgo/v2 to v2.23.2 Update module github.com/onsi/ginkgo/v2 to v2.23.3 Mar 22, 2025
@renovate renovate bot force-pushed the renovate/github.com-onsi-ginkgo-v2-2.x branch from 4a60f8d to 86b7d16 Compare March 22, 2025 00:49
@github-actions
Copy link

@renovate[bot] Image is available for testing. docker pull ghcr.io/stakater/ipshield:0.0.6-SNAPSHOT-PR-27-86b7d16f

@renovate renovate bot force-pushed the renovate/github.com-onsi-ginkgo-v2-2.x branch from 86b7d16 to 654aaa1 Compare April 7, 2025 01:13
@renovate renovate bot changed the title Update module github.com/onsi/ginkgo/v2 to v2.23.3 Update module github.com/onsi/ginkgo/v2 to v2.23.4 Apr 7, 2025
@github-actions
Copy link

github-actions bot commented Apr 7, 2025

@renovate[bot] Image is available for testing. docker pull ghcr.io/stakater/ipshield:0.0.6-SNAPSHOT-PR-27-654aaa1c

@renovate renovate bot force-pushed the renovate/github.com-onsi-ginkgo-v2-2.x branch from 654aaa1 to a207503 Compare July 18, 2025 18:44
@github-actions
Copy link

@renovate[bot] Image is available for testing. docker pull ghcr.io/stakater/ipshield:0.0.6-SNAPSHOT-PR-27-a2075031

@renovate renovate bot changed the title Update module github.com/onsi/ginkgo/v2 to v2.23.4 Update module github.com/onsi/ginkgo/v2 to v2.24.0 Aug 18, 2025
@renovate renovate bot force-pushed the renovate/github.com-onsi-ginkgo-v2-2.x branch from a207503 to b4dd7be Compare August 18, 2025 20:00
@github-actions
Copy link

@renovate[bot] Image is available for testing. docker pull ghcr.io/stakater/ipshield:0.0.7-SNAPSHOT-PR-27-b4dd7be0

@renovate renovate bot changed the title Update module github.com/onsi/ginkgo/v2 to v2.24.0 Update module github.com/onsi/ginkgo/v2 to v2.25.0 Aug 21, 2025
@renovate renovate bot force-pushed the renovate/github.com-onsi-ginkgo-v2-2.x branch from b4dd7be to 85620eb Compare August 21, 2025 10:13
@github-actions
Copy link

@renovate[bot] Image is available for testing. docker pull ghcr.io/stakater/ipshield:0.0.7-SNAPSHOT-PR-27-85620eb7

@renovate renovate bot changed the title Update module github.com/onsi/ginkgo/v2 to v2.25.0 Update module github.com/onsi/ginkgo/v2 to v2.25.1 Aug 22, 2025
@renovate renovate bot force-pushed the renovate/github.com-onsi-ginkgo-v2-2.x branch from 85620eb to 2428508 Compare August 22, 2025 07:32
@github-actions
Copy link

@renovate[bot] Image is available for testing. docker pull ghcr.io/stakater/ipshield:0.0.7-SNAPSHOT-PR-27-24285083

@renovate renovate bot changed the title Update module github.com/onsi/ginkgo/v2 to v2.25.1 Update module github.com/onsi/ginkgo/v2 to v2.25.2 Aug 31, 2025
@renovate renovate bot force-pushed the renovate/github.com-onsi-ginkgo-v2-2.x branch from 2428508 to f99eac6 Compare August 31, 2025 12:05
@github-actions
Copy link

@renovate[bot] Image is available for testing. docker pull ghcr.io/stakater/ipshield:0.0.7-SNAPSHOT-PR-27-f99eac60

@renovate renovate bot changed the title Update module github.com/onsi/ginkgo/v2 to v2.25.2 Update module github.com/onsi/ginkgo/v2 to v2.25.3 Sep 4, 2025
@renovate renovate bot force-pushed the renovate/github.com-onsi-ginkgo-v2-2.x branch from f99eac6 to ec3f84d Compare September 4, 2025 22:05
@github-actions
Copy link

github-actions bot commented Sep 4, 2025

@renovate[bot] Image is available for testing. docker pull ghcr.io/stakater/ipshield:v0.0.7-SNAPSHOT-PR-27-ec3f84d0

@renovate renovate bot force-pushed the renovate/github.com-onsi-ginkgo-v2-2.x branch from ec3f84d to 0247c6e Compare September 16, 2025 19:42
@github-actions
Copy link

@renovate[bot] Image is available for testing. docker pull ghcr.io/stakater/ipshield:v0.0.1-SNAPSHOT-PR-27-0247c6e0

@renovate renovate bot changed the title Update module github.com/onsi/ginkgo/v2 to v2.25.3 Update module github.com/onsi/ginkgo/v2 to v2.26.0 Oct 2, 2025
@renovate renovate bot force-pushed the renovate/github.com-onsi-ginkgo-v2-2.x branch from 0247c6e to ead6177 Compare October 2, 2025 16:26
@github-actions
Copy link

github-actions bot commented Oct 2, 2025

@renovate[bot] Image is available for testing. docker pull ghcr.io/stakater/ipshield:v0.0.1-SNAPSHOT-PR-27-ead61774

@renovate renovate bot changed the title Update module github.com/onsi/ginkgo/v2 to v2.26.0 Update module github.com/onsi/ginkgo/v2 to v2.27.1 Oct 22, 2025
@renovate renovate bot force-pushed the renovate/github.com-onsi-ginkgo-v2-2.x branch from ead6177 to 4cbf7a9 Compare October 22, 2025 19:53
@github-actions
Copy link

@renovate[bot] Image is available for testing. docker pull ghcr.io/stakater/ipshield:v0.0.1-SNAPSHOT-PR-27-4cbf7a98

@renovate renovate bot changed the title Update module github.com/onsi/ginkgo/v2 to v2.27.1 Update module github.com/onsi/ginkgo/v2 to v2.27.2 Oct 27, 2025
@renovate renovate bot force-pushed the renovate/github.com-onsi-ginkgo-v2-2.x branch from 4cbf7a9 to 583f3dc Compare October 27, 2025 20:57
@github-actions
Copy link

@renovate[bot] Image is available for testing. docker pull ghcr.io/stakater/ipshield:v0.0.1-SNAPSHOT-PR-27-583f3dcc

@renovate renovate bot changed the title Update module github.com/onsi/ginkgo/v2 to v2.27.2 Update module github.com/onsi/ginkgo/v2 to v2.27.3 Dec 8, 2025
@renovate renovate bot force-pushed the renovate/github.com-onsi-ginkgo-v2-2.x branch from 583f3dc to bf896b4 Compare December 8, 2025 15:55
@renovate
Copy link
Contributor Author

renovate bot commented Dec 15, 2025

ℹ️ 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):

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

Details:

Package Change
go 1.23.0 -> 1.24.0
go (toolchain) 1.23.6 -> 1.24.12
github.com/go-logr/logr v1.4.2 -> v1.4.3
github.com/onsi/gomega v1.36.2 -> v1.39.0
github.com/google/go-cmp v0.6.0 -> v0.7.0
github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad -> v0.0.0-20260115054156-294ebfa9ad83
golang.org/x/net v0.33.0 -> v0.49.0
golang.org/x/sync v0.10.0 -> v0.19.0
golang.org/x/sys v0.28.0 -> v0.40.0
golang.org/x/term v0.27.0 -> v0.39.0
golang.org/x/text v0.21.0 -> v0.33.0
golang.org/x/tools v0.28.0 -> v0.41.0
google.golang.org/protobuf v1.36.1 -> v1.36.7

@renovate renovate bot force-pushed the renovate/github.com-onsi-ginkgo-v2-2.x branch from bf896b4 to 564671f Compare December 30, 2025 10:39
@github-actions
Copy link

@renovate[bot] Image is available for testing. docker pull ghcr.io/stakater/ipshield:v0.0.8-SNAPSHOT-PR-27-5e99e64e

@renovate renovate bot changed the title Update module github.com/onsi/ginkgo/v2 to v2.27.3 Update module github.com/onsi/ginkgo/v2 to v2.27.4 Jan 8, 2026
@renovate renovate bot force-pushed the renovate/github.com-onsi-ginkgo-v2-2.x branch from 564671f to 2c74ccf Compare January 8, 2026 21:27
@github-actions
Copy link

github-actions bot commented Jan 8, 2026

@renovate[bot] Image is available for testing. docker pull ghcr.io/stakater/ipshield:v0.0.8-SNAPSHOT-PR-27-fda985c9

@renovate renovate bot force-pushed the renovate/github.com-onsi-ginkgo-v2-2.x branch from 2c74ccf to d0fd969 Compare January 12, 2026 22:34
@renovate renovate bot changed the title Update module github.com/onsi/ginkgo/v2 to v2.27.4 Update module github.com/onsi/ginkgo/v2 to v2.27.5 Jan 12, 2026
@github-actions
Copy link

@renovate[bot] Image is available for testing. docker pull ghcr.io/stakater/ipshield:v0.0.8-SNAPSHOT-PR-27-cb62c08f

@renovate renovate bot force-pushed the renovate/github.com-onsi-ginkgo-v2-2.x branch from d0fd969 to e55ede7 Compare January 30, 2026 06:53
@renovate renovate bot changed the title Update module github.com/onsi/ginkgo/v2 to v2.27.5 Update module github.com/onsi/ginkgo/v2 to v2.28.1 Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants