Releases: zimicjs/zimic
v0.13.1
v0.13.1 is here! π
Dependencies
- βοΈ General dependency upgrades (e705302)
Credits
Huge thanks to @diego-aquino for helping!
Full Changelog: v0.13.0...v0.13.1
- chore(root): bump the npm group with 11 updates by @dependabot in #557
- chore(release): [email protected] by @diego-aquino in #558
v0.13.1-canary.0
Chore
- chore(root): bump the npm group with 11 updates by @dependabot in #557
Full Changelog: v0.13.0...v0.13.1-canary.0
v0.13.0
v0.13.0 is here! π
Features
-
π‘ Unmatched request diffs in times check errors (#340 in 90f075d):
Zimic now includes a list of unmatched requests in
TimesCheckError
messages (seeinterceptor.checkTimes()
andhandler.checkTimes()
). When a times check fails for a handler with restrictions, the error message shows a diff of the expected and received data:TimesCheckError: Expected exactly 1 matching request, but got 0. Requests evaluated by this handler: - Expected + Received 1: GET https://api.github.com/repos/owner/example Search params: - { "login": "ow" } + {} Learn more: https://github.com/zimicjs/zimic/wiki/apiβzimicβinterceptorβhttp#http-handlertimes β― tests/setup.ts:14:21 Caused by: handler.times(1): declared at: β― tests/example.test.ts:37:8
Dependencies
- βοΈ General dependency upgrades (f5aa488)
Credits
Huge thanks to @diego-aquino for helping!
Full Changelog: v0.12.7...v0.13.0
- docs(example-vitest-browser): remove unnecessary import by @diego-aquino in #552
- chore(deps-dev): bump vitest from 3.0.4 to 3.0.5 in the npm_and_yarn group across 1 directory by @dependabot in #553
- feat(#zimic): diff unmatched requests in times check errors (#340) by @diego-aquino in #554
- chore(release): [email protected] by @diego-aquino in #555
v0.13.0-canary.1
Features
- feat(#zimic): diff unmatched requests in times check errors (#340) by @diego-aquino in #554
Full Changelog: v0.13.0-canary.0...v0.13.0-canary.1
v0.13.0-canary.0
Documentation
- docs(example-vitest-browser): remove unnecessary import by @diego-aquino in #552
Chore
- chore(deps-dev): bump vitest from 3.0.4 to 3.0.5 in the npm_and_yarn group across 1 directory by @dependabot in #553
Full Changelog: v0.12.7-canary.0...v0.13.0-canary.0
v0.12.7
v0.12.7 is here! π
Fixes
- π§
punycode
deprecation warning on Node.js 22 (5eb01fc)
Dependencies
- βοΈ General dependency upgrades (5eb01fc)
Credits
Huge thanks to @diego-aquino for helping!
Full Changelog: v0.12.6...v0.12.7
- chore(root): bump the npm group with 13 updates by @dependabot in #549
- chore(release): [email protected] by @diego-aquino in #550
v0.12.7-canary.0
Chore
- chore(root): bump the npm group with 13 updates by @dependabot in #549
Full Changelog: v0.12.6...v0.12.7-canary.0
v0.12.6
v0.12.6 is here! π
Fixes
-
π§ Discarded pending RPC responses after a remote interceptor is stopped (bbca132)
Previously, pending RPC responses were not discarded once the interceptor was stopped, This used to cause rare
NotStartedWebSocketHandlerError
warnings if the interceptor was stopped right before responding to an interceptor server.
Credits
Huge thanks to @diego-aquino for helping!
Full Changelog: v0.12.5...v0.12.6
- fix(#zimic): discard pending replies after interceptor is stopped by @diego-aquino in #546
- chore(release): [email protected] by @diego-aquino in #547
v0.12.6-canary.0
Fixes
- fix(#zimic): discard pending replies after interceptor is stopped by @diego-aquino in #546
Full Changelog: v0.12.5...v0.12.6-canary.0
v0.12.5
v0.12.5 is here! π
Fixes
- π§ Fixed
Maximum call stack size exceeded
errors in remote interceptors (e7f52c1) - π§ Fixed web socket timeout errors in interceptor servers (aa79dd1)
Refactoring
- βοΈ Refactor
error.stack
toerror.cause
to improve logged stack traces in Vitest Browser (da14148)
Credits
Huge thanks to @diego-aquino for helping!
Full Changelog: v0.12.4...v0.12.5
- fix(#zimic): prevent stack errors when serializing client-side data by @diego-aquino in #541
- refactor(#zimic):
error.stack
toerror.cause
in times check errors by @diego-aquino in #542 - fix(#zimic): abort pending messages from closed sockets by @diego-aquino in #543
- chore(release): [email protected] by @diego-aquino in #544