@hey-api/openapi-ts
0.99.0 · 22 Jun 2026MIT8.3M / weekRepositoryHomepagenpmAtom feed
0.99.0 is the newest release of 0.82.x.
In short
2 new6 fixed
Security
1 advisory affects 0.82.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
parser: Add Hooks API
Added Hooks API
This release adds the [Hooks API](https://heyapi.dev/openapi-ts/configuration/parser#hooks), giving you granular control over which operations generate queries and mutations. As a result, we tightened the previous behavior and POST operations no longer generate queries by default. To preserve the old behavior, add a custom matcher.
```js
export default {
input: 'hey-api/backend', // sign up at app.heyapi.dev
output: 'src/client',
parser: {
hooks: {
operations: {
isQuery: (op) => (op.method === 'post' ? true : undefined),
},
},
},
};
```Patch Changes
client: Pass fetch option to sse client
plugin: Add
@pinia/coladapluginefdeedcThanks @alexedme! - feat(client): added angular, axios, fetch, next & nuxt client type export for external typing purposes.parser: Improve handling multiple references to shared external variable
client: Improve empty response body handling
plugin: Add
@pinia/coladapluginparser: Improve
readWritetransformer splitting logicparser: Handle
patternPropertiesin OpenAPI 3.1
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.