Releases: hey-api/openapi-ts
@hey-api/openapi-ts@0.83.1
Patch Changes
-
feat(typescript): add
topType
option allowing to chooseany
overunknown
(#2629) (444a49a
) by @mrlubos -
fix(client): expose all interceptor methods (#2627) (
5a74da0
) by @mrlubos -
fix(config): correctly load user-defined hooks (#2623) (
1193c4d
) by @mrlubos -
fix(typescript): handle string and binary string in composite keywords (#2630) (
43a0661
) by @mrlubos
@hey-api/openapi-ts@0.83.0
Minor Changes
- feat: 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. (#2582) (10aea89
) by @mrlubos
- feat(pinia-colada): remove
groupByTag
option
Removed groupByTag
Pinia Colada option
This option has been removed to provide a more consistent API across plugins. We plan to bring it back in a future release. (#2582) (10aea89
) by @mrlubos
Patch Changes
Updated Dependencies:
- @hey-api/codegen-core@0.1.0
@hey-api/codegen-core@0.1.0
@hey-api/openapi-ts@0.82.5
@hey-api/openapi-ts@0.82.4
Patch Changes
-
fix(client): improve handling of plain text, falsy, and unserialized request bodies (#2564) (
074a459
) by @franworks -
feat(pinia-colada): implicit
$fetch
forclient-nuxt
(hidecomposable
) (#2598) (7143078
) by @brolnickij -
fix(pinia-colada): optional
options
in mutation factory (#2593) (4137445
) by @brolnickij -
fix(parser): improve $ref handling (#2588) (
c97e7a8
) by @carson2222
@hey-api/nuxt@0.2.1
@hey-api/openapi-ts@0.82.1
Patch Changes
-
#2541
ad3c633
Thanks @ixnas! - feat(typescript): addtypescript-const
toenums.mode
for generating TypeScript enums as constants -
#2556
74c16f2
Thanks @carson2222! - fix(parser): prunerequired
array after removing properties -
#2559
5012a72
Thanks @jgoz! - fix(output): avoid appending.gen
to file names multiple times whenoutput.clean
isfalse
@hey-api/openapi-ts@0.82.0
Minor Changes
-
#2505
97c57f6
Thanks @SebastiaanWouters! - feat(parser): add Hooks APIAdded Hooks API
This release adds the Hooks API, 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.
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
-
#2542
c12f7c7
Thanks @mrlubos! - fix(client): pass fetch option to sse client -
#2505
80dc015
Thanks @SebastiaanWouters! - feat(plugin): add@pinia/colada
plugin -
#2535
efdeedc
Thanks @alexedme! - feat(client): added angular, axios, fetch, next & nuxt client type export for external typing purposes. -
#2544
d4cd30e
Thanks @carson2222! - fix(parser): improve handling multiple references to shared external variable -
#2519
95f00fa
Thanks @volesen! - fix(client): improve empty response body handling -
#1680
9e4cc3d
Thanks @josh-hemphill! - feat(plugin): add@pinia/colada
plugin -
#2530
8d1cfc4
Thanks @carson2222! - fix(parser): improvereadWrite
transformer splitting logic -
#2523
7f6de44
Thanks @carson2222! - fix(parser): handlepatternProperties
in OpenAPI 3.1
@hey-api/openapi-ts@0.81.1
Patch Changes
-
#2516
c71d5db
Thanks @mrlubos! - feat(typescript): add webhooks configuration options -
#2515
b81051e
Thanks @malcolm-kee! - fix(parser): correctly handle schema extending discriminated schema -
#2513
34fa59f
Thanks @mrlubos! - fix(client): move sse functions into their own namespace -
#2516
c71d5db
Thanks @mrlubos! - feat(validator): add webhooks configuration options -
#2516
c71d5db
Thanks @mrlubos! - feat(parser): handle webhooks in OpenAPI 3.1