NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #3651 most downloaded on npm
HTTP server mocking and expectations library for Node.js
Last release 13 days ago
21 Sep 2026
Ships fairly regularly
a new release about every 5 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
2 versions withdrawn
withdrawn after publishing
15 years old
470 releases · first in 2011
Released by accident, please use continue using v14 or v15@beta
Released by accident, please use continue using v14 or v15@beta
<!--
-->
One column per quarter.
reset stateful regexps when matching request data
backport: apply body delay before the response end
TCP/TLS wrap-based interception
remove interceptor from scope.interceptors
Convert nock to TypeScript + ESM
Vendor prod dependency on json-stringify-safe
add passthrough() method to interceptors
address timeout issue with mocked timers
@mswjs/interceptors to fix a memory leak (#2938) (025db76)repair content-length headers for reconstituted JSON payloads
# 15.0.0-beta.6 (2025-08-26) ### Features * add no match reasons
ClientRequest: requests with 'Expect: 100-continue' pass through
Undici duplex support for POST requests using fetch
# 15.0.0-beta.3 (2025-05-30) ### Features * no match return 501 response
apply body delay before the response end
align nock's API toward web standards
remove interceptor from scope.interceptors on nock.removeInterceptor
guard against AbortSignal-aborted requests in response handler ( #2977 ) ( 2d68e8a ), closes #2949
Revert "fix(backport): apply body delay before the response end" ( #2973 ) ( de5450c ), closes #2969
backport: apply body delay before the response end
types: align Definition with runtime; add rawHeaders, drop headers
prevent crash when query params have conflicting dot-notation keys
restore github actions write permissions
Use Error objects instead of plain objects with replyWithError()
address timeout issue with mocked timers (Revert #2880)
ClientRequest: support http.Agent instances as agents for https requests
address timeout issue with mocked timers
## 14.0.6 (2025-07-19) ### Bug Fixes * upgrade interceptors
use of a fetch() recording that uses gzip compression is missing the headers, Possible EventEmitter memory leak when used together with MongoDBContain
ClientRequest: support get with body
fetch: cloned response return correct url
back: request body unusable in update mode
recorder: response body accessed multiple times in parallel requests
### BREAKING CHANGES * drop support for Node < 18 ### Features * support for native fetch
backport: memory leaks due to timer references outliving the timers
fs.createReadStream lazily (#2357) (ba9fc42)activeMocks() and pendingMocks() (#2356) (7e957b3)recorder: recompress fetch body on record
fetch: add support for aborting requests using AbortSignal
fetch: support Content-Encoding response header
fetch: await response listener before resolving the response promise
deps: bump @mswjs/interceptors to ^0.35.6
fetch: rebase relative redirect URL against request.url
# 14.0.0-beta.12 (2024-09-09) ### Bug Fixes * fetch: support fetch redirect
upgrade interceptors (+trigger release)
memory leaks due to timer references outliving the timers
support lowercase HTTP request methods
@mswjs/interceptors for mocking
avoid closing an already closed stream
mapValues should not update the object in place
# 14.0.0-beta.5 (2024-02-26) ### Bug Fixes * replace debug with node debug
fetch support compressed responses
# 14.0.0-beta.3 (2024-02-17) ### Bug Fixes * fetch response status text
add fetch to the restore function
# 14.0.0-beta.1 (2024-02-03) ### Features * native fetch mocking (#2580) (8b8c0c2) ### BREAKING CHANGES * drop support for Node < 18
types: return type of BackOptions.afterRecord
backport: memory leaks due to timer references outliving the timers
call fs.createReadStream lazily
## 13.5.3 (2024-02-17) ### Bug Fixes * support literal query string
remove duplicates from activeMocks() and pendingMocks()
memory leak when using nock with jest
# 13.5.0 (2024-01-14) ### Features * add Scope#clone() method
Your coding agent can read these notes before it upgrades. Set up the MCP server →