@hey-api/openapi-ts
0.99.0 · 22 Jun 2026MIT8.3M / weekRepositoryHomepagenpmAtom feed
Your version
0.99.0 is the newest release of 0.80.x.
In short
1 new
Security
1 advisory affects 0.80.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
zod: Add support for Zod 4 and Zod Mini
Added Zod 4 and Zod Mini
This release adds support for Zod 4 and Zod Mini. By default, the `zod` plugin will generate output for Zod 4. If you want to preserve the previous output for Zod 3 or use Zod Mini, set `compatibilityVersion` to `3` or `mini`.
```js
export default {
input: 'https://get.heyapi.dev/hey-api/backend',
output: 'src/client',
plugins: [
// ...other plugins
{
name: 'zod',
compatibilityVersion: 3,
},
],
};
```
```js
export default {
input: 'https://get.heyapi.dev/hey-api/backend',
output: 'src/client',
plugins: [
// ...other plugins
{
name: 'zod',
compatibilityVersion: 'mini',
},
],
};
```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.