go-common/vendor/gopkg.in/h2non/gock.v1/History.md
2019-04-22 02:59:20 +00:00

2.2 KiB

v1.0.7 / 2017-12-21

  • Make MatchHost case insensitive. (#31)
  • refactor(docs): remove codesponsor :(
  • add example when request reply with error (#28)
  • feat(docs): add sponsor ad
  • Add example networking partially enabled (#23)

v1.0.6 / 2017-07-27

  • fix(#23): mock transport deadlock

v1.0.5 / 2017-07-26

  • feat(#25, #24): use content type only if missing while matching JSON/XML
  • feat(#24): add CleanUnmatchedRequests() and OffAll() public functions
  • feat(version): bump to v1.0.5
  • fix(store): use proper indent style
  • fix(mutex): use different mutex for store
  • feat(travis): add Go 1.8 CI support

v1.0.4 / 2017-02-14

  • Update README to include most up to date version (#17)
  • Update MatchBody() to compare if key + value pairs of JSON match regardless of order they are in. (#16)
  • feat(examples): add new example for unmatch case
  • refactor(docs): add pook reference

1.0.3 / 14-11-2016

  • feat(#13): adds GetUnmatchedRequests() and HasUnmatchedRequests() API functions.

1.0.2 / 10-11-2016

  • fix(#11): adds Compression() method for output HTTP traffic body compression processing and matching.

1.0.1 / 07-09-2016

  • fix(#9): missing URL query param matcher.

1.0.0 / 19-04-2016

  • feat(version): first major version release.

0.1.6 / 19-04-2016

  • fix(#7): if error configured, RoundTripper should reply with nil response.

0.1.5 / 09-04-2016

  • feat(#5): support ReplyFunc for convenience.

0.1.4 / 16-03-2016

  • feat(api): add IsDone() method.
  • fix(responder): return mock error if present.
  • feat(#4): support define request/response body from file disk.

0.1.3 / 09-03-2016

  • feat(matcher): add content type matcher helper method supporting aliases.
  • feat(interceptor): add function to restore HTTP client transport.
  • feat(matcher): add URL scheme matcher function.
  • fix(request): ignore base slash path.
  • feat(api): add Off() method for easier restore and clean up.
  • feat(store): add public API for pending mocks.

0.1.2 / 04-03-2016

  • fix(matcher): body matchers no used by default.
  • feat(matcher): add matcher factories for multiple cases.

0.1.1 / 04-03-2016

  • fix(params): persist query params accordingly.

0.1.0 / 02-03-2016

  • First release.