Commit c9581ad
authored
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.28.1 (#173)
This PR contains the following updates:
| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [github.com/onsi/ginkgo/v2](https://redirect.github.com/onsi/ginkgo) |
`v2.22.0` → `v2.28.1` |

|

|
---
### Release Notes
<details>
<summary>onsi/ginkgo (github.com/onsi/ginkgo/v2)</summary>
###
[`v2.28.1`](https://redirect.github.com/onsi/ginkgo/releases/tag/v2.28.1)
[Compare
Source](https://redirect.github.com/onsi/ginkgo/compare/v2.28.0...v2.28.1)
#### 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`](https://redirect.github.com/onsi/ginkgo/releases/tag/v2.28.0)
[Compare
Source](https://redirect.github.com/onsi/ginkgo/compare/v2.27.5...v2.28.0)
#### 2.28.0
Ginkgo's SemVer filter now supports filtering multiple components by
SemVer version:
```go
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:
```bash
ginkgo --sem-ver-filter="2.1.1, redis=8.2.0"
```
Huge thanks to
[@​Icarus9913](https://redirect.github.com/Icarus9913) for working
on this!
###
[`v2.27.5`](https://redirect.github.com/onsi/ginkgo/releases/tag/v2.27.5)
[Compare
Source](https://redirect.github.com/onsi/ginkgo/compare/v2.27.4...v2.27.5)
#### 2.27.5
##### Fixes
Don't make a new formatter for each GinkgoT(); that's just silly and
uses precious memory
###
[`v2.27.4`](https://redirect.github.com/onsi/ginkgo/releases/tag/v2.27.4)
[Compare
Source](https://redirect.github.com/onsi/ginkgo/compare/v2.27.3...v2.27.4)
#### 2.27.4
##### Fixes
- CurrentTreeConstructionNodeReport: fix for nested container nodes
\[[`59bc751`](https://redirect.github.com/onsi/ginkgo/commit/59bc751)]
###
[`v2.27.3`](https://redirect.github.com/onsi/ginkgo/releases/tag/v2.27.3)
[Compare
Source](https://redirect.github.com/onsi/ginkgo/compare/v2.27.2...v2.27.3)
#### 2.27.3
##### Fixes
report exit result in case of failure
\[[`1c9f356`](https://redirect.github.com/onsi/ginkgo/commit/1c9f356)]
fix data race
\[[`ece19c8`](https://redirect.github.com/onsi/ginkgo/commit/ece19c8)]
###
[`v2.27.2`](https://redirect.github.com/onsi/ginkgo/releases/tag/v2.27.2)
[Compare
Source](https://redirect.github.com/onsi/ginkgo/compare/v2.27.1...v2.27.2)
#### 2.27.2
##### Fixes
- inline automaxprocs to simplify dependencies; this will be removed
when Go 1.26 comes out
\[[`a69113a`](https://redirect.github.com/onsi/ginkgo/commit/a69113a)]
##### Maintenance
- Fix syntax errors and typo
\[[`a99c6e0`](https://redirect.github.com/onsi/ginkgo/commit/a99c6e0)]
- Fix paragraph position error
\[[`f993df5`](https://redirect.github.com/onsi/ginkgo/commit/f993df5)]
###
[`v2.27.1`](https://redirect.github.com/onsi/ginkgo/releases/tag/v2.27.1)
[Compare
Source](https://redirect.github.com/onsi/ginkgo/compare/v2.27.0...v2.27.1)
#### 2.27.1
##### Fixes
- Fix Ginkgo Reporter slice-bounds panic
\[[`606c1cb`](https://redirect.github.com/onsi/ginkgo/commit/606c1cb)]
- Bug Fix: Add GinkoTBWrapper.Attr() and GinkoTBWrapper.Output()
\[[`a6463b3`](https://redirect.github.com/onsi/ginkgo/commit/a6463b3)]
###
[`v2.27.0`](https://redirect.github.com/onsi/ginkgo/releases/tag/v2.27.0)
[Compare
Source](https://redirect.github.com/onsi/ginkgo/compare/v2.26.0...v2.27.0)
#### 2.27.0
##### Features
##### Transforming Nodes during Tree Construction
This release adds support for `NodeArgsTransformer`s 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](https://onsi.github.io/ginkgo/#advanced-transforming-node-arguments-during-tree-construction).
##### 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](https://onsi.github.io/ginkgo/#prioritizing-specs).
##### Maintenance
- Bump rexml from 3.4.0 to 3.4.2 in /docs
([#​1595](https://redirect.github.com/onsi/ginkgo/issues/1595))
\[[`1333dae`](https://redirect.github.com/onsi/ginkgo/commit/1333dae)]
- Bump github.com/gkampitakis/go-snaps from 0.5.14 to 0.5.15
([#​1600](https://redirect.github.com/onsi/ginkgo/issues/1600))
\[[`17ae63e`](https://redirect.github.com/onsi/ginkgo/commit/17ae63e)]
###
[`v2.26.0`](https://redirect.github.com/onsi/ginkgo/releases/tag/v2.26.0)
[Compare
Source](https://redirect.github.com/onsi/ginkgo/compare/v2.25.3...v2.26.0)
#### 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`](https://redirect.github.com/onsi/ginkgo/releases/tag/v2.25.3)
[Compare
Source](https://redirect.github.com/onsi/ginkgo/compare/v2.25.2...v2.25.3)
#### 2.25.3
##### Fixes
- emit --github-output group only for progress report itself
\[[`f01aed1`](https://redirect.github.com/onsi/ginkgo/commit/f01aed1)]
###
[`v2.25.2`](https://redirect.github.com/onsi/ginkgo/releases/tag/v2.25.2)
[Compare
Source](https://redirect.github.com/onsi/ginkgo/compare/v2.25.1...v2.25.2)
#### 2.25.2
##### Fixes
Add github output group for progress report content
##### Maintenance
Bump Gomega
###
[`v2.25.1`](https://redirect.github.com/onsi/ginkgo/releases/tag/v2.25.1)
[Compare
Source](https://redirect.github.com/onsi/ginkgo/compare/v2.25.0...v2.25.1)
#### 2.25.1
##### Fixes
- fix(types): ignore nameless nodes on FullText()
\[[`10866d3`](https://redirect.github.com/onsi/ginkgo/commit/10866d3)]
- chore: fix some CodeQL warnings
\[[`2e42cff`](https://redirect.github.com/onsi/ginkgo/commit/2e42cff)]
###
[`v2.25.0`](https://redirect.github.com/onsi/ginkgo/releases/tag/v2.25.0)
[Compare
Source](https://redirect.github.com/onsi/ginkgo/compare/v2.24.0...v2.25.0)
#### 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](https://onsi.github.io/ginkgo/#advanced-around-node) 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`](https://redirect.github.com/onsi/ginkgo/releases/tag/v2.24.0)
[Compare
Source](https://redirect.github.com/onsi/ginkgo/compare/v2.23.4...v2.24.0)
#### 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](https://onsi.github.io/ginkgo/#spec-semantic-version-filtering)!
Thanks to [@​Icarus9913](https://redirect.github.com/Icarus9913)
for the PR.
##### Fixes
- remove -o from run command
\[[`3f5d379`](https://redirect.github.com/onsi/ginkgo/commit/3f5d379)].
fixes
[#​1582](https://redirect.github.com/onsi/ginkgo/issues/1582)
##### Maintenance
Numerous dependency bumps and documentation fixes
###
[`v2.23.4`](https://redirect.github.com/onsi/ginkgo/releases/tag/v2.23.4)
[Compare
Source](https://redirect.github.com/onsi/ginkgo/compare/v2.23.3...v2.23.4)
#### 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](https://redirect.github.com/emirot) for the fix!
##### Features
- Add automaxprocs for using CPUQuota
\[[`2b9c428`](https://redirect.github.com/onsi/ginkgo/commit/2b9c428)]
##### Fixes
- clarify gotchas about -vet flag
\[[`1f59d07`](https://redirect.github.com/onsi/ginkgo/commit/1f59d07)]
##### Maintenance
- bump dependencies
\[[`2d134d5`](https://redirect.github.com/onsi/ginkgo/commit/2d134d5)]
###
[`v2.23.3`](https://redirect.github.com/onsi/ginkgo/releases/tag/v2.23.3)
[Compare
Source](https://redirect.github.com/onsi/ginkgo/compare/v2.23.2...v2.23.3)
#### 2.23.3
##### Fixes
- allow `-` as a standalone argument
\[[`cfcc1a5`](https://redirect.github.com/onsi/ginkgo/commit/cfcc1a5)]
- Bug Fix: Add GinkoTBWrapper.Chdir() and GinkoTBWrapper.Context()
\[[`feaf292`](https://redirect.github.com/onsi/ginkgo/commit/feaf292)]
- ignore exit code for symbol test on linux
\[[`88e2282`](https://redirect.github.com/onsi/ginkgo/commit/88e2282)]
###
[`v2.23.2`](https://redirect.github.com/onsi/ginkgo/releases/tag/v2.23.2)
[Compare
Source](https://redirect.github.com/onsi/ginkgo/compare/v2.23.1...v2.23.2)
#### 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](https://onsi.github.io/ginkgo/#if-you-are-running-on-macos)
yields a much better performance experience with Ginkgo.
###
[`v2.23.1`](https://redirect.github.com/onsi/ginkgo/releases/tag/v2.23.1)
[Compare
Source](https://redirect.github.com/onsi/ginkgo/compare/v2.23.0...v2.23.1)
#### 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](https://onsi.github.io/ginkgo/#if-you-are-running-on-macos) 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`](https://redirect.github.com/onsi/ginkgo/commit/a0e52ff)]
- emit an error and exit if the ginkgo invocation includes flags after
positional arguments
\[[`b799d8d`](https://redirect.github.com/onsi/ginkgo/commit/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`](https://redirect.github.com/onsi/ginkgo/releases/tag/v2.23.0)
[Compare
Source](https://redirect.github.com/onsi/ginkgo/compare/v2.22.2...v2.23.0)
#### 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`](https://redirect.github.com/onsi/ginkgo/commit/37a511b)]
##### Fixes
- fix edge case where build -o is pointing at an explicit file, not a
directory
\[[`7556a86`](https://redirect.github.com/onsi/ginkgo/commit/7556a86)]
- Fix binary paths when precompiling multiple suites.
\[[`4df06c6`](https://redirect.github.com/onsi/ginkgo/commit/4df06c6)]
##### Maintenance
- Fix: Correct Markdown list rendering in MIGRATING\_TO\_V2.md
\[[`cbcf39a`](https://redirect.github.com/onsi/ginkgo/commit/cbcf39a)]
- docs: fix test workflow badge
([#​1512](https://redirect.github.com/onsi/ginkgo/issues/1512))
\[[`9b261ff`](https://redirect.github.com/onsi/ginkgo/commit/9b261ff)]
- Bump golang.org/x/net in
/integration/\_fixtures/version\_mismatch\_fixture
([#​1516](https://redirect.github.com/onsi/ginkgo/issues/1516))
\[[`00f19c8`](https://redirect.github.com/onsi/ginkgo/commit/00f19c8)]
- Bump golang.org/x/tools from 0.28.0 to 0.30.0
([#​1515](https://redirect.github.com/onsi/ginkgo/issues/1515))
\[[`e98a4df`](https://redirect.github.com/onsi/ginkgo/commit/e98a4df)]
- Bump activesupport from 6.0.6.1 to 6.1.7.5 in /docs
([#​1504](https://redirect.github.com/onsi/ginkgo/issues/1504))
\[[`60cc4e2`](https://redirect.github.com/onsi/ginkgo/commit/60cc4e2)]
- Bump github-pages from 231 to 232 in /docs
([#​1447](https://redirect.github.com/onsi/ginkgo/issues/1447))
\[[`fea6f2d`](https://redirect.github.com/onsi/ginkgo/commit/fea6f2d)]
- Bump rexml from 3.2.8 to 3.3.9 in /docs
([#​1497](https://redirect.github.com/onsi/ginkgo/issues/1497))
\[[`31d7813`](https://redirect.github.com/onsi/ginkgo/commit/31d7813)]
- Bump webrick from 1.8.1 to 1.9.1 in /docs
([#​1501](https://redirect.github.com/onsi/ginkgo/issues/1501))
\[[`fc3bbd6`](https://redirect.github.com/onsi/ginkgo/commit/fc3bbd6)]
- Code linting
([#​1500](https://redirect.github.com/onsi/ginkgo/issues/1500))
\[[`aee0d56`](https://redirect.github.com/onsi/ginkgo/commit/aee0d56)]
- change interface{} to any
([#​1502](https://redirect.github.com/onsi/ginkgo/issues/1502))
\[[`809a710`](https://redirect.github.com/onsi/ginkgo/commit/809a710)]
###
[`v2.22.2`](https://redirect.github.com/onsi/ginkgo/releases/tag/v2.22.2)
[Compare
Source](https://redirect.github.com/onsi/ginkgo/compare/v2.22.1...v2.22.2)
#### What's Changed
- Bump golang.org/x/net from 0.32.0 to 0.33.0 by
[@​dependabot](https://redirect.github.com/dependabot) in
[#​1496](https://redirect.github.com/onsi/ginkgo/pull/1496)
- Bump golang.org/x/crypto from 0.17.0 to 0.31.0 in
/ginkgo/performance/\_fixtures/performance\_fixture by
[@​dependabot](https://redirect.github.com/dependabot) in
[#​1498](https://redirect.github.com/onsi/ginkgo/pull/1498)
- Bump github.com/onsi/gomega from 1.36.1 to 1.36.2 by
[@​dependabot](https://redirect.github.com/dependabot) in
[#​1499](https://redirect.github.com/onsi/ginkgo/pull/1499)
**Full Changelog**:
<onsi/ginkgo@v2.22.1...v2.22.2>
###
[`v2.22.1`](https://redirect.github.com/onsi/ginkgo/releases/tag/v2.22.1)
[Compare
Source](https://redirect.github.com/onsi/ginkgo/compare/v2.22.0...v2.22.1)
#### 2.22.1
##### Fixes
Fix CSV encoding
- Update tests
\[[`aab3da6`](https://redirect.github.com/onsi/ginkgo/commit/aab3da6)]
- Properly encode CSV rows
\[[`c09df39`](https://redirect.github.com/onsi/ginkgo/commit/c09df39)]
- Add test case for proper csv escaping
\[[`96a80fc`](https://redirect.github.com/onsi/ginkgo/commit/96a80fc)]
- Add meta-test
\[[`43dad69`](https://redirect.github.com/onsi/ginkgo/commit/43dad69)]
##### Maintenance
- ensure \*.test files are gitignored so we don't accidentally commit
compiled tests again
\[[`c88c634`](https://redirect.github.com/onsi/ginkgo/commit/c88c634)]
- remove golang.org/x/net/context in favour of stdlib context
\[[`4df44bf`](https://redirect.github.com/onsi/ginkgo/commit/4df44bf)]
</details>
---
### 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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/datum-cloud/datum).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45NS4yIiwidXBkYXRlZEluVmVyIjoiNDIuOTUuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->2 files changed
Lines changed: 39 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
46 | | - | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| 78 | + | |
77 | 79 | | |
78 | | - | |
| 80 | + | |
| 81 | + | |
79 | 82 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
84 | 87 | | |
85 | | - | |
| 88 | + | |
86 | 89 | | |
87 | 90 | | |
88 | 91 | | |
89 | 92 | | |
90 | | - | |
| 93 | + | |
91 | 94 | | |
92 | 95 | | |
93 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
| 67 | + | |
| 68 | + | |
65 | 69 | | |
66 | 70 | | |
67 | 71 | | |
| |||
93 | 97 | | |
94 | 98 | | |
95 | 99 | | |
| 100 | + | |
| 101 | + | |
96 | 102 | | |
97 | 103 | | |
| 104 | + | |
| 105 | + | |
98 | 106 | | |
99 | 107 | | |
100 | 108 | | |
| |||
165 | 173 | | |
166 | 174 | | |
167 | 175 | | |
| 176 | + | |
| 177 | + | |
168 | 178 | | |
169 | 179 | | |
170 | 180 | | |
171 | 181 | | |
172 | 182 | | |
173 | 183 | | |
174 | 184 | | |
| 185 | + | |
| 186 | + | |
175 | 187 | | |
176 | 188 | | |
177 | 189 | | |
178 | 190 | | |
179 | 191 | | |
180 | 192 | | |
| 193 | + | |
| 194 | + | |
181 | 195 | | |
182 | 196 | | |
183 | 197 | | |
184 | 198 | | |
185 | 199 | | |
186 | 200 | | |
187 | 201 | | |
| 202 | + | |
| 203 | + | |
188 | 204 | | |
189 | 205 | | |
190 | 206 | | |
191 | 207 | | |
192 | 208 | | |
| 209 | + | |
| 210 | + | |
193 | 211 | | |
194 | 212 | | |
| 213 | + | |
| 214 | + | |
195 | 215 | | |
196 | 216 | | |
197 | 217 | | |
198 | 218 | | |
| 219 | + | |
| 220 | + | |
199 | 221 | | |
200 | 222 | | |
201 | 223 | | |
| |||
204 | 226 | | |
205 | 227 | | |
206 | 228 | | |
| 229 | + | |
| 230 | + | |
207 | 231 | | |
208 | 232 | | |
209 | 233 | | |
| |||
218 | 242 | | |
219 | 243 | | |
220 | 244 | | |
| 245 | + | |
| 246 | + | |
221 | 247 | | |
222 | 248 | | |
223 | 249 | | |
| |||
0 commit comments