Skip to content

v0.35.0

Choose a tag to compare

@ainar-g ainar-g released this 07 Oct 15:30
· 34 commits to master since this release

Changed

  • hostsfile.NewDefaultStorage, hostsfile.Parse, hostsfile.Set.Add, and hostsfile.HandleSet.HandleInvalid all take a context argument now.

  • testutil.AssertMarshalText and testutil.AssertUnmarshalText are now type-generic.

  • testutil.AssertErrorMsg and testutil.RequireTypeAssert now accept types from packages assert and require.

Fixed

  • testutil.RequireTypeAssert now works with interfaces.