v0.9.0
v0.9.0 is here! 🎉
Features
-
⚙️ Improved utility types (#320, #333):
Some HTTP and interceptor utility types have been renamed to simplify their usage. The changed types are still available with their old names, but they are now deprecated and will be removed in v0.10.
See the full list of renamed types:
Previous (now deprecated) Renamed to HttpServiceSchema
HttpSchema
HttpServiceMethodsSchema
HttpMethodsSchema
HttpServiceMethodsSchema
HttpMethodsSchema
HttpServiceMethodSchema
HttpMethodSchema
HttpServiceRequestSchema
HttpRequestSchema
HttpServiceResponseSchemaByStatusCode
HttpResponseSchemaByStatusCode
HttpServiceResponseSchema
HttpResponseSchema
HttpServiceResponseSchemaStatusCode
HttpResponseSchemaStatusCode
HttpServiceSchemaMethod
HttpSchemaMethod
HttpServiceSchemaPath
HttpSchemaPath
LiteralHttpServiceSchemaPath
HttpSchemaPath.Literal
NonLiteralHttpServiceSchemaPath
HttpSchemaPath.NonLiteral
PathParamsSchemaFromPath
InferPathParams
ExtractHttpInterceptorSchema
InferHttpInterceptorSchema
Fixes
-
🔧 Omitted
HttpInterceptorRequest#clone
andHttpInterceptorResponse#clone
(#325):The
clone
method was mistakenly inherited from theRequest
andResponse
classes. It is now correctly omitted from theHttpInterceptorRequest
andHttpInterceptorResponse
interfaces. If you need to clone intercepted requests, use therequest.raw.clone()
orrequest.response.raw.clone()
.
Documentation
-
Zimic's documentation is now available as a wiki! This also includes many improvements in descriptions, examples, guides, and references. Check it out: https://github.com/zimicjs/zimic/wiki
Credits
Huge thanks to @diego-aquino for helping!
Full Changelog: v0.8.4...v0.9.0
- chore: bump the npm group with 14 updates by @dependabot in #326
- docs(wiki): create wiki documentation (#321) by @diego-aquino in #328
- fix(ci): wiki release job by @diego-aquino in #329
- fix(ci): wait until version is installable before tests by @diego-aquino in #330
- fix(ci): add write permission to wiki release workflow by @diego-aquino in #331
- feat(#zimic): improve path params and schema types (#320) by @diego-aquino in #332
- refactor(#zimic): simplify http schema type names by @diego-aquino in #333
- fix(#zimic): omit
clone
from intercepted requests and responses (#325) by @diego-aquino in #335 - chore(release): v0.9.0 by @diego-aquino in #336