@hey-api/openapi-ts
0.99.0 · 22 Jun 2026MIT8.3M / weekRepositoryHomepagenpmAtom feed
In short
4 breaking6 new21 fixed3 internal
- Breaking
BREAKING plugin: rename
.symbolsto.imports - Breaking
BREAKING config: merge duplicate plugin configurations
- Breaking
BREAKING plugin(@hey-api/schemas): widen
schematype innameBuilderto unknown - Breaking
BREAKING plugin: remove
.external()method
Release note
The section about @hey-api/openapi-ts of a note shared by several packages.
Minor Changes
- Breaking
BREAKING plugin: rename
.symbolsto.imports
To better represent its functionality, the plugin.symbols property has been renamed to plugin.imports.
- Breaking
BREAKING config: merge duplicate plugin configurations
Plugin duplicates behavior
If you specified the same plugin multiple times, only the last instance would be used. We eventually added a warning for this behavior, but that didn't treat the root issue. This release changes that by merging duplicate plugin configurations.
- Breaking
BREAKING plugin(@hey-api/schemas): widen
schematype innameBuilderto unknown - Breaking
BREAKING plugin: remove
.external()method
Removed plugin.external() function
This function was used to reference external symbols. All plugins now use the Imports API, which allows you to reference external symbols in a type-safe way through plugin.imports.
Patch Changes
api: replace
~fields with$config: add Presets API
plugin(@hey-api/client-angular): fix: send an empty object request body when explicitly provided in flat parameters mode
client: use
getBaseUrl()function to determine default valueplugin(zod): improve discriminator handling
plugin(@tanstack/preact-query): fix: strip
initialDatafrom the inferred result types for infinite query optionsplugin(@tanstack/solid-query): fix: strip
initialDatafrom the inferred result types for infinite query optionsplugin(valibot): support custom regular expression error messages with
x-pattern-messageplugin(@hey-api/client-next): fix: send an empty object request body when explicitly provided in flat parameters mode
plugin(@hey-api/client-axios): fix: send an empty object request body when explicitly provided in flat parameters mode
plugin(zod): support creating optional request schemas
plugin(@tanstack/react-query): fix: strip
initialDatafrom the inferred result types for infinite query optionsplugin(@hey-api/client-ky): fix: send an empty object request body when explicitly provided in flat parameters mode
plugin(valibot): support creating optional request schemas
exports: add
/pluginsexported moduleplugin(@tanstack/svelte-query): fix: strip
initialDatafrom the inferred result types for infinite query optionsplugin(@hey-api/client-nuxt): fix: send an empty object request body when explicitly provided in flat parameters mode
plugin(zod): support custom regular expression error messages with
x-pattern-messageplugin(@tanstack/angular-query-experimental): fix: strip
initialDatafrom the inferred result types for infinite query optionsplugin(@hey-api/client-ofetch): fix: send an empty object request body when explicitly provided in flat parameters mode
plugin(@hey-api/client-fetch): fix: send an empty object request body when explicitly provided in flat parameters mode
plugin(@hey-api/typescript): improve discriminator handling
plugin(orpc): make
.input()optional if all layers are optional*parser: fix: delete unresolvable
$refkeywordsplugin(@tanstack/vue-query): fix: strip
initialDatafrom the inferred result types for infinite query optionsplugin(valibot): improve discriminator handling
exports: export
pluginstype helpers
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.