Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: onsi/gomega
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.34.2
Choose a base ref
...
head repository: onsi/gomega
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.36.0
Choose a head ref
  • 14 commits
  • 40 files changed
  • 6 contributors

Commits on Oct 29, 2024

  1. Add EnforceDefaultTimeoutsWhenUsingContexts()

    Resolves #781
    onsi committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    e4c4265 View commit details
    Browse the repository at this point in the history
  2. bump all dependencies

    onsi committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    a05a416 View commit details
    Browse the repository at this point in the history
  3. grrr. go mod tidy

    onsi committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    1b717d7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e35358d View commit details
    Browse the repository at this point in the history
  5. stop memoizing result of HaveField

    fixes #787
    onsi committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    3bdbc4e View commit details
    Browse the repository at this point in the history
  6. Add Successfully() to StopTrying() to signal that Consistently can en…

    …d early without failure
    
    fixes #786
    onsi committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    eeca931 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5deaf23 View commit details
    Browse the repository at this point in the history
  8. v1.35.0

    onsi committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    d6331f9 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2024

  1. Export EnforceDefaultTimeoutsWhenUsingContexts and DisableDefaultTime…

    …outsWhenUsingContext
    
    fix: #790
    
    Signed-off-by: Toshikuni Fukaya <[email protected]>
    toshipp authored and onsi committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    ca36da1 View commit details
    Browse the repository at this point in the history
  2. v1.35.1

    onsi committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    9f5a208 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2024

  1. Fix some typos in docs

    fkmy authored and onsi committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    8e924d7 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2024

  1. Replace min/max helpers with built-in min/max

    We can use the built-in `min` and `max` functions since Go 1.21.
    
    Reference: https://go.dev/ref/spec#Min_and_max
    Signed-off-by: Eng Zer Jun <[email protected]>
    Juneezee authored and onsi committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    ece6872 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2024

  1. new: make collection-related matchers Go 1.23 iterator aware

    - new internal helper package for dealing with Go 1.23 iterators
      via reflection; for Go versions before 1.23 this package provides
      the same helper functions as stubs instead, shielding both the
      matchers code base as well as their tests from any code that
      otherwise would not build on pre-iterator versions. This allows
      to keep new iterator-related matcher code and associated tests
      inline, hopefully ensuring good maintainability.
    - with the exception of ContainElements and ConsistOf, the other
      iterator-aware matchers do not need to go through producing all
      collection elements first in order to work on a slice of these
      elements. Instead, they directly work on the collection elements
      individually as their iterator produces them.
    - BeEmpty: iter.Seq, iter.Seq2 w/ tests
    - HaveLen: iter.Seq, iter.Seq2 w/ tests
    - HaveEach: iter.Seq, iter.Seq2 w/ tests
    - ContainElement: iter.Seq, iter.Seq2 w/ tests
    - HaveExactElements: iter.Seq, iter.Seq2 w/ tests
    - ContainElements: iter.Seq, iter.Seq2 w/ tests
    - ConsistOf: iter.Seq, iter.Seq2 w/ test
    - HaveKey: iter.Seq2 only w/ test
    - HaveKeyWithValue: iter.Seq2 only w/ test
    - updated documentation.
    
    Signed-off-by: thediveo <[email protected]>
    thediveo authored and onsi committed Nov 24, 2024
    Configuration menu
    Copy the full SHA
    4c964c6 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2024

  1. v1.36.0

    onsi committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    f1ff459 View commit details
    Browse the repository at this point in the history
Loading