NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
npm, #3651 most downloaded on npm
HTTP server mocking and expectations library for Node.js
Latest stable
15.0.6
Last release 16 days ago
05 Nov 2026
Ships fairly regularly
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
477 releases · first in 2011
Drag across the ruler to compare, or tap a release to open it.
support @mswjs/interceptors 0.45 by streaming delayed bodies wit…
types: align Definition with runtime; add rawHeaders, drop headers
Your coding agent can read these notes before it upgrades. Set up the MCP server →
## 15.0.4 (2026-10-19) ### Bug Fixes * post release fixes
count bytes, not characters, for replyContentLength (#3007) (5bfb9ed), closes String#length #2294
don't decompress an empty request body (#3042) (76d2069), closes #3041
trigger release after merge v15
Released by accident, please use continue using v14 or v15@beta
Released by accident, please use continue using v14 or v15@beta
<!--
-->
remove interceptor from scope.interceptors on nock.removeInterceptor
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
One column per quarter.