Skip to content

Releases: nock/nock

v9.6.1

13 Aug 16:52
Compare
Choose a tag to compare

9.6.1 (2018-08-13)

Bug Fixes

  • set socket connecting state to always be false (ca1eea0)

v9.6.0

08 Aug 21:42
d666949
Compare
Choose a tag to compare

9.6.0 (2018-08-08)

Features

  • Allow optionally() to be called with a value, specifying if the mock should be optional (d8a2606)

v9.5.0

07 Aug 17:04
Compare
Choose a tag to compare

9.5.0 (2018-08-07)

Features

  • encode an expected buffer the same way when matching as the client (c584f7a)

v9.4.4

31 Jul 23:57
Compare
Choose a tag to compare

9.4.4 (2018-07-31)

Bug Fixes

v9.4.3

23 Jul 21:06
Compare
Choose a tag to compare

9.4.3 (2018-07-23)

Bug Fixes

  • #1171: When matching the path by function, also check the HTTP method. (9373382), closes #1171

v9.4.2

10 Jul 15:53
Compare
Choose a tag to compare

9.4.2 (2018-07-10)

Bug Fixes

  • Replaced util._extend with Object.assign due to deprecated since node v6. (7fd2329)

v9.4.1

02 Jul 17:13
Compare
Choose a tag to compare

9.4.1 (2018-07-02)

Bug Fixes

  • request overrider checks req.headers to parse body as JSON (#1157) (f81fb6d)

v9.4.0

29 Jun 20:18
Compare
Choose a tag to compare

9.4.0 (2018-06-29)

Features

  • emit 'request' event with body as third parameter (#1062) (e15820a)

v9.3.3

13 Jun 23:39
Compare
Choose a tag to compare

9.3.3 (2018-06-13)

Bug Fixes

  • match basePath as regex and path as function (#1147) (933880a)

v9.3.2

07 Jun 16:18
Compare
Choose a tag to compare

9.3.2 (2018-06-07)

Bug Fixes