Releases: hey-api/openapi-ts
@hey-api/shared@0.2.3
@hey-api/openapi-ts@0.94.1
Patch Changes
-
plugin(@hey-api/typescript): add Resolvers API (#3531) (
0e47fcb) by @mrlubos -
dsl: expand list of JavaScript globals (#3508) (
1e00a69) by @mrlubos -
plugin(valibot): provide more resolvers (#3547) (
854ee1c) by @mrlubos -
cli: show environment value in development (#3546) (
571bc8a) by @mrlubos -
plugin(zod): handle
guidstring format (#3552) (7acb228) by @erikwski -
plugin(@hey-api/typescript): implement
getName()symbol hook (#3556) (68c750a) by @mrlubos -
plugin(zod): implement
getName()symbol hook (#3556) (68c750a) by @mrlubos -
config(plugins): show warning when plugin infer fails (#3540) (
0512650) by @mrlubos -
plugin(valibot): implement
getName()symbol hook (#3556) (68c750a) by @mrlubos -
plugin(@hey-api/transformers): fix: support
anyOfschema with null (#3504) (4b6b398) by @copilot-swe-agent -
plugin(zod): provide more resolvers (#3554) (
bfa255c) by @mrlubos
Updated Dependencies:
- @hey-api/codegen-core@0.7.2
- @hey-api/shared@0.2.3
@hey-api/codegen-core@0.7.2
@hey-api/shared@0.2.2
@hey-api/openapi-ts@0.94.0
Minor Changes
- BREAKING client:
buildUrl()function includesbaseUrlfrom config by default (#3491) (c0cbffb) by @copilot-swe-agent
Patch Changes
-
dsl(reserved): expand reserved keywords with more globals (#3487) (
89a9151) by @mrlubos -
parser: fix: explicit discriminator mapping wins over fallback in nested
allOf(#3490) (a67d589) by @pgraug -
plugin(@pinia/colada): fix: pass error type generic to
defineQueryOptions(#3483) (8e5a578) by @lukaspodmelle -
plugin(@tanstack/react-query): support generating
useMutationhooks (#3432) (12d7660) by @nmokkenstorm -
plugin(typescript): fix: reference enum object when creating enum types (#3500) (
127e67b) by @mrlubos -
output(header): fix: support function signature in client and core files (#3486) (
942913a) by @mrlubos -
output: fix: avoid double sanitizing leading character (#3448) (
c50f7bc) by @mrlubos -
internal: fix: simplify dev mode check (#3498) (
ea2538b) by @mrlubos -
plugin(zod): support function in
metadataoption (#3497) (1ed39bc) by @copilot-swe-agent -
plugin(valibot): support function in
metadataoption (#3497) (202cc05) by @copilot-swe-agent -
internal: log symbol meta if name is falsy (#3448) (
c50f7bc) by @mrlubos -
client: fix: change serializer types from
anytounknown(#3471) (ad11be2) by @copilot-swe-agent -
plugin(@tanstack/preact-query): initial release (#3499) (
873839e) by @mrlubos
Updated Dependencies:
- @hey-api/shared@0.2.2
- @hey-api/codegen-core@0.7.1
@hey-api/codegen-core@0.7.1
@hey-api/openapi-ts@0.93.1
Patch Changes
-
plugin(@tanstack/query): fix: skip mutation queries for SSE endpoints (#3470) (
3ca4f31) by @copilot-swe-agent -
client: fix: avoid removing empty arrays from flat arguments (#3451) (
1518fda) by @copilot-swe-agent -
plugin(zod): fix: apply nullable modifier to
additionalPropertiesschema (#3452) (2e903af) by @copilot-swe-agent -
cli: fix: do not set
logs.filetotrueby default (#3469) (9e3d347) by @copilot-swe-agent -
plugin(@hey-api/sdk): fix: correctly set required flat parameters (#3458) (
bf50a55) by @copilot-swe-agent -
plugin(zod): add
uflag on regex patterns with unicode property escapes (#3468) (67ad86a) by @copilot-swe-agent -
plugin(valibot): add
uflag on regex patterns with unicode property escapes (#3468) (003d914) by @copilot-swe-agent -
plugin(@hey-api/typescript): simplify union types if a member is
unknown(#3454) (96d87df) by @copilot-swe-agent -
client(@hey-api/nuxt): fix: do not unwrap blob values (#3459) (
b7233d1) by @LeiCraft -
client: support async
createClientConfig(#3445) (cd33d86) by @copilot-swe-agent
@hey-api/shared@0.2.1
Patch Changes
-
internal: export schema walker interfaces (#3396) (
ea6f386) by @mrlubos -
parser(patch): support callback for
patch.schemas(#3415) (e494f4d) by @copilot-swe-agent -
parser: handle OpenAPI 3.1
contentMediaTypekeyword as binary format when file-like (#3431) (d6a8538) by @copilot-swe-agent -
input: fix: improve returned status code when spec fetch fails (#3427) (
37dd92c) by @copilot-swe-agent -
parser: add
patch.inputand shorthandpatch()option for full specification transformations (#3411) (ba9f893) by @copilot-swe-agent -
parser: fix: preserve
unevaluatedPropertieskeyword in transforms (#3435) (f659b38) by @copilot-swe-agent -
parser(transforms): add
schemaNametransform (#3416) (4b9d032) by @copilot-swe-agent -
parser(patch): support callback for
patch.operations(#3420) (e1cd970) by @copilot-swe-agent -
parser: add support for non-string discriminator property types (#3385) (
dd0be9c) by @SipanP
Updated Dependencies:
- @hey-api/json-schema-ref-parser@1.3.1
@hey-api/openapi-ts@0.93.0
Minor Changes
Removed resolver node
Valibot plugin no longer exposes the enum.nodes.nullable node. It was refactored so that nullable values are handled outside of resolvers.
Removed resolver node
Zod plugin no longer exposes the enum.nodes.nullable node. It was refactored so that nullable values are handled outside of resolvers.
Patch Changes
-
parser: prefer unprefixed schema names from external files (#3417) (
f3a264b) by @copilot-swe-agent -
parser(patch): support callback for
patch.schemas(#3415) (e494f4d) by @copilot-swe-agent -
output: fix: apply
output.headerto bundled files (#3438) (bcd0a87) by @copilot-swe-agent -
parser: handle OpenAPI 3.1
contentMediaTypekeyword as binary format when file-like (#3431) (d6a8538) by @copilot-swe-agent -
input: fix: improve returned status code when spec fetch fails (#3427) (
37dd92c) by @copilot-swe-agent -
client: expose
onRequestin RequestOptions for SSE request interception (#3392) (8fc4681) by @copilot-swe-agent -
parser: add
patch.inputand shorthandpatch()option for full specification transformations (#3411) (ba9f893) by @copilot-swe-agent -
parser: fix: preserve
unevaluatedPropertieskeyword in transforms (#3435) (f659b38) by @copilot-swe-agent -
plugin(zod): use
.nullable()and.nullish()methods (#3398) (737730c) by @mrlubos -
parser: fix: resolve sibling schemas from external files during bundling (#3422) (
19fd80a) by @j-westover -
parser(transforms): add
schemaNametransform (#3416) (4b9d032) by @copilot-swe-agent -
plugin(valibot): use
.nullable()and.nullish()methods (#3396) (ea6f386) by @mrlubos -
input: fix: avoid prefixing sources if paths do not collide on operations (#3436) (
b1a419a) by @copilot-swe-agent -
parser(patch): support callback for
patch.operations(#3420) (e1cd970) by @copilot-swe-agent -
parser: add support for non-string discriminator property types (#3385) (
dd0be9c) by @SipanP
Updated Dependencies:
- @hey-api/shared@0.2.1
- @hey-api/json-schema-ref-parser@1.3.1
@hey-api/json-schema-ref-parser@1.3.1
Patch Changes
-
parser: prefer unprefixed schema names from external files (#3417) (
f3a264b) by @copilot-swe-agent -
parser: fix: resolve sibling schemas from external files during bundling (#3422) (
19fd80a) by @j-westover -
input: fix: avoid prefixing sources if paths do not collide on operations (#3436) (
b1a419a) by @copilot-swe-agent