Skip to content

v3.0.0

Choose a tag to compare

@LaunchDarklyReleaseBot LaunchDarklyReleaseBot released this 29 Aug 18:28
· 18 commits to main since this release

[3.0.0] - 2022-08-29

Added:

  • TryReceive, RequireValue, AssertNoMoreValues, AssertChannelClosed, AssertChannelNotClosed: new generics-based helpers related to channels.
  • WithTempFileData, WithTempDir: new filesystem helpers.
  • jsonhelpers.AssertEqual, jsonhelpers.Value: a simpler way to do JSON equality assertions and get the diff format that's provided by this package, without having to use the matchers API.
  • testbox.ShouldFail, testbox.ShouldFailAndExitEarly: for making assertions about assertion logic.

Changed:

  • The minimum Go version is now 1.18.