All Versions
31
Latest Version
Avg Release Cycle
63 days
Latest Release
-

Changelog History
Page 1

  • v1.19.0

  • v1.18.1

  • v1.18.0

  • v1.17.0 Changes

    ๐Ÿ”‹ Features

    • โž• Add HaveField matcher [3a26311]
    • โž• add Error() assertions on the final error value of multi-return values (#480) [2f96943]
    • separate out offsets and timeouts (#478) [18a4723]
    • ๐Ÿ›  fix transformation error reporting (#479) [e001fab]
    • ๐Ÿ‘ allow transform functions to report errors (#472) [bf93408]

    ๐Ÿ›  Fixes

    ๐Ÿ“ฆ Stop using deprecated ioutil package (#467) [07f405d]

  • v1.16.0 Changes

    ๐Ÿ”‹ Features

    • feat: HaveHTTPStatus multiple expected values (#465) [aa69f1b]
    • feat: HaveHTTPHeaderWithValue() matcher (#463) [dd83a96]
    • feat: HaveHTTPBody matcher (#462) [504e1f2]
    • feat: formatter for HTTP responses (#461) [e5b3157]
  • v1.15.0 Changes

    ๐Ÿ›  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 Changes

    ๐Ÿ”‹ 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

    • Call Verify GHTTPWithGomega receiver funcs (#454) [496e6fd]
    • ๐Ÿ— Build a binary with an expected name (#446) [7356360]
  • v1.13.0 Changes

    ๐Ÿ”‹ Features

    • ๐Ÿ‘ gmeasure provides BETA support for benchmarking (#447) [8f2dfbf]
    • 0๏ธโƒฃ Set consistently and eventually defaults on init (#443) [12eb778]
  • v1.12.0 Changes

    ๐Ÿ”‹ Features

    • โž• Add Satisfy() matcher (#437) [c548f31]
    • ๐Ÿ‘‰ tweak truncation message [3360b8c]
    • โž• Add format.GomegaStringer (#427) [cc80b6f]
    • โž• Add Clear() method to gbytes.Buffer [c3c0920]

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fix error message in BeNumericallyMatcher (#432) [09c074a]
    • โฌ†๏ธ Bump github.com/onsi/ginkgo from 1.12.1 to 1.16.2 (#442) [e5f6ea0]
    • โฌ†๏ธ Bump github.com/golang/protobuf from 1.4.3 to 1.5.2 (#431) [adae3bf]
    • โฌ†๏ธ Bump golang.org/x/net (#441) [3275b35]
  • v1.11.0 Changes

    ๐Ÿ”‹ Features

    • ๐Ÿ”‹ feature: add index to gstruct element func (#419) [334e00d]
    • โœ… feat(gexec) Add CompileTest functions. Close #410 (#411) [47c613f]

    ๐Ÿ›  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]