Spotlight
A huge thank you to @SukkaW this release! They noticed generation was painfully slow on large OpenAPI specs, traced it to several algorithmic bottlenecks, and fixed them. The result is a 10x-30x performance gain on larger specs, with meaningful improvements on smaller specs as well.
We sent them $100 as a small token of appreciation.
@hey-api/openapi-ts 0.97.0
⚠️ Breaking
This release has 15 breaking changes. Please review the release notes carefully before upgrading.
Updates
- cli: print file count and generator speed (#3828)
- ⚠️ Breaking: client: resolve
runtimeConfigPathrelative to the output folder (#3770)
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.
- config: remove
--applyflag from Biome post-processor commands (#3812)
Plugins
@hey-api/client-angular
- ⚠️ Breaking:
requestandresponseobjects might be undefined (#3814) - ⚠️ Breaking: respect
throwOnErrorwhen request validation fails (#3814)
@hey-api/client-fetch
- ⚠️ Breaking: pass previous result to error interceptors (#3814)
- ⚠️ Breaking:
requestandresponseobjects might be undefined (#3814) - ⚠️ Breaking: respect
throwOnErrorwhen request validation fails (#3814)
@hey-api/client-ky
- ⚠️ Breaking: pass previous result to error interceptors (#3814)
- ⚠️ Breaking:
requestandresponseobjects might be undefined (#3814) - ⚠️ Breaking: respect
throwOnErrorwhen request validation fails (#3814) - ⚠️ Breaking: respect ky instance defaults (#3806)
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.
@hey-api/client-next
- ⚠️ Breaking:
requestandresponseobjects might be undefined (#3814) - ⚠️ Breaking: pass previous result to error interceptors (#3814)
- ⚠️ Breaking: respect
throwOnErrorwhen request validation fails (#3814)
@hey-api/client-ofetch
- ⚠️ Breaking:
requestandresponseobjects might be undefined (#3814) - ⚠️ Breaking: respect
throwOnErrorwhen request validation fails (#3814)
@tanstack/angular-query-experimental
- add
setQueryDataoption (#3824)
@tanstack/preact-query
@tanstack/react-query
@tanstack/solid-query
- add
setQueryDataoption (#3824)
@tanstack/svelte-query
- add
setQueryDataoption (#3824)
@tanstack/vue-query
- add
setQueryDataoption (#3824)
zod
- fallback
.discriminatedUnionto.unionif members contain intersection (#3813)
@hey-api/codegen-core 0.8.1
Updates
- planner: speed up identifier conflict detector (#3823)
- symbol: speed up symbol registry cache (#3823)
@hey-api/shared 0.4.2
Updates
Sponsors
Partners behind the future of API tooling.
|
|
|
Contributors
Built with contributions from @inas-sirhan and @SukkaW.