Releases: zimicjs/zimic
Releases · zimicjs/zimic
v0.7.0
v0.7.0 is here! 🎉
Features
- Opt-in to save intercepted requests: added the option
saveRequests
tohttp.createInterceptor()
.saveRequests
indicates whether handlers should save their intercepted requests in memory and make them accessible throughhandler.requests()
. The default value isfalse
to prevent memory leaks in long-running mock servers. If you are migrating from previous versions, we recommend settingsaveRequests
totrue
only if you usehandler.requests()
. Learn more at Saving intercepted requests.
Credits
Huge thanks to @diego-aquino for helping!
Full Changelog: v0.6.3...v0.7.0
- feat(#zimic): opt-in request saving (#210) by @diego-aquino in #224
- fix(ci): disable remote caching in release tasks by @diego-aquino in #225
- chore(release): v0.7.0 by @diego-aquino in #226
v0.7.0-canary.1
Fixes
- fix(ci): disable remote caching in release tasks by @diego-aquino in #225
Full Changelog: v0.7.0-canary.0...v0.7.0-canary.1
v0.7.0-canary.0
Features
- feat(#zimic): opt-in request saving (#210) by @diego-aquino in #224
Full Changelog: v0.6.3...v0.7.0-canary.0
v0.6.3
v0.6.3 is here! 🎉
Fixes
- Improvements to empty schemas: changed
HttpHeaders
andHttpSearchParams
to be strict when noheaders
orsearchParams
are declared in a request or response schema. Now, trying to use any properties will show a type error instead of only returningnever
. This provides more type safety to the headers and search params methods:get()
,getAll()
,set()
,append()
,has()
, anddelete()
. - Partial restriction types: improved the restriction types to be partial related to the request schema, following more closely the behavior that restrictions are not exact by default.
- Computed responses with multiple status codes: fixed the type validation when working with computed response handlers that might return different status codes. such as depending on conditionals.
Credits
Huge thanks to @diego-aquino for helping!
Full Changelog: v0.6.2...v0.6.3
- 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
- chore(root): upgrade pnpm and turbo to latest version by @diego-aquino in #218
- build(#zimic): build improvements by @diego-aquino in #219
- perf(ci): cache improvements by @diego-aquino in #220
- docs(#zimic): v0.6.3 (#214) by @diego-aquino in #221
- chore(release):
v0.6.3
by @diego-aquino in #222
v0.6.3-canary.3
Performance
- perf(ci): cache improvements by @diego-aquino in #220
Documentation
- docs(#zimic): v0.6.3 (#214) by @diego-aquino in #221
Full Changelog: v0.6.3-canary.2...v0.6.3-canary.3
v0.6.3-canary.2
Build
- build(#zimic): build improvements by @diego-aquino in #219
Full Changelog: v0.6.3-canary.1...v0.6.3-canary.2
v0.6.3-canary.1
Chore
- chore(root): upgrade pnpm and turbo to latest version by @diego-aquino in #218
Full Changelog: v0.6.3-canary.0...v0.6.3-canary.1
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