stenic / sql-operator

Manage SQL databases, users and grant using kubernetes manifests
https://stenic.github.io/sql-operator/
Other
5 stars 3 forks source link

fix(deps): update module github.com/onsi/ginkgo to v2 #90

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
github.com/onsi/ginkgo require major v1.16.5 -> v2.11.0

Release Notes

onsi/ginkgo ### [`v2.11.0`](https://togithub.com/onsi/ginkgo/releases/tag/v2.11.0) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.10.0...v2.11.0) #### 2.11.0 In prior versions of Ginkgo specs the CLI filter flags (e.g. `--focus`, `--label-filter`) would *override* any programmatic focus. This behavior has proved surprising and confusing in at least the following ways: - users cannot combine programmatic filters and CLI filters to more efficiently select subsets of tests - CLI filters can override programmatic focus on CI systems resulting in an exit code of 0 despite the presence of (incorrectly!) committed focused specs. Going forward Ginkgo will AND all programmatic and CLI filters. Moreover, the presence of any programmatic focused tests will always result in a non-zero exit code. This change is technically a change in Ginkgo's external contract and may require some users to make changes to successfully adopt. Specifically: it's possible some users were intentionally using CLI filters to override programmatic focus. If this is you please open an issue so we can explore solutions to the underlying problem you are trying to solve. ##### Fixes - Programmatic focus is no longer overwrriten by CLI filters \[[`d6bba86`](https://togithub.com/onsi/ginkgo/commit/d6bba86)] ##### Maintenance - Bump github.com/onsi/gomega from 1.27.7 to 1.27.8 ([#​1218](https://togithub.com/onsi/ginkgo/issues/1218)) \[[`4a70a38`](https://togithub.com/onsi/ginkgo/commit/4a70a38)] - Bump golang.org/x/sys from 0.8.0 to 0.9.0 ([#​1219](https://togithub.com/onsi/ginkgo/issues/1219)) \[[`97eda4d`](https://togithub.com/onsi/ginkgo/commit/97eda4d)] ### [`v2.10.0`](https://togithub.com/onsi/ginkgo/releases/tag/v2.10.0) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.9.7...v2.10.0) #### 2.10.0 ##### Features - feat(ginkgo/generators): add --tags flag ([#​1216](https://togithub.com/onsi/ginkgo/issues/1216)) \[[`a782a77`](https://togithub.com/onsi/ginkgo/commit/a782a77)] adds a new --tags flag to ginkgo generate ##### Fixes - Fix broken link of MIGRATING_TO_V2.md ([#​1217](https://togithub.com/onsi/ginkgo/issues/1217)) \[[`548d78e`](https://togithub.com/onsi/ginkgo/commit/548d78e)] ##### Maintenance - Bump golang.org/x/tools from 0.9.1 to 0.9.3 ([#​1215](https://togithub.com/onsi/ginkgo/issues/1215)) \[[`2b76a5e`](https://togithub.com/onsi/ginkgo/commit/2b76a5e)] ### [`v2.9.7`](https://togithub.com/onsi/ginkgo/releases/tag/v2.9.7) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.9.6...v2.9.7) #### 2.9.7 ##### Fixes - fix race when multiple defercleanups are called in goroutines \[[`07fc3a0`](https://togithub.com/onsi/ginkgo/commit/07fc3a0)] ### [`v2.9.6`](https://togithub.com/onsi/ginkgo/releases/tag/v2.9.6) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.9.5...v2.9.6) #### 2.9.6 ##### Fixes - fix: create parent directory before report files ([#​1212](https://togithub.com/onsi/ginkgo/issues/1212)) \[[`0ac65de`](https://togithub.com/onsi/ginkgo/commit/0ac65de)] ##### Maintenance - Bump github.com/onsi/gomega from 1.27.6 to 1.27.7 ([#​1202](https://togithub.com/onsi/ginkgo/issues/1202)) \[[`3e39231`](https://togithub.com/onsi/ginkgo/commit/3e39231)] ### [`v2.9.5`](https://togithub.com/onsi/ginkgo/releases/tag/v2.9.5) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.9.4...v2.9.5) #### 2.9.5 ##### Fixes - ensure the correct deterministic sort order is produced when ordered specs are generated by a helper function \[[`7fa0b6b`](https://togithub.com/onsi/ginkgo/commit/7fa0b6b)] ##### Maintenance - fix generators link ([#​1200](https://togithub.com/onsi/ginkgo/issues/1200)) \[[`9f9d8b9`](https://togithub.com/onsi/ginkgo/commit/9f9d8b9)] - Bump golang.org/x/tools from 0.8.0 to 0.9.1 ([#​1196](https://togithub.com/onsi/ginkgo/issues/1196)) \[[`150e3f2`](https://togithub.com/onsi/ginkgo/commit/150e3f2)] - fix spelling err in docs ([#​1199](https://togithub.com/onsi/ginkgo/issues/1199)) \[[`0013b1a`](https://togithub.com/onsi/ginkgo/commit/0013b1a)] - Bump golang.org/x/sys from 0.7.0 to 0.8.0 ([#​1193](https://togithub.com/onsi/ginkgo/issues/1193)) \[[`9e9e3e5`](https://togithub.com/onsi/ginkgo/commit/9e9e3e5)] ### [`v2.9.4`](https://togithub.com/onsi/ginkgo/releases/tag/v2.9.4) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.9.3...v2.9.4) #### 2.9.4 ##### Fixes - fix hang with ginkgo -p ([#​1192](https://togithub.com/onsi/ginkgo/issues/1192)) \[[`15d4bdc`](https://togithub.com/onsi/ginkgo/commit/15d4bdc)] - this addresses a *long* standing issue related to Ginkgo hanging when a child process spawned by the test does not exit. - fix: fail fast may cause Serial spec or cleanup Node interrupted ([#​1178](https://togithub.com/onsi/ginkgo/issues/1178)) \[[`8dea88b`](https://togithub.com/onsi/ginkgo/commit/8dea88b)] - prior to this there was a small gap in which specs on other processes might start even if one process has tried to abort the suite. ##### Maintenance - Document run order when multiple setup nodes are at the same nesting level \[[`903be81`](https://togithub.com/onsi/ginkgo/commit/903be81)] ### [`v2.9.3`](https://togithub.com/onsi/ginkgo/releases/tag/v2.9.3) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.9.2...v2.9.3) #### 2.9.3 ##### Features - Add RenderTimeline to GinkgoT() \[[`c0c77b6`](https://togithub.com/onsi/ginkgo/commit/c0c77b6)] ##### Fixes - update Measure deprecation message. fixes [#​1176](https://togithub.com/onsi/ginkgo/issues/1176) \[[`227c662`](https://togithub.com/onsi/ginkgo/commit/227c662)] - add newlines to GinkgoLogr ([#​1170](https://togithub.com/onsi/ginkgo/issues/1170)) ([#​1171](https://togithub.com/onsi/ginkgo/issues/1171)) \[[`0de0e7c`](https://togithub.com/onsi/ginkgo/commit/0de0e7c)] ##### Maintenance - Bump commonmarker from 0.23.8 to 0.23.9 in /docs ([#​1183](https://togithub.com/onsi/ginkgo/issues/1183)) \[[`8b925ab`](https://togithub.com/onsi/ginkgo/commit/8b925ab)] - Bump nokogiri from 1.14.1 to 1.14.3 in /docs ([#​1184](https://togithub.com/onsi/ginkgo/issues/1184)) \[[`e3795a4`](https://togithub.com/onsi/ginkgo/commit/e3795a4)] - Bump golang.org/x/tools from 0.7.0 to 0.8.0 ([#​1182](https://togithub.com/onsi/ginkgo/issues/1182)) \[[`b453793`](https://togithub.com/onsi/ginkgo/commit/b453793)] - Bump actions/setup-go from 3 to 4 ([#​1164](https://togithub.com/onsi/ginkgo/issues/1164)) \[[`73ed75b`](https://togithub.com/onsi/ginkgo/commit/73ed75b)] - Bump github.com/onsi/gomega from 1.27.4 to 1.27.6 ([#​1173](https://togithub.com/onsi/ginkgo/issues/1173)) \[[`0a2bc64`](https://togithub.com/onsi/ginkgo/commit/0a2bc64)] - Bump github.com/go-logr/logr from 1.2.3 to 1.2.4 ([#​1174](https://togithub.com/onsi/ginkgo/issues/1174)) \[[`f41c557`](https://togithub.com/onsi/ginkgo/commit/f41c557)] - Bump golang.org/x/sys from 0.6.0 to 0.7.0 ([#​1179](https://togithub.com/onsi/ginkgo/issues/1179)) \[[`8e423e5`](https://togithub.com/onsi/ginkgo/commit/8e423e5)] ### [`v2.9.2`](https://togithub.com/onsi/ginkgo/releases/tag/v2.9.2) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.9.1...v2.9.2) #### 2.9.2 ##### Maintenance - Bump github.com/go-task/slim-sprig ([#​1167](https://togithub.com/onsi/ginkgo/issues/1167)) \[[`3fcc5bf`](https://togithub.com/onsi/ginkgo/commit/3fcc5bf)] - Bump github.com/onsi/gomega from 1.27.3 to 1.27.4 ([#​1163](https://togithub.com/onsi/ginkgo/issues/1163)) \[[`6143ffe`](https://togithub.com/onsi/ginkgo/commit/6143ffe)] ### [`v2.9.1`](https://togithub.com/onsi/ginkgo/releases/tag/v2.9.1) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.9.0...v2.9.1) #### 2.9.1 ##### Fixes This release fixes a longstanding issue where `ginkgo -coverpkg=./...` would not work. This is now resolved and fixes [#​1161](https://togithub.com/onsi/ginkgo/issues/1161) and [#​995](https://togithub.com/onsi/ginkgo/issues/995) - Support -coverpkg=./... \[[`26ca1b5`](https://togithub.com/onsi/ginkgo/commit/26ca1b5)] - document coverpkg a bit more clearly \[[`fc44c3b`](https://togithub.com/onsi/ginkgo/commit/fc44c3b)] ##### Maintenance - bump various dependencies - Improve Documentation and fix typo ([#​1158](https://togithub.com/onsi/ginkgo/issues/1158)) \[[`93de676`](https://togithub.com/onsi/ginkgo/commit/93de676)] ### [`v2.9.0`](https://togithub.com/onsi/ginkgo/releases/tag/v2.9.0) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.8.4...v2.9.0) #### 2.9.0 ##### Features - AttachProgressReporter is an experimental feature that allows users to provide arbitrary information when a ProgressReport is requested \[[`28801fe`](https://togithub.com/onsi/ginkgo/commit/28801fe)] - GinkgoT() has been expanded to include several Ginkgo-specific methods \[[`2bd5a3b`](https://togithub.com/onsi/ginkgo/commit/2bd5a3b)] The intent is to enable the development of third-party libraries that integrate deeply with Ginkgo using `GinkgoT()` to access Ginkgo's functionality. ### [`v2.8.4`](https://togithub.com/onsi/ginkgo/releases/tag/v2.8.4) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.8.3...v2.8.4) #### 2.8.4 ##### Features - Add OmitSuiteSetupNodes to JunitReportConfig ([#​1147](https://togithub.com/onsi/ginkgo/issues/1147)) \[[`979fbc2`](https://togithub.com/onsi/ginkgo/commit/979fbc2)] - Add a reference to ginkgolinter in docs.index.md ([#​1143](https://togithub.com/onsi/ginkgo/issues/1143)) \[[`8432589`](https://togithub.com/onsi/ginkgo/commit/8432589)] ##### Fixes - rename tools hack to see if it fixes things for downstream users \[[`a8bb39a`](https://togithub.com/onsi/ginkgo/commit/a8bb39a)] ##### Maintenance - Bump golang.org/x/text ([#​1144](https://togithub.com/onsi/ginkgo/issues/1144)) \[[`41b2a8a`](https://togithub.com/onsi/ginkgo/commit/41b2a8a)] - Bump github.com/onsi/gomega from 1.27.0 to 1.27.1 ([#​1142](https://togithub.com/onsi/ginkgo/issues/1142)) \[[`7c4f583`](https://togithub.com/onsi/ginkgo/commit/7c4f583)] ### [`v2.8.3`](https://togithub.com/onsi/ginkgo/releases/tag/v2.8.3) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.8.2...v2.8.3) #### 2.8.3 Released to fix security issue in golang.org/x/net dependency ##### Maintenance - Bump golang.org/x/net from 0.6.0 to 0.7.0 ([#​1141](https://togithub.com/onsi/ginkgo/issues/1141)) \[[`fc1a02e`](https://togithub.com/onsi/ginkgo/commit/fc1a02e)] - remove tools.go hack from documentation \[[`0718693`](https://togithub.com/onsi/ginkgo/commit/0718693)] ### [`v2.8.2`](https://togithub.com/onsi/ginkgo/releases/tag/v2.8.2) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.8.1...v2.8.2) #### 2.8.2 Ginkgo now includes a `tools.go` file in the root directory of the `ginkgo` package. This should allow modules that simply `go get github.com/onsi/ginkgo/v2` to also pull in the CLI dependencies. This obviates the need for consumers of Ginkgo to have their own `tools.go` file and makes it simpler to ensure that the version of the `ginkgo` CLI being used matches the version of the library. You can simply run `go run github.com/onsi/ginkgo/v2/ginkgo` to run the version of the cli associated with your package go.mod. ##### Maintenance - Bump github.com/onsi/gomega from 1.26.0 to 1.27.0 ([#​1139](https://togithub.com/onsi/ginkgo/issues/1139)) \[[`5767b0a`](https://togithub.com/onsi/ginkgo/commit/5767b0a)] - Fix minor typos ([#​1138](https://togithub.com/onsi/ginkgo/issues/1138)) \[[`e1e9723`](https://togithub.com/onsi/ginkgo/commit/e1e9723)] - Fix link in V2 Migration Guide ([#​1137](https://togithub.com/onsi/ginkgo/issues/1137)) \[[`a588f60`](https://togithub.com/onsi/ginkgo/commit/a588f60)] ### [`v2.8.1`](https://togithub.com/onsi/ginkgo/releases/tag/v2.8.1) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.8.0...v2.8.1) #### 2.8.1 ##### Fixes - lock around default report output to avoid triggering the race detector when calling By from goroutines \[[`2d5075a`](https://togithub.com/onsi/ginkgo/commit/2d5075a)] - don't run ReportEntries through sprintf \[[`febbe38`](https://togithub.com/onsi/ginkgo/commit/febbe38)] ##### Maintenance - Bump golang.org/x/tools from 0.5.0 to 0.6.0 ([#​1135](https://togithub.com/onsi/ginkgo/issues/1135)) \[[`11a4860`](https://togithub.com/onsi/ginkgo/commit/11a4860)] - test: update matrix for Go 1.20 ([#​1130](https://togithub.com/onsi/ginkgo/issues/1130)) \[[`4890a62`](https://togithub.com/onsi/ginkgo/commit/4890a62)] - Bump golang.org/x/sys from 0.4.0 to 0.5.0 ([#​1133](https://togithub.com/onsi/ginkgo/issues/1133)) \[[`a774638`](https://togithub.com/onsi/ginkgo/commit/a774638)] - Bump github.com/onsi/gomega from 1.25.0 to 1.26.0 ([#​1120](https://togithub.com/onsi/ginkgo/issues/1120)) \[[`3f233bd`](https://togithub.com/onsi/ginkgo/commit/3f233bd)] - Bump github-pages from 227 to 228 in /docs ([#​1131](https://togithub.com/onsi/ginkgo/issues/1131)) \[[`f9b8649`](https://togithub.com/onsi/ginkgo/commit/f9b8649)] - Bump activesupport from 6.0.6 to 6.0.6.1 in /docs ([#​1127](https://togithub.com/onsi/ginkgo/issues/1127)) \[[`6f8c042`](https://togithub.com/onsi/ginkgo/commit/6f8c042)] - Update index.md with instructions on how to upgrade Ginkgo \[[`833a75e`](https://togithub.com/onsi/ginkgo/commit/833a75e)] ### [`v2.8.0`](https://togithub.com/onsi/ginkgo/releases/tag/v2.8.0) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.7.1...v2.8.0) #### 2.8.0 ##### Features - Introduce GinkgoHelper() to track and exclude helper functions from potential CodeLocations \[[`e19f556`](https://togithub.com/onsi/ginkgo/commit/e19f556)] Modeled after `testing.T.Helper()`. Now, rather than write code like: ```go func helper(model Model) { Expect(model).WithOffset(1).To(BeValid()) Expect(model.SerialNumber).WithOffset(1).To(MatchRegexp(/[a-f0-9]*/)) } ``` you can stop tracking offsets (which makes nesting composing helpers nearly impossible) and simply write: ```go func helper(model Model) { GinkgoHelper() Expect(model).To(BeValid()) Expect(model.SerialNumber).To(MatchRegexp(/[a-f0-9]*/)) } ``` - Introduce GinkgoLabelFilter() and Label().MatchesLabelFilter() to make it possible to programmatically match filters (fixes [#​1119](https://togithub.com/onsi/ginkgo/issues/1119)) \[[`2f6597c`](https://togithub.com/onsi/ginkgo/commit/2f6597c)] You can now write code like this: ```go BeforeSuite(func() { if Label("slow").MatchesLabelFilter(GinkgoLabelFilter()) { // do slow setup } if Label("fast").MatchesLabelFilter(GinkgoLabelFilter()) { // do fast setup } }) ``` to programmatically check whether a given set of labels will match the configured `--label-filter`. ##### Maintenance - Bump webrick from 1.7.0 to 1.8.1 in /docs ([#​1125](https://togithub.com/onsi/ginkgo/issues/1125)) \[[`ea4966e`](https://togithub.com/onsi/ginkgo/commit/ea4966e)] - cdeql: add ruby language ([#​1124](https://togithub.com/onsi/ginkgo/issues/1124)) \[[`9dd275b`](https://togithub.com/onsi/ginkgo/commit/9dd275b)] - dependabot: add bundler package-ecosystem for docs ([#​1123](https://togithub.com/onsi/ginkgo/issues/1123)) \[[`14e7bdd`](https://togithub.com/onsi/ginkgo/commit/14e7bdd)] ### [`v2.7.1`](https://togithub.com/onsi/ginkgo/releases/tag/v2.7.1) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.7.0...v2.7.1) #### 2.7.1 ##### Fixes - Bring back SuiteConfig.EmitSpecProgress to avoid compilation issue for consumers that set it manually \[[`d2a1cb0`](https://togithub.com/onsi/ginkgo/commit/d2a1cb0)] ##### Maintenance - Bump github.com/onsi/gomega from 1.24.2 to 1.25.0 ([#​1118](https://togithub.com/onsi/ginkgo/issues/1118)) \[[`cafece6`](https://togithub.com/onsi/ginkgo/commit/cafece6)] - Bump golang.org/x/tools from 0.4.0 to 0.5.0 ([#​1111](https://togithub.com/onsi/ginkgo/issues/1111)) \[[`eda66c2`](https://togithub.com/onsi/ginkgo/commit/eda66c2)] - Bump golang.org/x/sys from 0.3.0 to 0.4.0 ([#​1112](https://togithub.com/onsi/ginkgo/issues/1112)) \[[`ac5ccaa`](https://togithub.com/onsi/ginkgo/commit/ac5ccaa)] - Bump github.com/onsi/gomega from 1.24.1 to 1.24.2 ([#​1097](https://togithub.com/onsi/ginkgo/issues/1097)) \[[`eee6480`](https://togithub.com/onsi/ginkgo/commit/eee6480)] ### [`v2.7.0`](https://togithub.com/onsi/ginkgo/releases/tag/v2.7.0) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.6.1...v2.7.0) #### 2.7.0 ##### Features - Introduce ContinueOnFailure for Ordered containers \[[`e0123ca`](https://togithub.com/onsi/ginkgo/commit/e0123ca)] - Ordered containers that are also decorated with ContinueOnFailure will not stop running specs after the first spec fails. - Support for bootstrap commands to use custom data for templates ([#​1110](https://togithub.com/onsi/ginkgo/issues/1110)) \[[`7a2b242`](https://togithub.com/onsi/ginkgo/commit/7a2b242)] - Support for labels and pending decorator in ginkgo outline output ([#​1113](https://togithub.com/onsi/ginkgo/issues/1113)) \[[`e6e3b98`](https://togithub.com/onsi/ginkgo/commit/e6e3b98)] - Color aliases for custom color support ([#​1101](https://togithub.com/onsi/ginkgo/issues/1101)) \[[`49fab7a`](https://togithub.com/onsi/ginkgo/commit/49fab7a)] ##### Fixes - correctly ensure deterministic spec order, even if specs are generated by iterating over a map \[[`89dda20`](https://togithub.com/onsi/ginkgo/commit/89dda20)] - Fix a bug where timedout specs were not correctly treated as failures when determining whether or not to run AfterAlls in an Ordered container. - Ensure go test coverprofile outputs to the expected location ([#​1105](https://togithub.com/onsi/ginkgo/issues/1105)) \[[`b0bd77b`](https://togithub.com/onsi/ginkgo/commit/b0bd77b)] ### [`v2.6.1`](https://togithub.com/onsi/ginkgo/releases/tag/v2.6.1) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.6.0...v2.6.1) #### 2.6.1 ##### Features - Override formatter colors from envvars - this is a new feature but an alternative approach involving config files might be taken in the future ([#​1095](https://togithub.com/onsi/ginkgo/issues/1095)) \[[`60240d1`](https://togithub.com/onsi/ginkgo/commit/60240d1)] ##### Fixes - GinkgoRecover now supports ignoring panics that match a specific, hidden, interface \[[`301f3e2`](https://togithub.com/onsi/ginkgo/commit/301f3e2)] ##### Maintenance - Bump github.com/onsi/gomega from 1.24.0 to 1.24.1 ([#​1077](https://togithub.com/onsi/ginkgo/issues/1077)) \[[`3643823`](https://togithub.com/onsi/ginkgo/commit/3643823)] - Bump golang.org/x/tools from 0.2.0 to 0.4.0 ([#​1090](https://togithub.com/onsi/ginkgo/issues/1090)) \[[`f9f856e`](https://togithub.com/onsi/ginkgo/commit/f9f856e)] - Bump nokogiri from 1.13.9 to 1.13.10 in /docs ([#​1091](https://togithub.com/onsi/ginkgo/issues/1091)) \[[`0d7087e`](https://togithub.com/onsi/ginkgo/commit/0d7087e)] ### [`v2.6.0`](https://togithub.com/onsi/ginkgo/releases/tag/v2.6.0) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.5.1...v2.6.0) #### 2.6.0 ##### Features - `ReportBeforeSuite` provides access to the suite report before the suite begins. - Add junit config option for omitting leafnodetype ([#​1088](https://togithub.com/onsi/ginkgo/issues/1088)) \[[`956e6d2`](https://togithub.com/onsi/ginkgo/commit/956e6d2)] - Add support to customize junit report config to omit spec labels ([#​1087](https://togithub.com/onsi/ginkgo/issues/1087)) \[[`de44005`](https://togithub.com/onsi/ginkgo/commit/de44005)] ##### Fixes - Fix stack trace pruning so that it has a chance of working on windows \[[`2165648`](https://togithub.com/onsi/ginkgo/commit/2165648)] ### [`v2.5.1`](https://togithub.com/onsi/ginkgo/releases/tag/v2.5.1) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.5.0...v2.5.1) #### 2.5.1 ##### Fixes - skipped tests only show as 'S' when running with -v \[[`3ab38ae`](https://togithub.com/onsi/ginkgo/commit/3ab38ae)] - Fix typo in docs/index.md ([#​1082](https://togithub.com/onsi/ginkgo/issues/1082)) \[[`55fc58d`](https://togithub.com/onsi/ginkgo/commit/55fc58d)] - Fix typo in docs/index.md ([#​1081](https://togithub.com/onsi/ginkgo/issues/1081)) \[[`8a14f1f`](https://togithub.com/onsi/ginkgo/commit/8a14f1f)] - Fix link notation in docs/index.md ([#​1080](https://togithub.com/onsi/ginkgo/issues/1080)) \[[`2669612`](https://togithub.com/onsi/ginkgo/commit/2669612)] - Fix typo in `--progress` deprecation message ([#​1076](https://togithub.com/onsi/ginkgo/issues/1076)) \[[`b4b7edc`](https://togithub.com/onsi/ginkgo/commit/b4b7edc)] ##### Maintenance - chore: Included githubactions in the dependabot config ([#​976](https://togithub.com/onsi/ginkgo/issues/976)) \[[`baea341`](https://togithub.com/onsi/ginkgo/commit/baea341)] - Bump golang.org/x/sys from 0.1.0 to 0.2.0 ([#​1075](https://togithub.com/onsi/ginkgo/issues/1075)) \[[`9646297`](https://togithub.com/onsi/ginkgo/commit/9646297)] ### [`v2.5.0`](https://togithub.com/onsi/ginkgo/releases/tag/v2.5.0) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.4.0...v2.5.0) #### 2.5.0 ##### Ginkgo output now includes a timeline-view of the spec This commit changes Ginkgo's default output. Spec details are now presented as a **timeline** that includes events that occur during the spec lifecycle interleaved with any GinkgoWriter content. This makes is much easier to understand the flow of a spec and where a given failure occurs. The --progress, --slow-spec-threshold, --always-emit-ginkgo-writer flags and the SuppressProgressReporting decorator have all been deprecated. Instead the existing -v and -vv flags better capture the level of verbosity to display. However, a new --show-node-events flag is added to include node `> Enter` and `< Exit` events in the spec timeline. In addition, JUnit reports now include the timeline (rendered with -vv) and custom JUnit reports can be configured and generated using `GenerateJUnitReportWithConfig(report types.Report, dst string, config JunitReportConfig)` Code should continue to work unchanged with this version of Ginkgo - however if you have tooling that was relying on the specific output format of Ginkgo you *may* run into issues. Ginkgo's console output is not guaranteed to be stable for tooling and automation purposes. You should, instead, use Ginkgo's JSON format to build tooling on top of as it has stronger guarantees to be stable from version to version. ##### Features - Provide details about which timeout expired \[[`0f2fa27`](https://togithub.com/onsi/ginkgo/commit/0f2fa27)] ##### Fixes - Add Support Policy to docs \[[`c70867a`](https://togithub.com/onsi/ginkgo/commit/c70867a)] ##### Maintenance - Bump github.com/onsi/gomega from 1.22.1 to 1.23.0 ([#​1070](https://togithub.com/onsi/ginkgo/issues/1070)) \[[`bb3b4e2`](https://togithub.com/onsi/ginkgo/commit/bb3b4e2)] ### [`v2.4.0`](https://togithub.com/onsi/ginkgo/releases/tag/v2.4.0) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.3.1...v2.4.0) #### 2.4.0 ##### Features - DeferCleanup supports functions with multiple-return values \[[`5e33c75`](https://togithub.com/onsi/ginkgo/commit/5e33c75)] - Add GinkgoLogr ([#​1067](https://togithub.com/onsi/ginkgo/issues/1067)) \[[`bf78c28`](https://togithub.com/onsi/ginkgo/commit/bf78c28)] - Introduction of 'MustPassRepeatedly' decorator ([#​1051](https://togithub.com/onsi/ginkgo/issues/1051)) \[[`047c02f`](https://togithub.com/onsi/ginkgo/commit/047c02f)] ##### Fixes - correcting some typos ([#​1064](https://togithub.com/onsi/ginkgo/issues/1064)) \[[`1403d3c`](https://togithub.com/onsi/ginkgo/commit/1403d3c)] - fix flaky internal_integration interupt specs \[[`2105ba3`](https://togithub.com/onsi/ginkgo/commit/2105ba3)] - Correct busted link in README \[[`be6b5b9`](https://togithub.com/onsi/ginkgo/commit/be6b5b9)] ##### Maintenance - Bump actions/checkout from 2 to 3 ([#​1062](https://togithub.com/onsi/ginkgo/issues/1062)) \[[`8a2f483`](https://togithub.com/onsi/ginkgo/commit/8a2f483)] - Bump golang.org/x/tools from 0.1.12 to 0.2.0 ([#​1065](https://togithub.com/onsi/ginkgo/issues/1065)) \[[`529c4e8`](https://togithub.com/onsi/ginkgo/commit/529c4e8)] - Bump github/codeql-action from 1 to 2 ([#​1061](https://togithub.com/onsi/ginkgo/issues/1061)) \[[`da09146`](https://togithub.com/onsi/ginkgo/commit/da09146)] - Bump actions/setup-go from 2 to 3 ([#​1060](https://togithub.com/onsi/ginkgo/issues/1060)) \[[`918040d`](https://togithub.com/onsi/ginkgo/commit/918040d)] - Bump github.com/onsi/gomega from 1.22.0 to 1.22.1 ([#​1053](https://togithub.com/onsi/ginkgo/issues/1053)) \[[`2098e4d`](https://togithub.com/onsi/ginkgo/commit/2098e4d)] - Bump nokogiri from 1.13.8 to 1.13.9 in /docs ([#​1066](https://togithub.com/onsi/ginkgo/issues/1066)) \[[`1d74122`](https://togithub.com/onsi/ginkgo/commit/1d74122)] - Add GHA to dependabot config \[[`4442772`](https://togithub.com/onsi/ginkgo/commit/4442772)] ### [`v2.3.1`](https://togithub.com/onsi/ginkgo/releases/tag/v2.3.1) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.3.0...v2.3.1) #### 2.3.1 #### Fixes Several users were invoking `ginkgo` by installing the latest version of the cli via `go install github.com/onsi/ginkgo/v2/ginkgo@latest`. When 2.3.0 was released this resulted in an influx of issues as CI systems failed due to a change in the internal contract between the Ginkgo CLI and the Ginkgo library. Ginkgo only supports running the same version of the library as the cli (which is why both are packaged in the same repository). With this patch release, the ginkgo CLI can now identify a version mismatch and emit a helpful error message. - Ginkgo cli can identify version mismatches and emit a helpful error message \[[`bc4ae2f`](https://togithub.com/onsi/ginkgo/commit/bc4ae2f)] - further emphasize that a version match is required when running Ginkgo on CI and/or locally \[[`2691dd8`](https://togithub.com/onsi/ginkgo/commit/2691dd8)] #### Maintenance - bump gomega to v1.22.0 \[[`822a937`](https://togithub.com/onsi/ginkgo/commit/822a937)] ### [`v2.3.0`](https://togithub.com/onsi/ginkgo/releases/tag/v2.3.0) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.2.0...v2.3.0) #### 2.3.0 ##### Interruptible Nodes and Timeouts Ginkgo now supports per-node and per-spec timeouts on interruptible nodes. Check out the [documentation for all the details](https://onsi.github.io/ginkgo/#spec-timeouts-and-interruptible-nodes) but the gist is you can now write specs like this: ```go It("is interruptible", func(ctx SpecContext) { // or context.Context instead of SpecContext, both are valid. // do things until `ctx.Done()` is closed, for example: req, err := http.NewRequestWithContext(ctx, "POST", "/build-widgets", nil) Expect(err).NotTo(HaveOccured()) _, err := http.DefaultClient.Do(req) Expect(err).NotTo(HaveOccured()) Eventually(client.WidgetCount).WithContext(ctx).Should(Equal(17)) }, NodeTimeout(time.Second*20), GracePeriod(5*time.Second)) ``` and have Ginkgo ensure that the node completes before the timeout elapses. If it does elapse, or if an external interrupt is received (e.g. `^C`) then Ginkgo will cancel the context and wait for the Grace Period for the node to exit before proceeding with any cleanup nodes associated with the spec. The `ctx` provided by Ginkgo can also be passed down to Gomega's `Eventually` to have all assertions within the node governed by a single deadline. ##### Features - Ginkgo now records any additional failures that occur during the cleanup of a failed spec. In prior versions this information was quietly discarded, but the introduction of a more rigorous approach to timeouts and interruptions allows Ginkgo to better track subsequent failures. - `SpecContext` also provides a mechanism for third-party libraries to provide additional information when a Progress Report is generated. Gomega uses this to provide the current state of an `Eventually().WithContext()` assertion when a Progress Report is requested. - DescribeTable now exits with an error if it is not passed any Entries \[[`a4c9865`](https://togithub.com/onsi/ginkgo/commit/a4c9865)] #### Fixes - fixes crashes on newer Ruby 3 installations by upgrading github-pages gem dependency \[[`92c88d5`](https://togithub.com/onsi/ginkgo/commit/92c88d5)] - Make the outline command able to use the DSL import \[[`1be2427`](https://togithub.com/onsi/ginkgo/commit/1be2427)] #### Maintenance - chore(docs): delete no meaning d \[[`57c373c`](https://togithub.com/onsi/ginkgo/commit/57c373c)] - chore(docs): Fix hyperlinks \[[`30526d5`](https://togithub.com/onsi/ginkgo/commit/30526d5)] - chore(docs): fix code blocks without language settings \[[`cf611c4`](https://togithub.com/onsi/ginkgo/commit/cf611c4)] - fix intra-doc link \[[`b541bcb`](https://togithub.com/onsi/ginkgo/commit/b541bcb)] ### [`v2.2.0`](https://togithub.com/onsi/ginkgo/releases/tag/v2.2.0) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.1.6...v2.2.0) #### 2.2.0 ##### Generate real-time Progress Reports \[[`f91377c`](https://togithub.com/onsi/ginkgo/commit/f91377c)] Ginkgo can now generate Progress Reports to point users at the current running line of code (including a preview of the actual source code) and a best guess at the most relevant subroutines. These Progress Reports allow users to debug stuck or slow tests without exiting the Ginkgo process. A Progress Report can be generated at any time by sending Ginkgo a `SIGINFO` (`^T` on MacOS/BSD) or `SIGUSR1`. In addition, the user can specify `--poll-progress-after` and `--poll-progress-interval` to have Ginkgo start periodically emitting progress reports if a given node takes too long. These can be overriden/set on a per-node basis with the `PollProgressAfter` and `PollProgressInterval` decorators. Progress Reports are emitted to stdout, and also stored in the machine-redable report formats that Ginkgo supports. Ginkgo also uses this progress reporting infrastructure under the hood when handling timeouts and interrupts. This yields much more focused, useful, and informative stack traces than previously. ##### Features - `BeforeSuite`, `AfterSuite`, `SynchronizedBeforeSuite`, `SynchronizedAfterSuite`, and `ReportAfterSuite` now support (the relevant subset of) decorators. These can be passed in *after* the callback functions that are usually passed into these nodes. As a result the **signature of these methods has changed** and now includes a trailing `args ...interface{}`. For most users simply using the DSL, this change is transparent. However if you were assigning one of these functions to a custom variable (or passing it around) then your code may need to change to reflect the new signature. ##### Maintenance - Modernize the invocation of Ginkgo in github actions \[[`0ffde58`](https://togithub.com/onsi/ginkgo/commit/0ffde58)] - Update reocmmended CI settings in docs \[[`896bbb9`](https://togithub.com/onsi/ginkgo/commit/896bbb9)] - Speed up unnecessarily slow integration test \[[`6d3a90e`](https://togithub.com/onsi/ginkgo/commit/6d3a90e)] ### [`v2.1.6`](https://togithub.com/onsi/ginkgo/releases/tag/v2.1.6) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.1.5...v2.1.6) #### 2.1.6 ##### Fixes - Add `SuppressProgressReporting` decorator to turn off --progress announcements for a given node \[[`dfef62a`](https://togithub.com/onsi/ginkgo/commit/dfef62a)] - chore: remove duplicate word in comments \[[`7373214`](https://togithub.com/onsi/ginkgo/commit/7373214)] ### [`v2.1.5`](https://togithub.com/onsi/ginkgo/releases/tag/v2.1.5) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.1.4...v2.1.5) #### 2.1.5 ##### Fixes - drop -mod=mod instructions; fixes [#​1026](https://togithub.com/onsi/ginkgo/issues/1026) \[[`6ad7138`](https://togithub.com/onsi/ginkgo/commit/6ad7138)] - Ensure `CurrentSpecReport` and `AddReportEntry` are thread-safe \[[`817c09b`](https://togithub.com/onsi/ginkgo/commit/817c09b)] - remove stale importmap gcflags flag test \[[`3cd8b93`](https://togithub.com/onsi/ginkgo/commit/3cd8b93)] - Always emit spec summary \[[`5cf23e2`](https://togithub.com/onsi/ginkgo/commit/5cf23e2)] - even when only one spec has failed - Fix ReportAfterSuite usage in docs \[[`b1864ad`](https://togithub.com/onsi/ginkgo/commit/b1864ad)] - fixed typo ([#​997](https://togithub.com/onsi/ginkgo/issues/997)) \[[`219cc00`](https://togithub.com/onsi/ginkgo/commit/219cc00)] - TrimRight is not designed to trim Suffix \[[`71ebb74`](https://togithub.com/onsi/ginkgo/commit/71ebb74)] - refactor: replace strings.Replace with strings.ReplaceAll ([#​978](https://togithub.com/onsi/ginkgo/issues/978)) \[[`143d208`](https://togithub.com/onsi/ginkgo/commit/143d208)] - fix syntax in examples ([#​975](https://togithub.com/onsi/ginkgo/issues/975)) \[[`b69554f`](https://togithub.com/onsi/ginkgo/commit/b69554f)] ##### Maintenance - Bump github.com/onsi/gomega from 1.20.0 to 1.20.1 ([#​1027](https://togithub.com/onsi/ginkgo/issues/1027)) \[[`e5dfce4`](https://togithub.com/onsi/ginkgo/commit/e5dfce4)] - Bump tzinfo from 1.2.9 to 1.2.10 in /docs ([#​1006](https://togithub.com/onsi/ginkgo/issues/1006)) \[[`7ae91c4`](https://togithub.com/onsi/ginkgo/commit/7ae91c4)] - Bump github.com/onsi/gomega from 1.19.0 to 1.20.0 ([#​1005](https://togithub.com/onsi/ginkgo/issues/1005)) \[[`e87a85a`](https://togithub.com/onsi/ginkgo/commit/e87a85a)] - test: add new Go 1.19 to test matrix ([#​1014](https://togithub.com/onsi/ginkgo/issues/1014)) \[[`bbefe12`](https://togithub.com/onsi/ginkgo/commit/bbefe12)] - Bump golang.org/x/tools from 0.1.11 to 0.1.12 ([#​1012](https://togithub.com/onsi/ginkgo/issues/1012)) \[[`9327906`](https://togithub.com/onsi/ginkgo/commit/9327906)] - Bump golang.org/x/tools from 0.1.10 to 0.1.11 ([#​993](https://togithub.com/onsi/ginkgo/issues/993)) \[[`f44af96`](https://togithub.com/onsi/ginkgo/commit/f44af96)] - Bump nokogiri from 1.13.3 to 1.13.6 in /docs ([#​981](https://togithub.com/onsi/ginkgo/issues/981)) \[[`ef336aa`](https://togithub.com/onsi/ginkgo/commit/ef336aa)] ### [`v2.1.4`](https://togithub.com/onsi/ginkgo/releases/tag/v2.1.4) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.1.3...v2.1.4) ##### Fixes - Numerous documentation typos - Prepend `when` when using `When` (this behavior was in 1.x but unintentionally lost during the 2.0 rewrite) \[[`efce903`](https://togithub.com/onsi/ginkgo/commit/efce903)] - improve error message when a parallel process fails to report back \[[`a7bd1fe`](https://togithub.com/onsi/ginkgo/commit/a7bd1fe)] - guard against concurrent map writes in DeprecationTracker \[[`0976569`](https://togithub.com/onsi/ginkgo/commit/0976569)] - Invoke reporting nodes during dry-run (fixes [#​956](https://togithub.com/onsi/ginkgo/issues/956) and [#​935](https://togithub.com/onsi/ginkgo/issues/935)) \[[`aae4480`](https://togithub.com/onsi/ginkgo/commit/aae4480)] - Fix ginkgo import circle \[[`f779385`](https://togithub.com/onsi/ginkgo/commit/f779385)] ### [`v2.1.3`](https://togithub.com/onsi/ginkgo/releases/tag/v2.1.3) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.1.2...v2.1.3) See for details on V2. ##### Fixes - Calling By in a container node now emits a useful error. \[[`ff12cee`](https://togithub.com/onsi/ginkgo/commit/ff12cee)] ### [`v2.1.2`](https://togithub.com/onsi/ginkgo/releases/tag/v2.1.2) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.1.1...v2.1.2) ##### Fixes - Track location of focused specs correctly in `ginkgo unfocus` \[[`a612ff1`](https://togithub.com/onsi/ginkgo/commit/a612ff1)] - Profiling suites with focused specs no longer generates an erroneous failure message \[[`8fbfa02`](https://togithub.com/onsi/ginkgo/commit/8fbfa02)] - Several documentation typos fixed. Big thanks to everyone who helped catch them and report/fix them! ### [`v2.1.1`](https://togithub.com/onsi/ginkgo/releases/tag/v2.1.1) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.1.0...v2.1.1) See for details on V2. ##### Fixes - Suites that only import the new dsl packages are now correctly identified as Ginkgo suites \[[`ec17e17`](https://togithub.com/onsi/ginkgo/commit/ec17e17)] ### [`v2.1.0`](https://togithub.com/onsi/ginkgo/releases/tag/v2.1.0) [Compare Source](https://togithub.com/onsi/ginkgo/compare/v2.0.0...v2.1.0) See for details on V2. 2.1.0 is a minor release with a few tweaks: - Introduce new DSL packages to enable users to pick-and-choose which portions of the DSL to dot-import. \[[`90868e2`](https://togithub.com/onsi/ginkgo/commit/90868e2)] More details [here](https://onsi.github.io/ginkgo/#alternatives-to-dot-importing-ginkgo). - Add error check for invalid/nil parameters to DescribeTable \[[`6f8577e`](https://togithub.com/onsi/ginkgo/commit/6f8577e)] - Myriad docs typos fixed (thanks everyone!) \[[`718542a`](https://togithub.com/onsi/ginkgo/commit/718542a), [`ecb7098`](https://togithub.com/onsi/ginkgo/commit/ecb7098), [`146654c`](https://togithub.com/onsi/ginkgo/commit/146654c), [`a8f9913`](https://togithub.com/onsi/ginkgo/commit/a8f9913), [`6bdffde`](https://togithub.com/onsi/ginkgo/commit/6bdffde), [`03dcd7e`](https://togithub.com/onsi/ginkgo/commit/03dcd7e)] ### [`v2.0.0`](https://togithub.com/onsi/ginkgo/releases/tag/v2.0.0): Ginkgo v2.0.0 [Compare Source](https://togithub.com/onsi/ginkgo/compare/v1.16.5...v2.0.0) Ginkgo v2.0.0 is a major new release of Ginkgo. The changes to Ginkgo are substantial and wide-ranging, however care has been given to ensure that most users will experience a smooth migration from V1 to V2 with relatively little work. A combined changelog and migration guides is available [here](https://onsi.github.io/ginkgo/MIGRATING_TO_V2) and the [Ginkgo docs](https://onsi.github.io/ginkgo/) have been updated to capture the new functionality in V2.

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.

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

renovate[bot] commented 1 year ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 2.x releases. But if you manually upgrade to 2.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.