Releases: gavv/httpexpect
Releases · gavv/httpexpect
v2.16.0
- Bump minimum Go version to 1.19
- Rename
Response.ContentType
/ContentEncoding
/TransferEncoding
toHasXxx
(#252) - Add
Request.WithReporter
andWithAssertionHandler
(#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
- 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
andRequireReporter
(1e30c27) - Update documentation
- Improve test coverage
- Refactor and cleanup tests
v2.14.0
v2.13.0
- Rename
Object.ValueEqual
toHasValue
(#252) - Add
Array.HasValue
andNotHasValue
(#286) - Rename
Array.Element
toValue
(#252) - Add
Number.IsInt
,IsUint
,IsFinite
(#155) - Add
Environment.List
andGlob
(#259) - Add
Environment.Clear
method (#260) - Deprecate
Array.First
andLast
- Preparations to make lib thread-safe (#233)
- Improve documentation
- Improve test coverage
- Refactor and cleanup tests
v2.12.0
- Rename
Value.Null
toIsNull
(#252) - Rename
Boolean.True
andBoolean.False
toIsTrue
andIsFalse
(#252) - Correctly fill
AssertionContext.Response
field - Panic on invalid
AssertionHandler
- Add
String.InListFold
andNotInListFold
(#261) - Deprecate
RetryTemporaryNetworkErrors
andRetryTemporaryNetworkAndServerErrors
, addRetryTimeoutErrors
andRetryTimeoutAndServerErrors
(#270) - Lazy reading of response body (#244)
- Preparations to make lib thread-safe (#233)
- Improve documentation
- Improve test coverage
v2.11.0
- Add
FatalReporter
struct (#187) - Add
Environment.Delete
method (#235) - Add
Value.Decode
method (#192) - Rename
Empty
toIsEmpty
(#252) - Rename
Equal
toIsEqual
(#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
- Add
Decode
method (#192) - Add
Alias
method (#171) - Rename
Array.Contains
toArray.ContainsAll
(#252) - Rename
Array.Elements
toArray.ConsistsOf
(#252) - Rename
Cookie.HaveMaxAge
toCookie.HasMaxAge
(#252) - Rename
DateTime.GetXxx
toDateTime.Xxx
(#252) - Preparations to make lib thread-safe (#229)
- Check call order of
Request
methods (#162) - Improve documentation
- Improve test coverage