Update dependency openapi-fetch to ^0.12.0 #378
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.8.0
->^0.12.0
Release Notes
openapi-ts/openapi-typescript (openapi-fetch)
v0.12.2
Compare Source
Patch Changes
e39d11e
Thanks @yicrotkd! - ImproveMiddleware
type definition to require either onRequest or onResponsev0.12.1
Compare Source
Patch Changes
efaa1e2
Thanks @tobiasdcl! - allow usage of custom Request classv0.12.0
Compare Source
Minor Changes
b893c44
Thanks @goce-cz! - Do not set content-type on body-less requestsv0.11.3
Compare Source
Patch Changes
6038f8f
Thanks @goce-cz! - Allow falsy values (except undefined) as a valid bodyv0.11.2
Compare Source
Patch Changes
#1817
2a4b067
Thanks @Gruak! - Allow specifying baseUrl per request#1842
0e42cbb
Thanks @gzm0! - fix: allow use ofPathBasedClient
with generatedpaths
v0.11.1
Compare Source
Patch Changes
#1831
091e71a
Thanks @SebastienGllmt! - Add MethodResponse utility type to easily get the return type of an endpoint on a client#1833
cec023d
Thanks @ngraef! - Fix identification of required properties whenstrictNullChecks
is disabledUpdated dependencies [
cec023d
]:v0.11.0
Compare Source
Minor Changes
a956d5d
Thanks @gzm0! - Add support forclient["/endpoint"].GET()
style callsv0.10.6
Compare Source
Patch Changes
#1809
f21c05b
Thanks @gzm0! - perf: remove unnecessaryasync
keywords (for reduced code size)#1827
ba0d595
Thanks @ngraef! - Fix typing for environments without DOM libv0.10.5
Compare Source
Patch Changes
7698546
Thanks @thatsprettyfaroutman! - Allow FormData through defaultBodySerializerv0.10.4
Compare Source
Patch Changes
bcc9222
]:v0.10.3
Compare Source
Patch Changes
#1717
335530c
Thanks @kerwanp! - Ignore configuration files in published package#1717
335530c
Thanks @kerwanp! - Create own client type for easier reusabilityUpdated dependencies [
335530c
]:v0.10.2
Compare Source
Patch Changes
aea31a8
Thanks @swachter! - Fix: encode primitive path parametersv0.10.1
Compare Source
Patch Changes
#1719
a8f2253
Thanks @drwpow! - Remove nanoid from dependencies#1719
a8f2253
Thanks @drwpow! - Fix "failed to execute fetch on Window" error#1719
a8f2253
Thanks @drwpow! - Revert customFetch API back tofetch(input: Request)
v0.10.0
Compare Source
Minor Changes
openapi-typescript@7
is needed to work. You’ll get type errors withopenapi-typescript@6
and below.(request, options)
or(response, options)
. See Middleware docs for updated API.Content-Type
header is no longer sent by default if a body payload is attached.customFetch
type now callsfetch(input: string, init: RequestInit)
and the types have been updated, rather thanfetch(input: Request)
introduced in0.9.0
.Added
id
to middleware handlers that create a unique ID per-fetchv0.9.8
Compare Source
Patch Changes
e77ce50
Thanks @armandabric! - Expose original request on Middleware.onResponsev0.9.7
Compare Source
Patch Changes
64cb619
Thanks @jaredLunde! - Fixes issue where native properties were not excluded from custom properties in the CustomRequest classv0.9.6
Compare Source
Patch Changes
4f4253a
Thanks @FreeAoi! - Let request object have custom propertiesv0.9.5
Compare Source
Patch Changes
645f436
Thanks @FreeAoi! - fix request option types don't showing optional props correctlyv0.9.4
Compare Source
Patch Changes
#1597
1f7ad9d
Thanks @armandabric! - Allow to select the response content type#1585
4e06f86
Thanks @mikestopcontinues! - Update types for path-methods object#1610
cc8073b
Thanks @illright! - Fix data/error discrimination when there are empty-body errors#1587
2a66a64
Thanks @JE-lee! - Fix the custom fetch typev0.9.3
Compare Source
Patch Changes
4c0c7fc
Thanks @drwpow! - Fix type errorsv0.9.2
Compare Source
Patch Changes
a5a9cc7
Thanks @shirish87! - Fix 'Content-Type' header being removed from requests with multipart/form-data bodyv0.9.1
Compare Source
Patch Changes
cc64453
Thanks @drwpow! - Fix JSON consuming bodyv0.9.0
Compare Source
Minor Changes
#1521
b174dd6
Thanks @drwpow! - Add middleware support#1521⚠️ Breaking change (internal): fetch() is now called with new Request() to support middleware (which may affect test mocking)
fc3a468
Thanks @drwpow! -#1521⚠️ Breaking change: Responses are no longer automatically
2551e4b
Thanks @drwpow! -.clone()
’d in certain instances. Be sure to.clone()
yourself if you need to access the raw body!#1534⚠️ Breaking change: no longer supports deeply-nested objects/arrays for query & path serialization.
2bbeb92
Thanks @drwpow! -Patch Changes
#1484
49bbd72
Thanks @drwpow! - Remove prepare script#1479
c6d945b
Thanks @darwish! - Fixed build of openapi-typescript-helpers for CommonJS environments#1534
2bbeb92
Thanks @drwpow! - Add support for automatic label & matrix path serialization.#1521
fd44bd2
Thanks @drwpow! - Support arrays in headers#1534
2bbeb92
Thanks @drwpow! - Remove leading question marks from querySerializer#1530
4765658
Thanks @wydengyre! - Exports the ClientMethod utility type.Updated dependencies [
c6d945b
]:Configuration
📅 Schedule: Branch creation - "before 4am" (UTC), Automerge - "before 4am" (UTC).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.