Skip to content

Releases: gavv/httpexpect

v2.16.0

03 Oct 09:26
Compare
Choose a tag to compare
  • Bump minimum Go version to 1.19
  • Rename Response.ContentType/ContentEncoding/TransferEncoding to HasXxx (#252)
  • Add Request.WithReporter and WithAssertionHandler (#234)
  • Add stacktrace printing support (#160)
  • Colorize JSON values (#334)
  • Colorize HTTP requests and responses (#343)
  • Prevent panic if flag.Parse hasn't been called (#410)
  • Refactor and cleanup tests
  • Improve test coverage
  • Improve documentation
  • Improve CI

v2.15.0

04 Apr 10:54
Compare
Choose a tag to compare
  • Bump minimal Go version to 1.17
  • Bump golang.org/x/net to 0.7.0
  • Support colored output (#161, #335)
  • Support thousand separation when formatting numbers (#274)
  • Print HTTP request and response in failure message (#159)
  • Add RequestFactoryFunc, ClientFunc, WebsocketDialerFunc, ReporterFunc, LoggerFunc (#249)
  • Add PanicReporter (#248)
  • Fix error messages in AssertReporter and RequireReporter (1e30c27)
  • Update documentation
  • Improve test coverage
  • Refactor and cleanup tests

v2.14.0

03 Mar 21:39
Compare
Choose a tag to compare
  • Bump minimal Go version to 1.16
  • Bump golang.org/x/net to 0.7.0
  • Fix handling of DefaultFormatter.LineWidth
  • Update documentation
  • Improve test coverage
  • Refactor and cleanup tests

v2.13.0

23 Feb 13:05
Compare
Choose a tag to compare
  • Rename Object.ValueEqual to HasValue (#252)
  • Add Array.HasValue and NotHasValue (#286)
  • Rename Array.Element to Value (#252)
  • Add Number.IsInt, IsUint, IsFinite (#155)
  • Add Environment.List and Glob (#259)
  • Add Environment.Clear method (#260)
  • Deprecate Array.First and Last
  • Preparations to make lib thread-safe (#233)
  • Improve documentation
  • Improve test coverage
  • Refactor and cleanup tests

v2.12.0

08 Feb 13:44
884a01c
Compare
Choose a tag to compare
  • Rename Value.Null to IsNull (#252)
  • Rename Boolean.True and Boolean.False to IsTrue and IsFalse (#252)
  • Correctly fill AssertionContext.Response field
  • Panic on invalid AssertionHandler
  • Add String.InListFold and NotInListFold (#261)
  • Deprecate RetryTemporaryNetworkErrors and RetryTemporaryNetworkAndServerErrors, add RetryTimeoutErrors and RetryTimeoutAndServerErrors (#270)
  • Lazy reading of response body (#244)
  • Preparations to make lib thread-safe (#233)
  • Improve documentation
  • Improve test coverage

v2.11.0

01 Feb 15:12
Compare
Choose a tag to compare
  • Add FatalReporter struct (#187)
  • Add Environment.Delete method (#235)
  • Add Value.Decode method (#192)
  • Rename Empty to IsEmpty (#252)
  • Rename Equal to IsEqual (#252)
  • Add DefaultFormatter.FloatFormat option, rework formatting of numbers (#190)
  • Add InList method (#250)
  • Add Value.IsXxx methods (#253)
  • Improve documentation
  • Improve test coverage

v2.10.0

28 Jan 14:19
Compare
Choose a tag to compare
  • Add Decode method (#192)
  • Add Alias method (#171)
  • Rename Array.Contains to Array.ContainsAll (#252)
  • Rename Array.Elements to Array.ConsistsOf (#252)
  • Rename Cookie.HaveMaxAge to Cookie.HasMaxAge (#252)
  • Rename DateTime.GetXxx to DateTime.Xxx (#252)
  • Preparations to make lib thread-safe (#229)
  • Check call order of Request methods (#162)
  • Improve documentation
  • Improve test coverage