Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update module github.com/onsi/gomega to v1.33.1 #65

Open
wants to merge 1 commit into
base: v8
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented May 9, 2021

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/onsi/gomega v1.10.2 -> v1.33.1 age adoption passing confidence

Release Notes

onsi/gomega (github.com/onsi/gomega)

v1.33.1

Compare Source

1.33.1

Fixes
  • fix confusing eventually docs [3a66379]
Maintenance
  • Bump github.com/onsi/ginkgo/v2 from 2.17.1 to 2.17.2 [e9bc35a]

v1.33.0

Compare Source

1.33.0

Features

Receive not accepts Receive(<POINTER>, MATCHER>), allowing you to pick out a specific value on the channel that satisfies the provided matcher and is stored in the provided pointer.

Maintenance

v1.32.0

Compare Source

1.32.0

Maintenance
  • Migrate github.com/golang/protobuf to google.golang.org/protobuf [436a197]

    This release drops the deprecated github.com/golang/protobuf and adopts google.golang.org/protobuf. Care was taken to ensure the release is backwards compatible (thanks @​jbduncan !). Please open an issue if you run into one.

  • chore: test with Go 1.22 (#​733) [32ef35e]

  • Bump golang.org/x/net from 0.19.0 to 0.20.0 (#​717) [a0d0387]

  • Bump github-pages and jekyll-feed in /docs (#​732) [b71e477]

  • docs: fix typo and broken anchor link to gstruct [f460154]

  • docs: fix HaveEach matcher signature [a2862e4]

v1.31.1

Compare Source

1.31.1

Fixes
  • Inverted arguments order of FailureMessage of BeComparableToMatcher [e0dd999]
  • Update test in case keeping msg is desired [ad1a367]
Maintenance
  • Show how to import the format sub package [24e958d]
  • tidy up go.sum [26661b8]
  • bump dependencies [bde8f7a]

v1.31.0

Compare Source

1.31.0

Features
  • Async assertions include context cancellation cause if present [121c37f]
Maintenance

v1.30.0

Compare Source

1.30.0

Features
  • BeTrueBecause and BeFalseBecause allow for better failure messages [4da4c7f]
Maintenance

v1.29.0

Compare Source

1.29.0

Features
  • MatchError can now take an optional func(error) bool + description [2b39142]

v1.28.1

Compare Source

1.28.1

Maintenance
  • Bump github.com/onsi/ginkgo/v2 from 2.12.0 to 2.13.0 [635d196]
  • Bump github.com/google/go-cmp from 0.5.9 to 0.6.0 [14f8859]
  • Bump golang.org/x/net from 0.14.0 to 0.17.0 [d8a6508]
  • #​703 doc(matchers): HaveEach() doc comment updated [2705bdb]
  • Minor typos (#​699) [375648c]

v1.28.0

Compare Source

1.28.0

Features
Fixes
  • Read Body for Newer Responses in HaveHTTPBodyMatcher (#​686) [18d6673]
Maintenance

v1.27.10

Compare Source

1.27.10

Fixes
  • fix: go 1.21 adding goroutine ID to creator+location (#​685) [bdc7803]

v1.27.9

Compare Source

v1.27.8

Compare Source

1.27.8

Fixes
  • HaveExactElement should not call FailureMessage if a submatcher returned an error [096f392]
Maintenance
  • Bump github.com/onsi/ginkgo/v2 from 2.9.5 to 2.9.7 (#​669) [8884bee]

v1.27.7

Compare Source

1.27.7

Fixes
  • fix: gcustom.MakeMatcher accepts nil as actual value (#​666) [57054d5]
Maintenance

v1.27.6

Compare Source

1.27.6

Fixes
  • Allow collections matchers to work correctly when expected has nil elements [60e7cf3]
Maintenance
  • updates MatchError godoc comment to also accept a Gomega matcher (#​654) [67b869d]

v1.27.5

Compare Source

1.27.5

Maintenance

v1.27.4

Compare Source

1.27.4

Fixes
  • improve error formatting and remove duplication of error message in Eventually/Consistently [854f075]
Maintenance
  • Bump github.com/onsi/ginkgo/v2 from 2.9.0 to 2.9.1 (#​650) [ccebd9b]

v1.27.3

Compare Source

1.27.3

Fixes
  • format.Object now always includes err.Error() when passed an error [86d97ef]
  • Fix HaveExactElements to work inside ContainElement or other collection matchers (#​648) [636757e]
Maintenance
  • Bump github.com/golang/protobuf from 1.5.2 to 1.5.3 (#​649) [cc16689]
  • Bump github.com/onsi/ginkgo/v2 from 2.8.4 to 2.9.0 (#​646) [e783366]

v1.27.2

Compare Source

1.27.2

Fixes
  • improve poll progress message when polling a consistently that has been passing [28a319b]
Maintenance
  • bump ginkgo
  • remove tools.go hack as Ginkgo 2.8.2 automatically pulls in the cli dependencies [81443b3]

v1.27.1

Compare Source

1.27.1

Maintenance

v1.27.0

Compare Source

1.27.0

Features
  • Add HaveExactElements matcher (#​634) [9d50783]
  • update Gomega docs to discuss GinkgoHelper() [be32774]
Maintenance

v1.26.0

Compare Source

1.26.0

Features
  • When a polled function returns an error, keep track of the actual and report on the matcher state of the last non-errored actual [21f3090]
  • improve eventually failure message output [c530fb3]
Fixes
  • fix several documentation spelling issues [e2eff1f]

v1.25.0

Compare Source

1.25.0

Features
Maintenance

v1.24.2

Compare Source

1.24.2

Fixes
Maintenance

v1.24.1

Compare Source

v1.24.0

Compare Source

1.24.0

Features

Introducting gcustom - a convenient mechanism for building custom matchers.

This is an RC release for gcustom. The external API may be tweaked in response to feedback however it is expected to remain mostly stable.

Maintenance
  • Update BeComparableTo documentation [756eaa0]

v1.23.0

Compare Source

1.23.0

Features
  • Custom formatting on a per-type basis can be provided using format.RegisterCustomFormatter() -- see the docs here

  • Substantial improvement have been made to StopTrying():

    • Users can now use StopTrying().Wrap(err) to wrap errors and StopTrying().Attach(description, object) to attach arbitrary objects to the StopTrying() error
    • StopTrying() is now always interpreted as a failure. If you are an early adopter of StopTrying() you may need to change your code as the prior version would match against the returned value even if StopTrying() was returned. Going forward the StopTrying() api should remain stable.
    • StopTrying() and StopTrying().Now() can both be used in matchers - not just polled functions.
  • TryAgainAfter(duration) is used like StopTrying() but instructs Eventually and Consistently that the poll should be tried again after the specified duration. This allows you to dynamically adjust the polling duration.

  • ctx can now be passed-in as the first argument to Eventually and Consistently.

Maintenance

v1.22.1

Compare Source

1.22.1

Fixes

  • When passed a context and no explicit timeout, Eventually will only timeout when the context is cancelled [e5105cf]
  • Allow StopTrying() to be wrapped [bf3cba9]

Maintenance

v1.22.0

Compare Source

1.22.0

Features

Several improvements have been made to Eventually and Consistently in this and the most recent releases:

  • Eventually and Consistently can take a context.Context [65c01bc]
    This enables integration with Ginkgo 2.3.0's interruptible nodes and node timeouts.
  • Eventually and Consistently that are passed a SpecContext can provide reports when an interrupt occurs [0d063c9]
  • Eventually/Consistently will forward an attached context to functions that ask for one [e2091c5]
  • Eventually/Consistently supports passing arguments to functions via WithArguments() [a2dc7c3]
  • Eventually and Consistently can now be stopped early with StopTrying(message) and StopTrying(message).Now() [52976bb]

These improvements are all documented in Gomega's docs

v1.21.1

Compare Source

v1.21.1

Features
  • Eventually and Consistently that are passed a SpecContext can provide reports when an interrupt occurs [0d063c9]

v1.21.0

Compare Source

1.21.0

Features
  • Eventually and Consistently can take a context.Context [65c01bc]
    This enables integration with Ginkgo 2.3.0's interruptible nodes and node timeouts.
  • Introduces Eventually.Within.ProbeEvery with tests and documentation (#​591) [f633800]
  • New BeKeyOf matcher with documentation and unit tests (#​590) [fb586b3]

Fixes

  • Cover the entire gmeasure suite with leak detection [8c54344]
  • Fix gmeasure leak [119d4ce]
  • Ignore new Ginkgo ProgressSignal goroutine in gleak [ba548e2]

Maintenance

  • Fixes crashes on newer Ruby 3 installations by upgrading github-pages gem dependency (#​596) [12469a0]

v1.20.2

Compare Source

1.20.2

Fixes

  • label specs that rely on remote access; bump timeout on short-circuit test to make it less flaky [35eeadf]
  • gexec: allow more headroom for SIGABRT-related unit tests (#​581) [5b78f40]
  • Enable reading from a closed gbytes.Buffer (#​575) [061fd26]

Maintenance

  • Bump github.com/onsi/ginkgo/v2 from 2.1.5 to 2.1.6 (#​583) [55d895b]
  • Bump github.com/onsi/ginkgo/v2 from 2.1.4 to 2.1.5 (#​582) [346de7c]

v1.20.1

Compare Source

1.20.1
Fixes
Maintenance

v1.20.0

Compare Source

Features
Fixes
Maintenance
1.19.0
Features
  • New HaveEach matcher to ensure that each and every element in an array, slice, or map satisfies the passed in matcher. (#​523) [9fc2ae2] (#​524) [c8ba582]
  • Users can now wrap the Gomega interface to implement custom behavior on each assertion. (#​521) [1f2e714]
  • ContainElement now accepts an additional pointer argument. Elements that satisfy the matcher are stored in the pointer enabling developers to easily add subsequent, more detailed, assertions against the matching element. (#​527) [1a4e27f]
Fixes

v1.19.0

Compare Source

Features

  • New HaveEach matcher to ensure that each and every element in an array, slice, or map satisfies the passed in matcher. (#​523) [9fc2ae2] (#​524) [c8ba582]
  • Users can now wrap the Gomega interface to implement custom behavior on each assertion. (#​521) [1f2e714]
  • ContainElement now accepts an additional pointer argument. Elements that satisfy the matcher are stored in the pointer enabling developers to easily add subsequent, more detailed, assertions against the matching element. (#​527) [1a4e27f]

Fixes

v1.18.1

Compare Source

v1.18.0

Compare Source

Features

  • Docs now live on the master branch in the docs folder which will make for easier PRs. The docs also use Ginkgo 2.0's new docs html/css/js. [2570272]
  • New HaveValue matcher can handle actuals that are either values (in which case they are passed on unscathed) or pointers (in which case they are indirected). Docs here. (#​485) [bdc087c]
  • Gmeasure has been declared GA [360db9d]

Fixes

  • Gomega now uses ioutil for Go 1.15 and lower (#​492) - official support is only for the most recent two major versions of Go but this will unblock users who need to stay on older unsupported versions of Go. [c29c1c0]

Maintenace

  • Remove Travis workflow (#​491) [72e6040]
  • Upgrade to Ginkgo 2.0.0 GA [f383637]
  • chore: fix description of HaveField matcher (#​487) [2b4b2c0]
  • use tools.go to ensure Ginkgo cli dependencies are included [f58a52b]
  • remove dockerfile and simplify github actions to match ginkgo's actions [3f8160d]

v1.17.0

Compare Source

1.17.0

Features
Fixes

Stop using deprecated ioutil package (#​467) [07f405d]

v1.16.0

Compare Source

Features

v1.15.0

Compare Source

1.15.0

Fixes

The previous version (1.14.0) introduced a change to allow Eventually and Consistently to support functions that make assertions. This was accomplished by overriding the global fail handler when running the callbacks passed to Eventually/Consistently in order to capture any resulting errors. Issue #​457 uncovered a flaw with this approach: when multiple Eventuallys are running concurrently they race when overriding the singleton global fail handler.

1.15.0 resolves this by requiring users who want to make assertions in Eventually/Consistently call backs to explicitly pass in a function that takes a Gomega as an argument. The passed-in Gomega instance can be used to make assertions. Any failures will cause Eventually to retry the callback. This cleaner interface avoids the issue of swapping out globals but comes at the cost of changing the contract introduced in v1.14.0. As such 1.15.0 introduces a breaking change with respect to 1.14.0 - however we expect that adoption of this feature in 1.14.0 remains limited.

In addition, 1.15.0 cleans up some of Gomega's internals. Most users shouldn't notice any differences stemming from the refactoring that was made.

v1.14.0

Compare Source

1.14.0

Features
  • gmeasure.SamplingConfig now suppers a MinSamplingInterval [e94dbca]
  • Eventually and Consistently support functions that make assertions [2f04e6e]
    • Eventually and Consistently now allow their passed-in functions to make assertions.
      These assertions must pass or the function is considered to have failed and is retried.
    • Eventually and Consistently can now take functions with no return values. These implicitly return nil
      if they contain no failed assertion. Otherwise they return an error wrapping the first assertion failure. This allows
      these functions to be used with the Succeed() matcher.
    • Introduce InterceptGomegaFailure - an analogue to InterceptGomegaFailures - that captures the first assertion failure
      and halts execution in its passed-in callback.
Fixes

v1.13.0

Compare Source

  • Set consistently and eventually defaults on init (#​443)

    Using environment variables

    Closes #​434

    Signed-off-by: toby lorne toby@toby.codes

  • gmeasure provides BETA support for benchmarking (#​447)

    gmeasure is a new gomega subpackage intended to provide measurement and benchmarking support for durations and values. gmeasure replaces Ginkgo V1s deprecated Measure nodes and provides a migration path for users migrating to Ginkgo V2.

    gmeasure is organized around an Experiment metaphor. Experiments can record several different Measurements, with each Measurement comprised of multiple data points. Measurements can hold time.Durations and float64 values and gmeasure includes support measuring the duraiton of callback functions and for sampling functions repeatedly to build an ensemble of data points. In addition, gmeasure introduces a Stopwatch abtraction for easily measuring and recording durations of code segments.

    Once measured, users can readily generate Stats for Measurements to capture their key statistics and these stats can be ranked using a Ranking and associated RankingCriteria.

    Experiments can be Cached to disk to speed up subsequent runs. Experiments are cached by name and version number which makes it easy to manage and bust the cache.

    Finally, gmeasure integrates with Ginkgo V2 via the new ReportEntry abstraction. Experiments, Measurements, and Rankings can all be registered via AddReportEntry. Doing so generates colorful reports as part of Ginkgo's test output.

    gmeasure is currently in beta and will go GA around when Ginkgo V2 goes GA.

v1.12.0

Compare Source

Features
Fixes

v1.11.0

Compare Source

Features
Fixes
  • Check more carefully for nils in WithTransform (#​423) [3c60a15]
  • fix: typo in Makefile [b82522a]
  • Allow WithTransform function to accept a nil value (#​422) [b75d2f2]
  • fix: print value type for interface{} containers (#​409) [f08e2dc]
  • fix(BeElementOf): consistently flatten expected values [1fa9468]

v1.10.5

Compare Source

Fixes
  • fix: collections matchers should display type of expectation (#​408) [6b4eb5a]
  • fix(ContainElements): consistently flatten expected values [073b880]
  • fix(ConsistOf): consistently flatten expected values [7266efe]

v1.10.4

Compare Source

Fixes
  • update golang net library to more recent version without vulnerability (#​406) [817a8b9]
  • Correct spelling: alloted -> allotted (#​403) [0bae715]
  • fix a panic in MessageWithDiff with long message (#​402) [ea06b9b]

v1.10.3

Compare Source

Fixes
  • updates golang/x/net to fix vulnerability detected by snyk (#​394) [c479356]

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.


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

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/github.com-onsi-gomega-1.x branch from 29c65a2 to 2f3d4bf Compare June 6, 2021 19:31
@renovate renovate bot changed the title Update module github.com/onsi/gomega to v1.12.0 Update module github.com/onsi/gomega to v1.13.0 Jun 6, 2021
@renovate renovate bot force-pushed the renovate/github.com-onsi-gomega-1.x branch from 2f3d4bf to 3e13b4e Compare October 20, 2021 05:26
@renovate renovate bot changed the title Update module github.com/onsi/gomega to v1.13.0 Update module github.com/onsi/gomega to v1.16.0 Oct 20, 2021
@renovate renovate bot force-pushed the renovate/github.com-onsi-gomega-1.x branch from 3e13b4e to b16537f Compare March 7, 2022 09:42
@renovate renovate bot changed the title Update module github.com/onsi/gomega to v1.16.0 Update module github.com/onsi/gomega to v1.18.1 Mar 7, 2022
@renovate renovate bot changed the title Update module github.com/onsi/gomega to v1.18.1 Update module github.com/onsi/gomega to v1.19.0 Mar 26, 2022
@renovate renovate bot force-pushed the renovate/github.com-onsi-gomega-1.x branch from b16537f to 3a2813e Compare March 26, 2022 14:47
@renovate renovate bot force-pushed the renovate/github.com-onsi-gomega-1.x branch from 3a2813e to 6e0c3b2 Compare September 25, 2022 12:38
@renovate renovate bot changed the title Update module github.com/onsi/gomega to v1.19.0 Update module github.com/onsi/gomega to v1.20.2 Sep 25, 2022
@renovate renovate bot force-pushed the renovate/github.com-onsi-gomega-1.x branch from 6e0c3b2 to bc8d7f0 Compare November 20, 2022 21:22
@renovate renovate bot changed the title Update module github.com/onsi/gomega to v1.20.2 Update module github.com/onsi/gomega to v1.24.1 Nov 20, 2022
@renovate renovate bot changed the title Update module github.com/onsi/gomega to v1.24.1 Update module github.com/onsi/gomega to v1.27.4 Mar 16, 2023
@renovate renovate bot force-pushed the renovate/github.com-onsi-gomega-1.x branch from bc8d7f0 to 7c5d8f3 Compare March 16, 2023 18:06
@renovate renovate bot force-pushed the renovate/github.com-onsi-gomega-1.x branch from 7c5d8f3 to 164b36f Compare March 23, 2023 21:29
@renovate renovate bot changed the title Update module github.com/onsi/gomega to v1.27.4 Update module github.com/onsi/gomega to v1.27.5 Mar 23, 2023
@renovate renovate bot force-pushed the renovate/github.com-onsi-gomega-1.x branch from 164b36f to 59c0b98 Compare March 30, 2023 02:55
@renovate renovate bot changed the title Update module github.com/onsi/gomega to v1.27.5 Update module github.com/onsi/gomega to v1.27.6 Mar 30, 2023
@renovate renovate bot force-pushed the renovate/github.com-onsi-gomega-1.x branch from 59c0b98 to d92f10f Compare May 28, 2023 11:12
@renovate renovate bot changed the title Update module github.com/onsi/gomega to v1.27.6 Update module github.com/onsi/gomega to v1.27.7 May 28, 2023
@renovate renovate bot changed the title Update module github.com/onsi/gomega to v1.27.7 Update module github.com/onsi/gomega to v1.27.8 Jun 7, 2023
@renovate renovate bot force-pushed the renovate/github.com-onsi-gomega-1.x branch from d92f10f to e6a0c26 Compare June 7, 2023 06:03
@renovate renovate bot changed the title Update module github.com/onsi/gomega to v1.27.8 Update module github.com/onsi/gomega to v1.27.9 Jul 22, 2023
@renovate renovate bot force-pushed the renovate/github.com-onsi-gomega-1.x branch from e6a0c26 to 604f27d Compare July 22, 2023 15:29
@renovate renovate bot changed the title Update module github.com/onsi/gomega to v1.27.9 Update module github.com/onsi/gomega to v1.27.10 Jul 24, 2023
@renovate renovate bot force-pushed the renovate/github.com-onsi-gomega-1.x branch from 604f27d to eb5a27b Compare July 24, 2023 16:08
@renovate renovate bot changed the title Update module github.com/onsi/gomega to v1.27.10 Update module github.com/onsi/gomega to v1.28.0 Sep 28, 2023
@renovate renovate bot force-pushed the renovate/github.com-onsi-gomega-1.x branch from eb5a27b to a950cf6 Compare September 28, 2023 14:36
@renovate renovate bot force-pushed the renovate/github.com-onsi-gomega-1.x branch from a950cf6 to 81546d7 Compare October 23, 2023 04:19
@renovate renovate bot changed the title Update module github.com/onsi/gomega to v1.28.0 Update module github.com/onsi/gomega to v1.28.1 Oct 23, 2023
@renovate renovate bot changed the title Update module github.com/onsi/gomega to v1.28.1 Update module github.com/onsi/gomega to v1.29.0 Oct 25, 2023
@renovate renovate bot force-pushed the renovate/github.com-onsi-gomega-1.x branch from 81546d7 to 2e87718 Compare October 25, 2023 20:09
@renovate renovate bot changed the title Update module github.com/onsi/gomega to v1.29.0 Update module github.com/onsi/gomega to v1.30.0 Nov 8, 2023
@renovate renovate bot force-pushed the renovate/github.com-onsi-gomega-1.x branch from 2e87718 to f83d4fb Compare November 8, 2023 19:18
@renovate renovate bot force-pushed the renovate/github.com-onsi-gomega-1.x branch from f83d4fb to beeb939 Compare January 18, 2024 01:26
@renovate renovate bot changed the title Update module github.com/onsi/gomega to v1.30.0 Update module github.com/onsi/gomega to v1.31.0 Jan 18, 2024
@renovate renovate bot force-pushed the renovate/github.com-onsi-gomega-1.x branch from beeb939 to 40385c4 Compare January 19, 2024 15:25
@renovate renovate bot changed the title Update module github.com/onsi/gomega to v1.31.0 Update module github.com/onsi/gomega to v1.31.1 Jan 19, 2024
@renovate renovate bot force-pushed the renovate/github.com-onsi-gomega-1.x branch from 40385c4 to fe24699 Compare March 18, 2024 18:05
@renovate renovate bot changed the title Update module github.com/onsi/gomega to v1.31.1 Update module github.com/onsi/gomega to v1.32.0 Mar 18, 2024
@renovate renovate bot force-pushed the renovate/github.com-onsi-gomega-1.x branch from fe24699 to e8ae4a6 Compare April 18, 2024 17:34
@renovate renovate bot changed the title Update module github.com/onsi/gomega to v1.32.0 Update module github.com/onsi/gomega to v1.33.0 Apr 18, 2024
@renovate renovate bot force-pushed the renovate/github.com-onsi-gomega-1.x branch from e8ae4a6 to 3f1b52c Compare April 30, 2024 04:38
@renovate renovate bot changed the title Update module github.com/onsi/gomega to v1.33.0 Update module github.com/onsi/gomega to v1.33.1 Apr 30, 2024
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.

None yet

0 participants