Releases: hey-api/openapi-ts
@hey-api/openapi-ts@0.89.0
Minor Changes
Prefer named exports
This release changes the default for index.ts to 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.preferExportAll to true if you prefer to use the asterisk.
export default {
input: 'hey-api/backend', // sign up at app.heyapi.dev
output: {
path: 'src/client',
preferExportAll: true,
},
};Removed symbol:setValue:* events
These events have been removed in favor of node:set:* events.
Patch Changes
@hey-api/codegen-core@0.4.0
@hey-api/openapi-ts@0.88.2
Patch Changes
- clients: handle CR and CRLF line endings in SSE (#3055) (
d663232) by @nachogarcia
@hey-api/openapi-ts@0.88.1
@hey-api/openapi-ts@0.88.0
Minor Changes
Removed compiler and tsc exports
This release removes the compiler utility 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.
@hey-api/openapi-ts@0.87.5
Patch Changes
- client-ofetch: fix FormData boundary mismatch (#2940) (
b290ec9) by @copilot-swe-agent
@hey-api/openapi-ts@0.87.4
@hey-api/openapi-ts@0.87.3
Patch Changes
-
valibot: allow generating custom pipes with
~resolvers(#2975) (62a4745) by @mrlubos -
zod: allow generating custom chains with
~resolvers(#2975) (62a4745) by @mrlubos -
@tanstack/query: add type annotations to
queryOptions()(#2964) (7e1b017) by @NovakAnton -
client-fetch: intercept AbortError (#2970) (
9075309) by @copilot-swe-agent -
@tanstack/query: prettier mutation options (#2972) (
50266bd) by @mrlubos
@hey-api/openapi-ts@0.87.2
Patch Changes
-
clients: add support for Ky client (#2958) (
212fcaf) by @SebastiaanWouters -
parser: merge
defaultkeyword with$refin OpenAPI 3.1 (#2946) (15a178d) by @copilot-swe-agent -
output: run lint before format (#2937) (
eb23ee8) by @FloEdelmann -
@pinia/colada: correctly access instantiated SDKs (#2942) (
c041e96) by @mrlubos -
valibot: use
.strictObject()instead of.objectWithRest()when additional properties are not allowed (#2945) (3786d2b) by @copilot-swe-agent -
@tanstack/query: prettier query options (#2947) (
0b79b89) by @mrlubos