Releases: zimicjs/zimic
Releases · zimicjs/zimic
v0.6.3-canary.0
Fixes
- fix(#zimic): strict empty
HttpHeaders
andHttpSearchParams
schemas (#211) by @diego-aquino in #215 - fix(#zimic): partial restriction types by @diego-aquino in #216
- fix(#zimic): computed responses with multiple status codes (#213) by @diego-aquino in #217
Full Changelog: v0.6.2...v0.6.3-canary.0
v0.6.2
v0.6.2 is here! 🎉
Fixes
- File support improvements: improved the serialization algorithm in remote interceptors to better support to binary files. Previously, binary content could be transferred incorrectly between remote interceptors and interceptor servers. Now, responses with non-text data, such as PDF files and videos, should no longer be affected.
Chore
- Dependency updates: some dependencies used internally by Zimic were updated!
Credits
Huge thanks to @diego-aquino for helping!
Full Changelog: v0.6.1...v0.6.2
- chore: bump the npm group with 4 updates by @dependabot in #202
- chore: bump the npm group with 3 updates by @dependabot in #205
- fix(#zimic): file support improvements by @diego-aquino in #207
- chore(release): v0.6.2 by @diego-aquino in #208
v0.6.2-canary.0
Fixes
- fix(#zimic): file support improvements by @diego-aquino in #207
Chore
- chore: bump the npm group with 4 updates by @dependabot in #202
- chore: bump the npm group with 3 updates by @dependabot in #205
Full Changelog: v0.6.1...v0.6.2-canary.0
v0.6.1
v0.6.1 is here! 🎉
Documentation
- Snippet improvements: added more code snippets about using non-JSON bodies and restrictions. Additionally, many descriptions are now more concise and the local/remote snippets are easier to read and displayed vertically.
Credits
Huge thanks to @diego-aquino for helping!
Full Changelog: v0.6.0...v0.6.1
- docs: non-json body code snippets by @diego-aquino in #201
- chore(release): v0.6.1 by @diego-aquino in #203
v0.6.1-canary.0
Documentation
- docs: non-json body code snippets by @diego-aquino in #201
Full Changelog: v0.6.0...v0.6.1-canary.0
v0.6.0
v0.6.0 is here! 🎉
Features
- Extended request and response body support: added support to FormData, URLSearchParams, Blob, and plain text. Request and response bodies are automatically parsed based on the
content-type
header. If nocontent-type
is present, Zimic will try to parse the body as JSON and fall back to plain text if it fails. Non-JSON bodies are fully supported in restrictions as well! - Improved error handling: if an error happens while handling a request, Zimic now logs useful information to the console and treats the request as unhandled. Previously, errors could cause interceptor severs to stop and requests to receive a 500 response.
Note
Breaking changes between >= v0.1.0 and < v0.6.0
- Renamed the following error classes exported from
zimic/interceptor
:UnknownHttpInterceptorPlatform
-> renamed toUnknownHttpInterceptorPlatformError
UnregisteredServiceWorkerError
-> renamed toUnregisteredBrowserServiceWorkerError
Credits
Huge thanks to @diego-aquino for helping!
Full Changelog: v0.5.3...v0.6.0
- chore: dependabot updates by @diego-aquino in #185
- chore(ci): add dependency update ignores by @diego-aquino in #188
- chore(deps): bump the npm group with 31 updates by @dependabot in #187
- chore(deps): bump @types/superagent from 8.1.6 to 8.1.7 in the npm group by @dependabot in #189
- feat(#zimic): non-json body support by @diego-aquino in #191
- feat(#zimic): computed response and interceptor server error handling by @diego-aquino in #193
- feat(#zimic): support non-json body restrictions (#14) by @diego-aquino in #194
- chore(examples): ignore same host request logs by @diego-aquino in #196
- refactor(#zimic)!: improve error exports by @diego-aquino in #197
- docs: v0.6 (#27) by @diego-aquino in #195
- docs: fix collapsible sections on
README.md
by @diego-aquino in #199 - chore(release): v0.6.0 by @diego-aquino in #198
v0.6.0-canary.4
Documentation
- docs: fix collapsible sections on
README.md
by @diego-aquino in #199
Full Changelog: v0.6.0-canary.3...v0.6.0-canary.4
v0.6.0-canary.3
Refactoring
- refactor(#zimic)!: improve error exports by @diego-aquino in #197
Documentation
- docs: v0.6 (#27) by @diego-aquino in #195
Chore
- chore(examples): ignore same host request logs by @diego-aquino in #196
Note
Breaking changes between >= v0.1.0 and < v0.6.0-canary.2
- Renamed the following error classes exported from
zimic/interceptor
:UnknownHttpInterceptorPlatform
-> renamed toUnknownHttpInterceptorPlatformError
UnregisteredServiceWorkerError
-> renamed toUnregisteredBrowserServiceWorkerError
Full Changelog: v0.6.0-canary.2...v0.6.0-canary.3
v0.6.0-canary.2
Features
- feat(#zimic): support non-json body restrictions (#14) by @diego-aquino in #194
Full Changelog: v0.6.0-canary.1...v0.6.0-canary.2
v0.6.0-canary.1
Features
- feat(#zimic): computed response and interceptor server error handling by @diego-aquino in #193
Full Changelog: v0.6.0-canary.0...v0.6.0-canary.1