@hey-api/openapi-ts
0.99.0 · 22 Jun 2026MIT8.3M / weekRepositoryHomepagenpmAtom feed
271 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 0.99.x · latest line
0.99.0
22 Jun 2026- Breaking
BREAKING plugin: rename
.symbolsto.imports - Breaking
BREAKING config: merge duplicate plugin configurations
- Breaking
BREAKING plugin(@hey-api/schemas): widen
schematype innameBuilderto unknown
Minor Changes
- Breaking
BREAKING plugin: rename
.symbolsto.imports
To better represent its functionality, the
plugin.symbolsproperty has been renamed toplugin.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()functionThis 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
- 0.98.x
0.98.2
8 Jun 2026plugin(@hey-api/client-ofetch): export augmentable
ClientMetainterfaceplugin(@hey-api/sdk): fix: don't expose SSE errors as iterator return types
plugin(@hey-api/client-next): export augmentable
ClientMetainterface
Patch Changes
plugin(@hey-api/client-ofetch): export augmentable
ClientMetainterfaceplugin(@hey-api/sdk): fix: don't expose SSE errors as iterator return types
plugin(@hey-api/client-next): export augmentable
ClientMetainterfaceplugin(@hey-api/client-ky): export augmentable
ClientMetainterfaceplugin(@hey-api/client-fetch): export augmentable
ClientMetainterfaceplugin(@hey-api/client-nuxt): export augmentable
ClientMetainterfaceplugin(@hey-api/client-angular): fix: reassign the result of
HttpHeaders.delete()back toopts.headersplugin(@hey-api/client-angular): export augmentable
ClientMetainterfaceplugin(@hey-api/client-axios): export augmentable
ClientMetainterfaceplugin(@hey-api/sdk): support type-safe
metaoption via augmentableClientMetainterface
0.98.1
1 Jun 2026cli: simplify generate command messages
plugin(valibot): fix: revert referencing TypeScript enums
plugin(zod): fix: revert referencing TypeScript enums
Patch Changes
cli: simplify generate command messages
plugin(valibot): fix: revert referencing TypeScript enums
plugin(zod): fix: revert referencing TypeScript enums
0.98.0
1 Jun 2026- Breaking
BREAKING config: declarative configuration
parser: fix: preserve sort order when filtering input
plugin(valibot): fix: improve boolean enum handling
Minor Changes
- Breaking
BREAKING config: declarative configuration
This is an internal change that simplifies the configuration and plugin APIs. The generated output should be unaffected, please open an issue if that's not the case. If you have custom plugins, refer to the custom plugin guide for the latest instructions.
Patch Changes
parser: fix: preserve sort order when filtering input
plugin(valibot): fix: improve boolean enum handling
plugin(@hey-api/client-ky): fix: use
Object.create()to avoid prototype chain substitution. Reportedplugin(@hey-api/client-ofetch): fix: use
Object.create()to avoid prototype chain substitution. Reportedplugin(@hey-api/client-axios): add explicit return types
plugin(@hey-api/client-axios): fix: use
Object.create()to avoid prototype chain substitution. Reportedplugin(@hey-api/client-next): fix: improve params helper type
plugin(@hey-api/client-fetch): fix: use
Object.create()to avoid prototype chain substitution. Reportedplugin(@hey-api/client-ofetch): fix: improve params helper type
plugin(@hey-api/client-nuxt): add explicit return types
dsl: track extended class symbols
plugin(@hey-api/client-angular): fix: use
Object.create()to avoid prototype chain substitution. Reportedplugin(orpc): fix: handle no-content success responses
plugin(@hey-api/sdk): add explicit return types
plugin(@hey-api/client-nuxt): fix: use
Object.create()to avoid prototype chain substitution. Reportedplugin(@hey-api/client-ky): fix: improve params helper type
plugin(@hey-api/client-angular): add explicit return types
plugin(@hey-api/client-nuxt): fix: improve params helper type
plugin(@hey-api/client-angular): fix: improve params helper type
plugin(@hey-api/sdk): fix: expose
keyon security schemes when their signatures collideplugin(@hey-api/client-fetch): fix: improve params helper type
plugin(@hey-api/client-ky): add explicit return types
plugin(@hey-api/client-axios): fix: improve params helper type
plugin(@hey-api/client-fetch): add explicit return types
plugin(@hey-api/client-next): fix: use
Object.create()to avoid prototype chain substitution. Reportedplugin(@hey-api/client-ofetch): add explicit return types
plugin(@hey-api/client-next): add explicit return types
- 0.97.x
0.97.3
25 May 2026plugin(@hey-api/client-axios): fix: correct return type in SSE
plugin(@tanstack/preact-query): add
getQueryDataoptionplugin(@hey-api/client-ofetch): fix: correct return type in SSE
Patch Changes
plugin(@hey-api/client-axios): fix: correct return type in SSE
plugin(@tanstack/preact-query): add
getQueryDataoptionplugin(@hey-api/client-ofetch): fix: correct return type in SSE
plugin(@tanstack/svelte-query): add
getQueryDataoptionplugin(@tanstack/angular-query-experimental): add
getQueryDataoptionplugin(@tanstack/react-query): add
getQueryDataoptionplugin(@hey-api/client-fetch): fix: correct return type in SSE
plugin(@tanstack/react-query): add
useGetQueryDataoptionplugin(@hey-api/client-ky): fix: correct return type in SSE
plugin(@tanstack/solid-query): add
getQueryDataoptionplugin(@hey-api/client-next): fix: correct return type in SSE
plugin(@tanstack/preact-query): add
useGetQueryDataoptionplugin(@hey-api/client-angular): fix: correct return type in SSE
plugin(@hey-api/transformers): add support for Temporal API via temporal-polyfill in
datesplugin(@tanstack/vue-query): add
getQueryDataoptionplugin(zod): fix: avoid invalid
.extend()onz.record()when a discriminated union member is an empty object
0.97.2
18 May 2026plugin(zod): use enums from TypeScript if available
plugin(@hey-api/client-next): fix: preserve query auth when when there are no other query parameters
plugin(@hey-api/sdk): support
valibotas response transformer
Patch Changes
plugin(zod): use enums from TypeScript if available
plugin(@hey-api/client-next): fix: preserve query auth when when there are no other query parameters
plugin(@hey-api/sdk): support
valibotas response transformerplugin(@tanstack/vue-query): add
mutationKeysoptionplugin(@hey-api/client-nuxt): fix: preserve query auth when when there are no other query parameters
plugin(@tanstack/svelte-query): add
mutationKeysoptionplugin(@hey-api/sdk): support
zodas response transformerplugin(@hey-api/client-angular): fix: preserve query auth when when there are no other query parameters
plugin(@hey-api/client-fetch): fix: preserve query auth when when there are no other query parameters
plugin(@hey-api/client-axios): fix: preserve query auth when when there are no other query parameters
plugin(valibot): use enums from TypeScript if available
plugin(@tanstack/react-query): add
mutationKeysoptionplugin(@tanstack/solid-query): add
mutationKeysoptionplugin(@hey-api/client-ofetch): fix: preserve query auth when when there are no other query parameters
plugin(@hey-api/client-ky): fix: preserve query auth when when there are no other query parameters
plugin(@tanstack/preact-query): add
mutationKeysoptiondsl: fix: cache lazy node result
plugin(@tanstack/angular-query-experimental): add
mutationKeysoption
0.97.1
4 May 2026plugin(@hey-api/transformers): fix: use symbols for
additionalPropertieskey variables
Patch Changes
plugin(@hey-api/transformers): fix: use symbols for
additionalPropertieskey variables
0.97.0
28 Apr 2026- Breaking
BREAKING plugin(@hey-api/client-ky): fix: pass previous result to error interceptors
- Breaking
BREAKING client: resolve
runtimeConfigPathrelative to the output folder - Breaking
BREAKING plugin(@hey-api/client-angular):
requestandresponseobjects might be undefined
Minor Changes
- Breaking
BREAKING plugin(@hey-api/client-ky): fix: pass previous result to error interceptors
- Breaking
BREAKING client: resolve
runtimeConfigPathrelative to the output folder
Changed
runtimeConfigPathbehaviorThis was a known, long-standing issue confusing first-time users. Before, defining client
runtimeConfigPathvalue 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.- Breaking
BREAKING plugin(@hey-api/client-angular):
requestandresponseobjects might be undefined - Breaking
BREAKING plugin(@hey-api/client-angular): fix: respect
throwOnErrorwhen request validation fails - Breaking
BREAKING plugin(@hey-api/client-next):
requestandresponseobjects might be undefined - Breaking
BREAKING plugin(@hey-api/client-fetch): fix: pass previous result to error interceptors
- Breaking
BREAKING plugin(@hey-api/client-ky):
requestandresponseobjects might be undefined - Breaking
BREAKING plugin(@hey-api/client-fetch):
requestandresponseobjects might be undefined - Breaking
BREAKING plugin(@hey-api/client-ofetch):
requestandresponseobjects might be undefined - Breaking
BREAKING plugin(@hey-api/client-ky): fix: respect
throwOnErrorwhen request validation fails - Breaking
BREAKING plugin(@hey-api/client-fetch): fix: respect
throwOnErrorwhen request validation fails - Breaking
BREAKING plugin(@hey-api/client-next): fix: pass previous result to error interceptors
- Breaking
BREAKING plugin(@hey-api/client-ky): respect ky instance defaults
Changed Ky client behavior
The Ky client was updated to be more intuitive. Some Ky options now need to be passed via the
kyOptionsfield and you need to passundefinedto unset an option.- Breaking
BREAKING plugin(@hey-api/client-ofetch): fix: respect
throwOnErrorwhen request validation fails - Breaking
BREAKING plugin(@hey-api/client-next): fix: respect
throwOnErrorwhen request validation fails
Patch Changes
plugin(@tanstack/vue-query): add
setQueryDataoptionplugin(@tanstack/react-query): add
useSetQueryDataoptioncli: print file count and generator speed
plugin(@tanstack/preact-query): add
useSetQueryDataoptionplugin(@tanstack/svelte-query): add
setQueryDataoptionplugin(zod): fix: fallback
.discriminatedUnionto.unionif members contain intersectionconfig: fix: remove
--applyflag from Biome post-processor commandsplugin(@tanstack/react-query): add
setQueryDataoptionplugin(@tanstack/solid-query): add
setQueryDataoptionplugin(@tanstack/preact-query): add
setQueryDataoptionplugin(@tanstack/angular-query-experimental): add
setQueryDataoption
- 0.96.x
0.96.1
20 Apr 2026parser: fix: re-add implicitly-filtered schemas in collectOperations
plugin(@hey-api/client-fetch): fix: narrow
headerstoHeadersinResolvedRequestOptionsplugin(zod): add support for
.discriminatedUnion()
Patch Changes
parser: fix: re-add implicitly-filtered schemas in collectOperations
plugin(@hey-api/client-fetch): fix: narrow
headerstoHeadersinResolvedRequestOptionsplugin(zod): add support for
.discriminatedUnion()parser: fix: avoid encoding url unsafe characters
plugin(@hey-api/client-next): fix: narrow
headerstoHeadersinResolvedRequestOptionsplugin(valibot): add support for
.variant()plugin(zod): support generating
z.inputandz.outputtypesplugin(@hey-api/client-ky): fix: narrow
headerstoHeadersinResolvedRequestOptionsoutput: fix: surface postprocess errors
plugin(@hey-api/client-angular): fix: narrow
headerstoHeadersinResolvedRequestOptionsplugin(@hey-api/client-ofetch): fix: narrow
headerstoHeadersinResolvedRequestOptionsconfig: warn on duplicated plugin configurations
0.96.0
13 Apr 2026- Breaking
This release bumps the minimum required Node version to 22.13.
plugin(@hey-api/client-axios): simplify SSE line endings normalization
plugin(@hey-api/client-fetch): simplify SSE line endings normalization
Minor Changes
- Breaking
This release bumps the minimum required Node version to 22.13.
Patch Changes
plugin(@hey-api/client-axios): simplify SSE line endings normalization
plugin(@hey-api/client-fetch): simplify SSE line endings normalization
parser: fix: keep orphans when explicitly included in filters
plugin(@hey-api/client-next): simplify SSE line endings normalization
plugin(@hey-api/client-nuxt): simplify SSE line endings normalization
cli: improve error message on invalid input
plugin(@angular/common): fix: requests and resources broken default configuration
plugin(@hey-api/client-ky): simplify SSE line endings normalization
plugin(@hey-api/transformers): fix: return value for primitive array entries
plugin(@hey-api/client-angular): simplify SSE line endings normalization
plugin(@hey-api/client-ofetch): simplify SSE line endings normalization
parser: fix: process enum metadata
- 0.95.x
0.95.0
2 Apr 2026- Removed
plugin(zod): remove request data schema
plugin(valibot): remove request data schema
plugin(@hey-api/client-axios): fix: improve
beforeRequesttyping
Minor Changes
plugin(valibot): remove request data schema
Validator request schemas
Valibot plugin no longer exports composite request
Dataschemas. Instead, each layer is exported as a separate schema. If you're using validators with SDKs, you can preserve the composite schema withshouldExtract:export default { input: "hey-api/backend", // sign up at app.heyapi.dev output: "src/client", plugins: [ // ...other plugins { name: "sdk", validator: "valibot", }, { name: "valibot", requests: { shouldExtract: true, }, }, ], };Removed
plugin.getSymbol()functionThis function has been removed. You can use
plugin.querySymbol()instead. It accepts the same arguments and returns the same result.- Removed
plugin(zod): remove request data schema
Validator request schemas
Zod plugin no longer exports composite request
Dataschemas. Instead, each layer is exported as a separate schema. If you're using validators with SDKs, you can preserve the composite schema withshouldExtract:export default { input: "hey-api/backend", // sign up at app.heyapi.dev output: "src/client", plugins: [ // ...other plugins { name: "sdk", validator: "zod", }, { name: "zod", requests: { shouldExtract: true, }, }, ], };Patch Changes
plugin(@hey-api/client-axios): fix: improve
beforeRequesttypingplugin(zod): export request body, path, query, and headers schemas
plugin(@hey-api/client-ky): fix: improve
beforeRequesttypingplugin(@hey-api/client-next): fix: improve
beforeRequesttypingplugin(@hey-api/client-angular): fix: improve
beforeRequesttypingplugin(orpc): fix: adjust input shape
plugin(@hey-api/client-fetch): fix: improve
beforeRequesttypingplugin(valibot): export request body, path, query, and headers schemas
plugin(@hey-api/sdk): improve types for SSE events
- 0.94.x
0.94.5
25 Mar 2026- Removed
plugin(orpc): remove
baseexport plugin: fix:
symbolOnce()method correctly handles multiple symbols with the same metadataplugin(@hey-api/transformers): fix: handle additional properties
Patch Changes
- Removed
plugin(orpc): remove
baseexport plugin: fix:
symbolOnce()method correctly handles multiple symbols with the same metadataplugin(@hey-api/transformers): fix: handle additional properties
0.94.4
20 Mar 2026plugin(orpc): initial release
0.94.3
19 Mar 2026output: pass context as second argument in
module.resolve()functionplugin(@hey-api/client-nuxt): preserve AbortSignal, FormData, and ReadableStream in unwrapRefs
parser: fix: self-referencing discriminator
Patch Changes
output: pass context as second argument in
module.resolve()functionplugin(@hey-api/client-nuxt): preserve AbortSignal, FormData, and ReadableStream in unwrapRefs
parser: fix: self-referencing discriminator
output: add
moduleoptionplugin(@hey-api/transformers): expose
pluginand$in transformer function context
0.94.2
16 Mar 2026plugin(nestjs): initial release
output: pass default value to
headerfunction
Patch Changes
plugin(nestjs): initial release
output: pass default value to
headerfunction
0.94.1
12 Mar 2026plugin(@hey-api/typescript): add Resolvers API
dsl: expand list of JavaScript globals
plugin(valibot): provide more resolvers
Patch Changes
plugin(@hey-api/typescript): add Resolvers API
dsl: expand list of JavaScript globals
plugin(valibot): provide more resolvers
cli: show environment value in development
plugin(zod): handle
guidstring formatplugin(@hey-api/typescript): implement
getName()symbol hookplugin(zod): implement
getName()symbol hookconfig(plugins): show warning when plugin infer fails
plugin(valibot): implement
getName()symbol hookplugin(@hey-api/transformers): fix: support
anyOfschema with nullplugin(zod): provide more resolvers
0.94.0
5 Mar 2026- Breaking
BREAKING client:
buildUrl()function includesbaseUrlfrom config by default dsl(reserved): expand reserved keywords with more globals
plugin(@pinia/colada): fix: pass error type generic to
defineQueryOptions
Minor Changes
- Breaking
BREAKING client:
buildUrl()function includesbaseUrlfrom config by default
Patch Changes
dsl(reserved): expand reserved keywords with more globals
plugin(@pinia/colada): fix: pass error type generic to
defineQueryOptionsplugin(@tanstack/react-query): support generating
useMutationhooksplugin(typescript): fix: reference enum object when creating enum types
output(header): fix: support function signature in client and core files
plugin(zod): support function in
metadataoptionplugin(valibot): support function in
metadataoptionplugin(@tanstack/preact-query): initial release
- 0.93.x
0.93.1
27 Feb 2026plugin(@tanstack/query): fix: skip mutation queries for SSE endpoints
client: fix: avoid removing empty arrays from flat arguments
plugin(zod): fix: apply nullable modifier to
additionalPropertiesschema
Patch Changes
plugin(@tanstack/query): fix: skip mutation queries for SSE endpoints
client: fix: avoid removing empty arrays from flat arguments
plugin(zod): fix: apply nullable modifier to
additionalPropertiesschemacli: fix: do not set
logs.filetotrueby defaultplugin(@hey-api/sdk): fix: correctly set required flat parameters
plugin(zod): add
uflag on regex patterns with unicode property escapesplugin(valibot): add
uflag on regex patterns with unicode property escapesplugin(@hey-api/typescript): simplify union types if a member is
unknownclient(@hey-api/nuxt): fix: do not unwrap blob values
client: support async
createClientConfig
0.93.0
23 Feb 2026- Removed
plugin(zod): remove
enum.nodes.nullableresolver node plugin(valibot): remove
enum.nodes.nullableresolver nodeparser(patch): support callback for
patch.schemas
Minor Changes
plugin(valibot): remove
enum.nodes.nullableresolver node
Removed resolver node
Valibot plugin no longer exposes the
enum.nodes.nullablenode. It was refactored so that nullable values are handled outside of resolvers.- Removed
plugin(zod): remove
enum.nodes.nullableresolver node
Removed resolver node
Zod plugin no longer exposes the
enum.nodes.nullablenode. It was refactored so that nullable values are handled outside of resolvers.Patch Changes
parser(patch): support callback for
patch.schemasplugin(zod): use
.nullable()and.nullish()methodsparser(transforms): add
schemaNametransformplugin(valibot): use
.nullable()and.nullish()methodsparser(patch): support callback for
patch.operations
- 0.92.x
0.92.4
13 Feb 2026plugin(@hey-api/transformers): fix: false positive warning for discriminated
oneOfschemasplugin(@hey-api/client-nuxt): fix: forward
asyncDataOptionstouseFetchanduseLazyFetchoutput: detect
importFileExtensionfrom tsconfigmoduleoption
Patch Changes
plugin(@hey-api/transformers): fix: false positive warning for discriminated
oneOfschemasplugin(@hey-api/client-nuxt): fix: forward
asyncDataOptionstouseFetchanduseLazyFetchoutput: detect
importFileExtensionfrom tsconfigmoduleoptionplugin(@hey-api/typescript): fix: deduplicate enum keys to avoid name collision
plugin(@hey-api/client-nuxt): unwrap
ComputedRefbody before initial serializationplugin(@angular/common): use generics for HttpRequests
plugin(@hey-api/transformers): fix: handle
$refkeywords inallOfcompositions
0.92.3
5 Feb 2026plugin(zod): use namespace import for zod v4
0.92.2
5 Feb 2026- Breaking
symbol: replace
exportFromarray withgetExportFromFilePath()function types: improve
defineConfig()types
Minor Changes
- Breaking
symbol: replace
exportFromarray withgetExportFromFilePath()function
Updated Symbol interface
The
exportFromproperty has been replaced with thegetExportFromFilePath()function. This allows you to dynamically determine export paths based on symbol properties. This is a low-level feature, so you're most likely unaffected.Patch Changes
types: improve
defineConfig()types
0.92.1
5 Feb 2026Only updates dependencies:@hey-api/shared 0.1.2@hey-api/codegen-core 0.7.0
0.92.0
5 Feb 2026- Breaking
symbol: replace
exportFromarray withgetExportFromFilePath()function config: rename
exportFromIndexoption toincludeInEntryconfig:
includeInEntryaccepts function in addition to primitive value
Minor Changes
- Breaking
symbol: replace
exportFromarray withgetExportFromFilePath()function
Updated Symbol interface
The
exportFromproperty has been replaced with thegetExportFromFilePath()function. This allows you to dynamically determine export paths based on symbol properties. This is a low-level feature, so you're most likely unaffected.Patch Changes
config: rename
exportFromIndexoption toincludeInEntryconfig:
includeInEntryaccepts function in addition to primitive valueparser: add
getExportFromFilePath()hookplugin: add
commentsoption to all pluginstypes: improve
defineConfig()typesconfig: rename
output.indexFiletooutput.entryFilefix: improve dev mode detection causing builds to fail
- 0.91.x
0.91.1
30 Jan 2026Only updates dependencies:@hey-api/codegen-core 0.6.1@hey-api/shared 0.1.1
0.91.0
28 Jan 2026- Breaking
Drop CommonJS (CJS) support. This package is now ESM-only.
Minor Changes
- Breaking
Drop CommonJS (CJS) support. This package is now ESM-only.
Removed CommonJS (CJS) support
@hey-api/openapi-tsis now ESM-only. This change simplifies the codebase, improves tree-shaking, and enables better integration with modern bundlers and TypeScript tooling.CommonJS entry points (
require(),module.exports) are no longer supported. If you are in a CJS environment, you can still load the package dynamically usingimport()like:const { defineConfig } = await import('@hey-api/openapi-ts');If you have previously written:
const { defineConfig } = require('@hey-api/openapi-ts');Migrate by updating your static imports:
import { defineConfig } from '@hey-api/openapi-ts';If your environment cannot use ESM, pin to a previous version.
- 0.90.x
0.90.10
24 Jan 2026plugin(@tanstack/solid-query): index mutation options symbol
plugin(@tanstack/svelte-query): index mutation options symbol
plugin(@tanstack/vue-query): index mutation options symbol
Patch Changes
plugin(@tanstack/solid-query): index mutation options symbol
plugin(@tanstack/svelte-query): index mutation options symbol
plugin(@tanstack/vue-query): index mutation options symbol
plugin(@tanstack/react-query): index mutation options symbol
parser: inline deep path
$refreferencesplugin(@tanstack/angular-query-experimental): index mutation options symbol
plugin(@hey-api/sdk): correctly map body keys in flat mode
0.90.9
22 Jan 2026ts-dsl: allow removing object properties by passing
nullcli: clean up interface
ts-dsl: override object properties when called multiple times with the same name
Patch Changes
ts-dsl: allow removing object properties by passing
nullcli: clean up interface
ts-dsl: override object properties when called multiple times with the same name
config: move
loadConfigFilefunction to@hey-api/codegen-core
0.90.8
21 Jan 2026cli: do not show ascii logo on generate command
Patch Changes
cli: do not show ascii logo on generate command
0.90.7
21 Jan 2026deps: move @hey-api/types to dependencies to fix broken types
Patch Changes
deps: move @hey-api/types to dependencies to fix broken types
0.90.6
20 Jan 2026plugin(@hey-api/sdk): do not warn on mutualTLS security schemes
0.90.5
20 Jan 2026plugin(@hey-api/sdk): do not warn on mutualTLS security schemes
0.90.4
16 Jan 2026plugin(@hey-api/client-next): fix: JSON parsing error on empty response bodies without Content-Length header
plugin(@hey-api/client-fetch): fix: JSON parsing error on empty response bodies without Content-Length header
plugin(@hey-api/client-ky): fix: JSON parsing error on empty response bodies without Content-Length header
Patch Changes
plugin(@hey-api/client-next): fix: JSON parsing error on empty response bodies without Content-Length header
plugin(@hey-api/client-fetch): fix: JSON parsing error on empty response bodies without Content-Length header
plugin(@hey-api/client-ky): fix: JSON parsing error on empty response bodies without Content-Length header
plugin(valibot): add
enumresolverplugin(zod): add
enumresolver
0.90.3
11 Jan 2026output: add
oxfmtpreset
0.90.2
7 Jan 2026build: do not minify bundles for better code readability and debugging
plugin(@hey-api/sdk): fix: do not use bodySerializer if format is binary
Patch Changes
build: do not minify bundles for better code readability and debugging
plugin(@hey-api/sdk): fix: do not use bodySerializer if format is binary
0.90.1
4 Jan 2026plugin(@hey-api/sdk): add
examplesoptionoutput: add
sourceoption
Patch Changes
plugin(@hey-api/sdk): add
examplesoption
The SDK plugin can generate ready-to-use code examples for each operation, showing how to call the SDK methods with proper parameters and setup.
Learn how to generate examples on the SDK plugin page.
output: add
sourceoption
Source is a copy of the input specification used to generate your output. It can be used to power documentation tools or to persist a stable snapshot alongside your generated files.
Learn how to use the source on the Output page.
0.90.0
2 Jan 2026plugin(valibot): BREAKING: standardize
~resolversAPIplugin(sdk): BREAKING: Structure API
plugin(zod): BREAKING: standardize
~resolversAPI
Minor Changes
plugin(valibot): BREAKING: standardize
~resolversAPI
The Resolvers API has been simplified and expanded to provide a more consistent behavior across plugins. You can view a few common examples on the Resolvers page.
plugin(sdk): BREAKING: Structure API
Structure API
The SDK plugin now implements the Structure API, enabling more complex structures and fixing several known issues.
Some Structure APIs are incompatible with the previous configuration, most notably the
methodNameBuilderfunction, which accepted the operation object as an argument. You can read the SDK Output section to familiarize yourself with the Structure API.Please open an issue if you're unable to migrate your configuration to the new syntax.
plugin(zod): BREAKING: standardize
~resolversAPI
The Resolvers API has been simplified and expanded to provide a more consistent behavior across plugins. You can view a few common examples on the Resolvers page.
plugin(@angular/common): BREAKING: Structure API
Structure API
The Angular plugin now implements the Structure API, enabling more complex structures and fixing several known issues.
Some Structure APIs are incompatible with the previous configuration, most notably the
methodNameBuilderfunction, which accepted the operation object as an argument. You can read the SDK Output section to familiarize yourself with the Structure API.Please open an issue if you're unable to migrate your configuration to the new syntax.
Patch Changes
plugin(@hey-api/client-nuxt): use serialized body in SSE requests
plugin(zod): expand support for bigint types
plugin(@hey-api/client-angular): use serialized body in SSE requests
plugin(@hey-api/client-next): use serialized body in SSE requests
plugin(@hey-api/client-axios): use serialized body in SSE requests
plugin(@hey-api/client-fetch): use serialized body in SSE requests
plugin(@hey-api/client-nuxt): preserve null in
WithRefstype for nullable fieldsrenderer: correctly render default import
plugin(@hey-api/client-ky): use serialized body in SSE requests
- 0.89.x
0.89.2
19 Dec 2025plugin(@hey-api/typescript): improve type narrowing in discriminated types
plugin(@hey-api/client-axios): revert use
queryoption when noparamsSerializeris provided
0.89.1
18 Dec 2025parser: expose OpenAPI extension keywords
plugin(@hey-api/client-axios): use
queryoption when noparamsSerializeris providedplugin(@hey-api/sdk): lazily initialize sub-resources to improve performance
Patch Changes
parser: expose OpenAPI extension keywords
plugin(@hey-api/client-axios): use
queryoption when noparamsSerializeris providedplugin(@hey-api/sdk): lazily initialize sub-resources to improve performance
output: sanitize reserved names with underscore suffix instead of prefix
parser: improve discriminator support in nested
allOffieldsoutput: default to
.jsextension when module resolution is set tonode16
0.89.0
11 Dec 2025output: add
preferExportAlloptionparser: removed
symbol:setValue:*eventsoutput: add
nameConflictResolveroption
Minor Changes
output: add
preferExportAlloption
Prefer named exports
This release changes the default for
index.tsto prefer named exports. Named exports may lead to better IDE and bundler performance compared to asterisk (*) as your tooling doesn't have to inspect the underlying module to discover exports.While this change is merely cosmetic, you can set
output.preferExportAlltotrueif you prefer to use the asterisk.export default { input: 'hey-api/backend', // sign up at app.heyapi.dev output: { path: 'src/client', preferExportAll: true, }, };parser: removed
symbol:setValue:*events
Removed
symbol:setValue:*eventsThese events have been removed in favor of
node:set:*events.Patch Changes
output: add
nameConflictResolveroption
- 0.88.x
0.88.2
10 Dec 2025clients: handle CR and CRLF line endings in SSE
0.88.1
7 Dec 2025@hey-api/sdk: correctly map flat parameters
0.88.0
19 Nov 2025output: use TypeScript DSL
Minor Changes
output: use TypeScript DSL
Removed
compilerandtscexportsThis release removes the
compilerutility functions. Instead, it introduces a new TypeScript DSL exposed under the$symbol. All plugins now use this interface, so you may notice slight changes in the generated output.- 0.87.x
0.87.5
14 Nov 2025client-ofetch: fix FormData boundary mismatch
0.87.4
13 Nov 2025valibot: expose validator resolvers
zod: expose validator resolvers
0.87.3
12 Nov 2025valibot: allow generating custom pipes with
~resolverszod: allow generating custom chains with
~resolvers@tanstack/query: add type annotations to
queryOptions()
Patch Changes
valibot: allow generating custom pipes with
~resolverszod: allow generating custom chains with
~resolvers@tanstack/query: add type annotations to
queryOptions()client-fetch: intercept AbortError
@tanstack/query: prettier mutation options
0.87.2
11 Nov 2025clients: add support for Ky client
0.87.1
6 Nov 2025- Removed
typescript: Remove legacy options
tanstack-query: Correctly access instantiated SDKs
0.87.0
4 Nov 2025Remove legacy clients and plugins
Minor Changes
Remove legacy clients and plugins
Removed legacy clients
This release removes support for legacy clients and plugins. Please migrate to the new clients if you haven't done so yet. If you're unable to do so due to a missing feature, let us know on GitHub.
- 0.86.x
0.86.12
3 Nov 2025transformers: Do not reference undefined transformers
sdk: Add
paramsStructureoptionsdk: Handle conflicts between method names and subclasses in class-based SDKs
Patch Changes
transformers: Do not reference undefined transformers
sdk: Add
paramsStructureoptionsdk: Handle conflicts between method names and subclasses in class-based SDKs
Bundled context types
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.