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.1
Choose a head ref
  • 17 commits
  • 41 files changed
  • 7 contributors

Commits on Oct 29, 2024

  1. Add EnforceDefaultTimeoutsWhenUsingContexts()

    Resolves #781
    onsi committed Oct 29, 2024
    Copy the full SHA
    e4c4265 View commit details
  2. bump all dependencies

    onsi committed Oct 29, 2024
    Copy the full SHA
    a05a416 View commit details
  3. grrr. go mod tidy

    onsi committed Oct 29, 2024
    Copy the full SHA
    1b717d7 View commit details
  4. Copy the full SHA
    e35358d View commit details
  5. stop memoizing result of HaveField

    fixes #787
    onsi committed Oct 29, 2024
    Copy the full SHA
    3bdbc4e View commit details
  6. Add Successfully() to StopTrying() to signal that Consistently can en…

    …d early without failure
    
    fixes #786
    onsi committed Oct 29, 2024
    Copy the full SHA
    eeca931 View commit details
  7. Copy the full SHA
    5deaf23 View commit details
  8. v1.35.0

    onsi committed Oct 29, 2024
    Copy the full SHA
    d6331f9 View commit details

Commits on Oct 31, 2024

  1. Export EnforceDefaultTimeoutsWhenUsingContexts and DisableDefaultTime…

    …outsWhenUsingContext
    
    fix: #790
    
    Signed-off-by: Toshikuni Fukaya <toshikuni-fukaya@cybozu.co.jp>
    toshipp authored and onsi committed Oct 31, 2024
    Copy the full SHA
    ca36da1 View commit details
  2. v1.35.1

    onsi committed Oct 31, 2024
    Copy the full SHA
    9f5a208 View commit details

Commits on Nov 5, 2024

  1. Fix some typos in docs

    fkmy authored and onsi committed Nov 5, 2024
    Copy the full SHA
    8e924d7 View commit details

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 <engzerjun@gmail.com>
    Juneezee authored and onsi committed Nov 15, 2024
    Copy the full SHA
    ece6872 View commit details

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 <thediveo@gmx.eu>
    thediveo authored and onsi committed Nov 24, 2024
    Copy the full SHA
    4c964c6 View commit details

Commits on Nov 25, 2024

  1. v1.36.0

    onsi committed Nov 25, 2024
    Copy the full SHA
    f1ff459 View commit details

Commits on Dec 6, 2024

  1. resolves #696: make HaveField great on pointer receivers given only a…

    … non-addressable value
    
    Signed-off-by: thediveo <thediveo@gmx.eu>
    thediveo authored and onsi committed Dec 6, 2024
    Copy the full SHA
    4feb9d7 View commit details

Commits on Dec 10, 2024

  1. Fix #803

    Maxime WEYL authored and onsi committed Dec 10, 2024
    Copy the full SHA
    1c6c112 View commit details
  2. v1.36.1

    onsi committed Dec 10, 2024
    Copy the full SHA
    8bc0a2a View commit details
Loading