@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.86.x
0.86.11
31 Oct 2025types: Use unique generic names in
PluginInstanceto avoid typing issues
0.86.10
30 Oct 2025parser: Handle OpenAPI 2.0 body as JSON by default if not explicitly defined
0.86.9
30 Oct 2025valibot: Handle
timestring formatGracefully handle errors in debug reports
Patch Changes
valibot: Handle
timestring formatGracefully handle errors in debug reports
0.86.8
28 Oct 2025valibot: Improve handling of additionalProperties type
0.86.7
27 Oct 2025types: Export Operation type
0.86.6
27 Oct 2025transformers: Revert function order to fix infinite cycle regression
0.86.5
26 Oct 2025parser: write-only schema incorrectly used in response schemas
cli: Move cli script to typescript
0.86.4
25 Oct 2025parser: Pass tags to symbol meta
clients: Granular query parameter serialization strategy
0.86.3
23 Oct 2025parser: Add
eventshooksparser: writeOnly schema properties missing from request types in nested schemas
0.86.2
23 Oct 2025validators: Do not reference variables before they are declared
renderer: Allow duplicate names when one symbol is a type
Patch Changes
validators: Do not reference variables before they are declared
renderer: Allow duplicate names when one symbol is a type
0.86.1
20 Oct 2025client-axios: Revert return error when axios request fails
0.86.0
19 Oct 2025Do not print error details if logs are set to silent
client-axios: Return error when axios request fails
Minor Changes
- Breaking
Bump minimum Node version to 20.19.0
Patch Changes
Do not print error details if logs are set to silent
client-axios: Return error when axios request fails
- 0.85.x
0.85.2
13 Oct 2025Dynamically load c12 to work with cjs modules
cli: Detect watch mode with input array
0.85.1
8 Oct 2025zod: allOf in array items being generated as union instead of intersection
0.85.0
6 Oct 2025Support multiple configurations
config: Add
output.importFileExtensionoptionpinia-colada: Query options use
defineQueryOptions
Updated
outputoptionsWe made the
outputconfiguration more consistent by usingnullto 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
defineQueryOptionsto 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, }));- 0.84.x
0.84.4
30 Sep 2025client-ofetch: Add missing credentials property support
config: Do not override interactive config from CLI if defined in config file
zod: Correct schemas for numeric and boolean enums
0.84.3
25 Sep 2025validators: Escaping slashes in regular expressions
0.84.2
23 Sep 2025parser: Add
propertiesRequiredByDefaulttransform optiontypescript: Do not mark enums as types
0.84.1
22 Sep 2025Add
ofetchclient available as@hey-api/client-ofetchrenderer: Replace default import placeholder
0.84.0
22 Sep 2025Symbol API
Minor Changes
Symbol API
Symbol API
This release improves the Symbol API, which adds the capability to place symbols in arbitrary files. We preserved the previous output structure for all plugins except Angular.
You can preserve the previous Angular output by writing your own placement function.
Removed
outputplugin optionDue to the Symbol API release, this option has been removed from the Plugin API.
TypeScript renderer
We ship a dedicated TypeScript renderer for
.tsfiles. This release improves the renderer's ability to group and sort imported modules, resulting in a more polished output.- 0.83.x
0.83.1
10 Sep 2025typescript: Add
topTypeoption allowing to chooseanyoverunknownclient: Expose all interceptor methods
config: Correctly load user-defined hooks
Patch Changes
typescript: Add
topTypeoption allowing to chooseanyoverunknownclient: Expose all interceptor methods
config: Correctly load user-defined hooks
typescript: Handle string and binary string in composite keywords
0.83.0
10 Sep 2025- Removed
pinia-colada: Remove
groupByTagoption Symbol API
Minor Changes
Symbol API
Symbol API
This release adds the Symbol API, which significantly reduces the risk of naming collisions. While the generated output should only include formatting changes, this feature introduces breaking changes to the Plugin API that affect custom plugins.
We will update the custom plugin guide once the Plugin API becomes more stable.
- Removed
pinia-colada: Remove
groupByTagoption
Removed
groupByTagPinia Colada optionThis option has been removed to provide a more consistent API across plugins. We plan to bring it back in a future release.
- 0.82.x
0.82.5
7 Sep 2025client:
mergeHeadersfunctions use.forEach()instead of.entries()client: Move
getValidRequestBody()function toclient-core
0.82.4
5 Sep 2025client: Improve handling of plain text, falsy, and unserialized request bodies
pinia-colada: Implicit
$fetchforclient-nuxt(hidecomposable)pinia-colada: Optional
optionsin mutation factory
Patch Changes
client: Improve handling of plain text, falsy, and unserialized request bodies
pinia-colada: Implicit
$fetchforclient-nuxt(hidecomposable)pinia-colada: Optional
optionsin mutation factoryparser: Improve $ref handling
0.82.3
1 Sep 2025angular: Allow
httpResourceto skip requests whenundefinedis returned
0.82.2
31 Aug 2025Update peer dependencies to be more permissible
Patch Changes
Update peer dependencies to be more permissible
0.82.1
30 Aug 2025typescript: Add
typescript-consttoenums.modefor generating TypeScript enums as constantsparser: Prune
requiredarray after removing propertiesoutput: Avoid appending
.gento file names multiple times whenoutput.cleanisfalse
0.82.0
28 Aug 2025parser: Add Hooks API
client: Pass fetch option to sse client
plugin: Add
@pinia/coladaplugin
Minor Changes
parser: Add Hooks API
Added Hooks API
This release adds the [Hooks API](https://heyapi.dev/openapi-ts/configuration/parser#hooks), giving you granular control over which operations generate queries and mutations. As a result, we tightened the previous behavior and POST operations no longer generate queries by default. To preserve the old behavior, add a custom matcher. ```js export default { input: 'hey-api/backend', // sign up at app.heyapi.dev output: 'src/client', parser: { hooks: { operations: { isQuery: (op) => (op.method === 'post' ? true : undefined), }, }, }, }; ```Patch Changes
client: Pass fetch option to sse client
plugin: Add
@pinia/coladapluginefdeedcThanks @alexedme! - feat(client): added angular, axios, fetch, next & nuxt client type export for external typing purposes.parser: Improve handling multiple references to shared external variable
client: Improve empty response body handling
plugin: Add
@pinia/coladapluginparser: Improve
readWritetransformer splitting logicparser: Handle
patternPropertiesin OpenAPI 3.1
- 0.81.x
0.81.1
24 Aug 2025typescript: Add webhooks configuration options
parser: Correctly handle schema extending discriminated schema
client: Move sse functions into their own namespace
Patch Changes
typescript: Add webhooks configuration options
parser: Correctly handle schema extending discriminated schema
client: Move sse functions into their own namespace
validator: Add webhooks configuration options
parser: Handle webhooks in OpenAPI 3.1
0.81.0
22 Aug 2025client: Add support for server-sent events (SSE)
- 0.80.x
0.80.18
21 Aug 2025parser: OpenAPI 3.1 parser handles multiple
typevalues
0.80.17
21 Aug 2025client: Angular client correctly applies default GET method
0.80.16
20 Aug 2025client: Nuxt client receives raw body in request validators
parser: Deduplicate security schemas based on name
parser: Input supports Hey API Registry shorthand
Patch Changes
client: Nuxt client receives raw body in request validators
parser: Deduplicate security schemas based on name
parser: Input supports Hey API Registry shorthand
parser: Input supports ReadMe API Registry with
readme:prefixparser: Input supports Scalar API Registry with
scalar:prefix
0.80.15
19 Aug 2025client: Call
auth()function for every unique securitynameparser: Cache parent to children nodes
0.80.14
18 Aug 2025parser: Cache visited graph nodes to boost performance
0.80.13
18 Aug 2025parser: Handle non-ascii characters in discriminator
0.80.12
18 Aug 2025zod: Add
dates.localoption to allow unqualified (timezone-less) datetimes
0.80.11
15 Aug 2025client: Add
@hey-api/client-angularclientplugin: Add
@angular/commonplugin
0.80.10
13 Aug 2025client: Handle dates in formdata serializer
0.80.9
12 Aug 2025sdk: Handle infinite loop in nested operation IDs and tags with duplicate values
0.80.8
10 Aug 2025client: Add auto-generated header to client files
client: Correctly rename client files with nodenext bundler
tanstack-query: Set correct name for pagination parameters in infinite query options
0.80.7
9 Aug 2025client: Add
.gento client files
0.80.6
8 Aug 2025tanstack-query: Support generating
metafieldsclients: Pass raw
bodyto interceptors, provide serialized body inserializedBodysdk: Prevent infinite loop when a schema tag matches operation ID
0.80.5
6 Aug 2025Resolve Yarn PnP compatibility issues with client bundle generation
0.80.4
6 Aug 2025tanstack-query: Add
queryKeys.tagsandinfiniteQueryKeys.tagsoptions
0.80.3
6 Aug 2025zod: Improve handling of additional properties
0.80.2
3 Aug 2025transformers: Add
typeTransformersoption allowing passing custom transform functionsclient-axios: Allow passing
AxiosInstanceintoaxiosfield
0.80.1
24 Jul 2025valibot: Expand support for
format: int64
0.80.0
23 Jul 2025zod: Add support for Zod 4 and Zod Mini
- 0.79.x
0.79.2
21 Jul 2025typescript: Add support for TypeID types
parser: Respect
output.casewhen generating operation id
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.