@hey-api/openapi-ts
0.99.0 · 22 Jun 2026MIT8.3M / weekRepositoryHomepagenpmAtom feed
0.99.0 is the newest release of 0.85.x.
In short
3 new1 internal
Security
1 advisory affects 0.85.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
Updated output options
We made the output configuration more consistent by using null to represent disabled options. This change does not affect boolean options.
export default {
input: 'hey-api/backend', // sign up at app.heyapi.dev
output: {
format: null,
lint: null,
path: 'src/client',
tsConfigPath: null,
},
};Patch Changes
Support multiple configurations
config: Add
output.importFileExtensionoptionpinia-colada: Query options use
defineQueryOptions
Updated Pinia Colada query options
Pinia Colada query options now use defineQueryOptions to improve reactivity support. Instead of calling the query options function, you can use one of the following approaches.
No params
useQuery(getPetsQuery);
Constant
useQuery(getPetByIdQuery, () => ({
path: {
petId: 1,
},
}));Reactive
const petId = ref<number | null>(1);
useQuery(getPetByIdQuery, () => ({
path: {
petId: petId.value,
},
}));Properties
const petId = ref<number | null>(1);
useQuery(() => ({
...getPetByIdQuery({
path: { petId: petId.value as number },
}),
enabled: () => petId.value != null,
}));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.