Skip to content

Releases: zimicjs/zimic

v0.13.1

09 Feb 13:50
Compare
Choose a tag to compare

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

v0.13.1-canary.0

09 Feb 12:07
Compare
Choose a tag to compare
v0.13.1-canary.0 Pre-release
Pre-release

Chore

Full Changelog: v0.13.0...v0.13.1-canary.0

v0.13.0

08 Feb 18:18
Compare
Choose a tag to compare

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 (see interceptor.checkTimes() and handler.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

v0.13.0-canary.1

08 Feb 00:41
Compare
Choose a tag to compare
v0.13.0-canary.1 Pre-release
Pre-release

Features

Full Changelog: v0.13.0-canary.0...v0.13.0-canary.1

v0.13.0-canary.0

06 Feb 22:21
Compare
Choose a tag to compare
v0.13.0-canary.0 Pre-release
Pre-release

Documentation

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

02 Feb 14:26
Compare
Choose a tag to compare

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

v0.12.7-canary.0

02 Feb 14:04
Compare
Choose a tag to compare
v0.12.7-canary.0 Pre-release
Pre-release

Chore

Full Changelog: v0.12.6...v0.12.7-canary.0

v0.12.6

30 Jan 22:50
Compare
Choose a tag to compare

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

v0.12.6-canary.0

30 Jan 22:04
Compare
Choose a tag to compare
v0.12.6-canary.0 Pre-release
Pre-release

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

30 Jan 01:04
Compare
Choose a tag to compare

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 to error.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