parabol
parabol copied to clipboard
[Snyk] Upgrade openapi-fetch from 0.9.8 to 0.10.0
This PR was automatically created by Snyk using the credentials of a real user.

Snyk has created this PR to upgrade openapi-fetch from 0.9.8 to 0.10.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
-
The recommended version is 1 version ahead of your current version.
-
The recommended version was released on 21 days ago.
Release notes
Package name: openapi-fetch
-
0.10.0 - 2024-06-20
Minor Changes
-
⚠️ Breaking Change:openapi-typescript@7
is needed to work. You’ll get type errors withopenapi-typescript@6
and below. -
⚠️ Breaking Change: The Middleware API has changed to be an object rather than(request, options)
or(response, options)
. See Middleware docs for updated API. -
⚠️ Breaking Change: TheContent-Type
header is no longer sent by default if a body payload is attached. -
⚠️ Breaking Change: TheEdit: this has been reverted due to errors reported in some environments. ThecustomFetch
type now callsfetch(input: string, init: RequestInit)
and the types have been updated, rather thanfetch(input: Request)
introduced in0.9.0
.0.9.0
behavior is still present wherefetch(input: Request)
is called for the final request. -
⚠️ Breaking Change: the error type no longer is a union of all possible values; it will take the first it finds (due to some error type in some schemas being missing or incomplete, resulting in an unresolvable union)
Patch Changes
- Added
id
to middleware handlers that create a unique ID per-fetch
-
-
0.9.8 - 2024-06-19
Patch Changes
- #1697
e77ce50
Thanks @ armandabric! - Expose original request on Middleware.onResponse
- #1697
[!IMPORTANT]
- Check the changes in this PR to ensure they won't cause issues with your project.
- This PR was automatically created by Snyk using the credentials of a real user.
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: