@hey-api/openapi-ts
0.99.0 · 22 Jun 2026MIT8.3M / weekRepositoryHomepagenpmAtom feed
0.99.0 is the newest release of 0.95.x.
In short
1 removed1 new9 fixed2 internal
- Removed
plugin(zod): remove request data schema
Security
1 advisory affects 0.95.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
Minor Changes
plugin(valibot): remove request data schema
Validator request schemas
Valibot plugin no longer exports composite request Data schemas. Instead, each layer is exported as a separate schema. If you're using validators with SDKs, you can preserve the composite schema with shouldExtract:
export default {
input: "hey-api/backend", // sign up at app.heyapi.dev
output: "src/client",
plugins: [
// ...other plugins
{
name: "sdk",
validator: "valibot",
},
{
name: "valibot",
requests: {
shouldExtract: true,
},
},
],
};Removed plugin.getSymbol() function
This function has been removed. You can use plugin.querySymbol() instead. It accepts the same arguments and returns the same result.
- Removed
plugin(zod): remove request data schema
Validator request schemas
Zod plugin no longer exports composite request Data schemas. Instead, each layer is exported as a separate schema. If you're using validators with SDKs, you can preserve the composite schema with shouldExtract:
export default {
input: "hey-api/backend", // sign up at app.heyapi.dev
output: "src/client",
plugins: [
// ...other plugins
{
name: "sdk",
validator: "zod",
},
{
name: "zod",
requests: {
shouldExtract: true,
},
},
],
};Patch Changes
plugin(@hey-api/client-axios): fix: improve
beforeRequesttypingplugin(zod): export request body, path, query, and headers schemas
plugin(@hey-api/client-ky): fix: improve
beforeRequesttypingplugin(@hey-api/client-next): fix: improve
beforeRequesttypingplugin(@hey-api/client-angular): fix: improve
beforeRequesttypingplugin(orpc): fix: adjust input shape
plugin(@hey-api/client-fetch): fix: improve
beforeRequesttypingplugin(valibot): export request body, path, query, and headers schemas
plugin(@hey-api/sdk): improve types for SSE events
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.