Gock Versions Save

HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽

v1.0.9

5 years ago

Changes

v1.0.9 / 2018-06-14

  • fix(url-encoding) add exact match test in MatchPath (#34)
  • fix(travis): use string notation for Go versions

v1.0.8

6 years ago

Changes

v1.0.8 / 2018-02-28

  • chore(LICENSE): update year ;)
  • feat(docs): add additional tips and examples
  • feat(gock): ignore already intercepted http.Client

v1.0.7

6 years ago

Changes

  • 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

6 years ago

Changes

v1.0.6 / 2017-07-27

  • fix(#23): mock transport deadlock

v1.0.5

6 years ago

Changes

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

7 years ago

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

v1.0.3

7 years ago

Changelog

1.0.3 / 14-11-2016

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

v1.0.1

7 years ago

Changelog

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