@hey-api/openapi-ts
0.99.0 · 22 Jun 2026MIT8.3M / weekRepositoryHomepagenpmAtom feed
0.99.0 is the newest release of 0.97.x.
In short
15 breaking8 new3 fixed2 internal
- Breaking
BREAKING plugin(@hey-api/client-ky): fix: pass previous result to error interceptors
- Breaking
BREAKING client: resolve
runtimeConfigPathrelative to the output folder - Breaking
BREAKING plugin(@hey-api/client-angular):
requestandresponseobjects might be undefined - Breaking
BREAKING plugin(@hey-api/client-angular): fix: respect
throwOnErrorwhen request validation fails - Breaking
BREAKING plugin(@hey-api/client-next):
requestandresponseobjects might be undefined - Breaking
BREAKING plugin(@hey-api/client-fetch): fix: pass previous result to error interceptors
- Breaking
BREAKING plugin(@hey-api/client-ky):
requestandresponseobjects might be undefined - Breaking
BREAKING plugin(@hey-api/client-fetch):
requestandresponseobjects might be undefined
Security
1 advisory affects 0.97.0; 0.97.3 fixes them
- Moderate@hey-api/openapi-ts's `buildClientParams` template: prototype chain substitution via unknown `$<slot>___proto__` keyGHSA-hhx9-57xq-r5rw · 1 Jul 2026Fixed in 0.97.3
Release note
The section about @hey-api/openapi-ts of a note shared by several packages.
Minor Changes
- Breaking
BREAKING plugin(@hey-api/client-ky): fix: pass previous result to error interceptors
- Breaking
BREAKING client: resolve
runtimeConfigPathrelative to the output folder
Changed runtimeConfigPath behavior
This was a known, long-standing issue confusing first-time users. Before, defining client runtimeConfigPath value would paste it verbatim to the generated output. This release changes the behavior to resolve relative to the current working directory the same way output path works.
- Breaking
BREAKING plugin(@hey-api/client-angular):
requestandresponseobjects might be undefined - Breaking
BREAKING plugin(@hey-api/client-angular): fix: respect
throwOnErrorwhen request validation fails - Breaking
BREAKING plugin(@hey-api/client-next):
requestandresponseobjects might be undefined - Breaking
BREAKING plugin(@hey-api/client-fetch): fix: pass previous result to error interceptors
- Breaking
BREAKING plugin(@hey-api/client-ky):
requestandresponseobjects might be undefined - Breaking
BREAKING plugin(@hey-api/client-fetch):
requestandresponseobjects might be undefined - Breaking
BREAKING plugin(@hey-api/client-ofetch):
requestandresponseobjects might be undefined - Breaking
BREAKING plugin(@hey-api/client-ky): fix: respect
throwOnErrorwhen request validation fails - Breaking
BREAKING plugin(@hey-api/client-fetch): fix: respect
throwOnErrorwhen request validation fails - Breaking
BREAKING plugin(@hey-api/client-next): fix: pass previous result to error interceptors
- Breaking
BREAKING plugin(@hey-api/client-ky): respect ky instance defaults
Changed Ky client behavior
The Ky client was updated to be more intuitive. Some Ky options now need to be passed via the kyOptions field and you need to pass undefined to unset an option.
- Breaking
BREAKING plugin(@hey-api/client-ofetch): fix: respect
throwOnErrorwhen request validation fails - Breaking
BREAKING plugin(@hey-api/client-next): fix: respect
throwOnErrorwhen request validation fails
Patch Changes
plugin(@tanstack/vue-query): add
setQueryDataoptionplugin(@tanstack/react-query): add
useSetQueryDataoptioncli: print file count and generator speed
plugin(@tanstack/preact-query): add
useSetQueryDataoptionplugin(@tanstack/svelte-query): add
setQueryDataoptionplugin(zod): fix: fallback
.discriminatedUnionto.unionif members contain intersectionconfig: fix: remove
--applyflag from Biome post-processor commandsplugin(@tanstack/react-query): add
setQueryDataoptionplugin(@tanstack/solid-query): add
setQueryDataoptionplugin(@tanstack/preact-query): add
setQueryDataoptionplugin(@tanstack/angular-query-experimental): add
setQueryDataoption
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.