Changelog
Stay up to date with the latest features, improvements, and bug fixes in OpenAPI TypeScript.For breaking changes and migration guides, see the Migration Guide.
Latest Releases
v0.93.1
Patch Changes
- plugin(@tanstack/query): Skip mutation queries for SSE endpoints (#3470)
- client: Avoid removing empty arrays from flat arguments (#3451)
- plugin(zod): Apply nullable modifier to
additionalPropertiesschema (#3452) - cli: Do not set
logs.filetotrueby default (#3469) - plugin(@hey-api/sdk): Correctly set required flat parameters (#3458)
- plugin(zod/valibot): Add
uflag on regex patterns with unicode property escapes (#3468) - plugin(@hey-api/typescript): Simplify union types if a member is
unknown(#3454) - client(@hey-api/nuxt): Do not unwrap blob values (#3459)
- client: Support async
createClientConfig(#3445)
v0.93.0
Minor Changes
-
plugin(valibot): Remove
enum.nodes.nullableresolver node (#3396)Valibot plugin no longer exposes theenum.nodes.nullablenode. Nullable values are now handled outside of resolvers. -
plugin(zod): Remove
enum.nodes.nullableresolver node (#3398)Zod plugin no longer exposes theenum.nodes.nullablenode. Nullable values are now handled outside of resolvers.
Patch Changes
- parser: Prefer unprefixed schema names from external files (#3417)
- parser(patch): Support callback for
patch.schemasandpatch.operations(#3415) - output: Apply
output.headerto bundled files (#3438) - parser: Handle OpenAPI 3.1
contentMediaTypekeyword as binary format (#3431) - client: Expose
onRequestin RequestOptions for SSE request interception (#3392) - plugin(zod): Use
.nullable()and.nullish()methods (#3398) - plugin(valibot): Use
.nullable()and.nullish()methods (#3396)
v0.92.4
Patch Changes
- plugin(@hey-api/transformers): Fix false positive warning for discriminated
oneOfschemas (#3379) - plugin(@hey-api/client-nuxt): Forward
asyncDataOptionstouseFetchanduseLazyFetch(#3382) - output: Detect
importFileExtensionfrom tsconfigmoduleoption (#3380) - plugin(@hey-api/typescript): Deduplicate enum keys to avoid name collision (#3376)
- plugin(@hey-api/client-nuxt): Unwrap
ComputedRefbody before serialization (#3361) - plugin(@angular/common): Use generics for HttpRequests (#3384)
v0.92.0
Minor Changes
-
BREAKING: Replace
exportFromarray withgetExportFromFilePath()function (#3318)
Patch Changes
- config: Rename
exportFromIndexoption toincludeInEntry(#3318) - config:
includeInEntryaccepts function in addition to primitive value (#3318) - config: Rename
output.indexFiletooutput.entryFile(#3318) - plugin: Add
commentsoption to all plugins (#3318) - types: Improve
defineConfig()types (#3318)
v0.91.0
Minor Changes
- BREAKING: Drop CommonJS (CJS) support. Package is now ESM-only. (#3251)
v0.90.10
Patch Changes
- plugin(@tanstack/*): Index mutation options symbol for all TanStack Query variants (#3253)
- parser: Inline deep path
$refreferences (#3242) - plugin(@hey-api/sdk): Correctly map body keys in flat mode (#3255)
v0.90.0
Minor Changes
-
plugin(valibot): Standardize
~resolversAPI (#3147) -
plugin(zod): Standardize
~resolversAPI (#3147) - plugin(sdk): Structure API (#3109)
-
plugin(@angular/common): Structure API (#3109)
The Resolvers and Structure APIs provide more consistent behavior across plugins. See the migration guide for details.
Patch Changes
- clients: Use serialized body in SSE requests across all clients (#3171)
- plugin(zod): Expand support for bigint types (#3145)
- plugin(@hey-api/client-nuxt): Preserve null in
WithRefstype for nullable fields (#3131) - renderer: Correctly render default import (#3109)
Recent Features
v0.89.0 - Prefer Named Exports
v0.89.0 - Prefer Named Exports
This release changes the default for
index.ts to prefer named exports for better IDE and bundler performance.Set output.preferExportAll to true if you prefer asterisk exports.v0.88.0 - TypeScript DSL
v0.88.0 - TypeScript DSL
Introduces a new TypeScript DSL exposed under the
$ symbol. All plugins now use this interface.v0.87.0 - Removed Legacy Clients
v0.87.0 - Removed Legacy Clients
Legacy clients and plugins have been removed. Please migrate to the new clients.
v0.86.0 - Node 20.19.0 Minimum
v0.86.0 - Node 20.19.0 Minimum
Bumps minimum Node version to 20.19.0 for better performance and security.
v0.85.0 - Updated Output Options
v0.85.0 - Updated Output Options
Output configuration now uses
null to represent disabled options for consistency.View Full History
Complete Changelog
View the complete changelog on GitHub for all historical releases and detailed changes.
Stay Updated
GitHub Releases
Subscribe to GitHub releases for notifications
Migration Guide
Learn how to migrate between major versions