Skip to content

v0.9.0

Compare
Choose a tag to compare
@github-actions github-actions released this 20 Aug 20:58
321242c

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 and HttpInterceptorResponse#clone (#325):

    The clone method was mistakenly inherited from the Request and Response classes. It is now correctly omitted from the HttpInterceptorRequest and HttpInterceptorResponse interfaces. If you need to clone intercepted requests, use the request.raw.clone() or request.response.raw.clone().

Documentation

Credits

Huge thanks to @diego-aquino for helping!

Full Changelog: v0.8.4...v0.9.0