Releases: gavv/httpexpect
Releases · gavv/httpexpect
v2.17.0
- Rename
Match.IndextoSubmatch(gh-252) - Rename
Match.NametoNamedSubmatch(gh-252) - Rename
Match.Values/NotValuestoHasSubmatches/NotHasSubmatches(gh-252) - Rename
Cookie.HasMaxAge/NotContainsMaxAgetoContainsMaxAge/NotContainsMaxAge(gh-252) - Add
Response.Readerfor accessing response body directly (gh-382) - Add
Request.WithRetryPolicyFunc(gh-435) - Add
Request.WithQueryEncoderandQueryEncoderFormKeepZeros(gh-438) - Add
Number.InDeltaRelative(gh-306) - Add
Object.Length - Update
Request.WithPathto always format floats in decimal notation (gh-449) - Fix panic in
DebugPrinterwhen printing body (gh-444) - Fix bugs in
NewMatchC()andNewWebsocketMessageC() - Improve test coverage
- Improve documentation and examples
- Add TLS example (gh-205)
- Bump some dependencies
v2.16.0
- Bump minimum Go version to 1.19
- Rename
Response.ContentType/ContentEncoding/TransferEncodingtoHasXxx(#252) - Add
Request.WithReporterandWithAssertionHandler(#234) - Add stacktrace printing support (#160)
- Colorize JSON values (#334)
- Colorize HTTP requests and responses (#343)
- Prevent panic if
flag.Parsehasn't been called (#410) - Refactor and cleanup tests
- Improve test coverage
- Improve documentation
- Improve CI
v2.15.0
- 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
AssertReporterandRequireReporter(1e30c27) - Update documentation
- Improve test coverage
- Refactor and cleanup tests
v2.14.0
v2.13.0
- Rename
Object.ValueEqualtoHasValue(#252) - Add
Array.HasValueandNotHasValue(#286) - Rename
Array.ElementtoValue(#252) - Add
Number.IsInt,IsUint,IsFinite(#155) - Add
Environment.ListandGlob(#259) - Add
Environment.Clearmethod (#260) - Deprecate
Array.FirstandLast - Preparations to make lib thread-safe (#233)
- Improve documentation
- Improve test coverage
- Refactor and cleanup tests
v2.12.0
- Rename
Value.NulltoIsNull(#252) - Rename
Boolean.TrueandBoolean.FalsetoIsTrueandIsFalse(#252) - Correctly fill
AssertionContext.Responsefield - Panic on invalid
AssertionHandler - Add
String.InListFoldandNotInListFold(#261) - Deprecate
RetryTemporaryNetworkErrorsandRetryTemporaryNetworkAndServerErrors, addRetryTimeoutErrorsandRetryTimeoutAndServerErrors(#270) - Lazy reading of response body (#244)
- Preparations to make lib thread-safe (#233)
- Improve documentation
- Improve test coverage
v2.11.0
- Add
FatalReporterstruct (#187) - Add
Environment.Deletemethod (#235) - Add
Value.Decodemethod (#192) - Rename
EmptytoIsEmpty(#252) - Rename
EqualtoIsEqual(#252) - Add
DefaultFormatter.FloatFormatoption, rework formatting of numbers (#190) - Add
InListmethod (#250) - Add
Value.IsXxxmethods (#253) - Improve documentation
- Improve test coverage
v2.10.0
- Add
Decodemethod (#192) - Add
Aliasmethod (#171) - Rename
Array.ContainstoArray.ContainsAll(#252) - Rename
Array.ElementstoArray.ConsistsOf(#252) - Rename
Cookie.HaveMaxAgetoCookie.HasMaxAge(#252) - Rename
DateTime.GetXxxtoDateTime.Xxx(#252) - Preparations to make lib thread-safe (#229)
- Check call order of
Requestmethods (#162) - Improve documentation
- Improve test coverage