From 5cc7bea665c487e470d1fabc37ea4b9eeb170659 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 26 Aug 2025 18:39:30 +0000 Subject: [PATCH] Version Packages --- .changeset/modern-colts-hang.md | 5 ----- .changeset/olive-pots-rest.md | 23 --------------------- .changeset/six-pants-float.md | 5 ----- .changeset/smooth-ties-brush.md | 5 ----- .changeset/two-humans-rescue.md | 5 ----- packages/openapi-ts/CHANGELOG.md | 34 ++++++++++++++++++++++++++++++++ packages/openapi-ts/package.json | 2 +- 7 files changed, 35 insertions(+), 44 deletions(-) delete mode 100644 .changeset/modern-colts-hang.md delete mode 100644 .changeset/olive-pots-rest.md delete mode 100644 .changeset/six-pants-float.md delete mode 100644 .changeset/smooth-ties-brush.md delete mode 100644 .changeset/two-humans-rescue.md diff --git a/.changeset/modern-colts-hang.md b/.changeset/modern-colts-hang.md deleted file mode 100644 index 1c17966fe..000000000 --- a/.changeset/modern-colts-hang.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@hey-api/openapi-ts': patch ---- - -feat(plugin): add `@pinia/colada` plugin diff --git a/.changeset/olive-pots-rest.md b/.changeset/olive-pots-rest.md deleted file mode 100644 index 75fc6ff34..000000000 --- a/.changeset/olive-pots-rest.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@hey-api/openapi-ts': minor ---- - -feat(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), - }, - }, - }, -}; -``` diff --git a/.changeset/six-pants-float.md b/.changeset/six-pants-float.md deleted file mode 100644 index 1c690f78b..000000000 --- a/.changeset/six-pants-float.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@hey-api/openapi-ts": patch ---- - -fix(client): improve empty response body handling diff --git a/.changeset/smooth-ties-brush.md b/.changeset/smooth-ties-brush.md deleted file mode 100644 index 1c17966fe..000000000 --- a/.changeset/smooth-ties-brush.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@hey-api/openapi-ts': patch ---- - -feat(plugin): add `@pinia/colada` plugin diff --git a/.changeset/two-humans-rescue.md b/.changeset/two-humans-rescue.md deleted file mode 100644 index 98f3d708a..000000000 --- a/.changeset/two-humans-rescue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@hey-api/openapi-ts': patch ---- - -fix(parser): handle `patternProperties` in OpenAPI 3.1 diff --git a/packages/openapi-ts/CHANGELOG.md b/packages/openapi-ts/CHANGELOG.md index 3a1f0cb9c..56d88f744 100644 --- a/packages/openapi-ts/CHANGELOG.md +++ b/packages/openapi-ts/CHANGELOG.md @@ -1,5 +1,39 @@ # @hey-api/openapi-ts +## 0.82.0 + +### Minor Changes + +- [#2505](https://github.com/hey-api/openapi-ts/pull/2505) [`97c57f6`](https://github.com/hey-api/openapi-ts/commit/97c57f68af1f907f278707fb526289c73b33ea89) Thanks [@SebastiaanWouters](https://github.com/SebastiaanWouters)! - feat(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 + +- [#2505](https://github.com/hey-api/openapi-ts/pull/2505) [`80dc015`](https://github.com/hey-api/openapi-ts/commit/80dc01515d67bd335427af3dc9be0d49a417b9e3) Thanks [@SebastiaanWouters](https://github.com/SebastiaanWouters)! - feat(plugin): add `@pinia/colada` plugin + +- [#2519](https://github.com/hey-api/openapi-ts/pull/2519) [`95f00fa`](https://github.com/hey-api/openapi-ts/commit/95f00fa28a4c56f8f614649f8b4fd73a08f8b81f) Thanks [@volesen](https://github.com/volesen)! - fix(client): improve empty response body handling + +- [#1680](https://github.com/hey-api/openapi-ts/pull/1680) [`9e4cc3d`](https://github.com/hey-api/openapi-ts/commit/9e4cc3df784999ead1691848a4db0b7238e45809) Thanks [@josh-hemphill](https://github.com/josh-hemphill)! - feat(plugin): add `@pinia/colada` plugin + +- [#2523](https://github.com/hey-api/openapi-ts/pull/2523) [`7f6de44`](https://github.com/hey-api/openapi-ts/commit/7f6de44be7f445425c70c82833bc0442db2fcbcd) Thanks [@carson2222](https://github.com/carson2222)! - fix(parser): handle `patternProperties` in OpenAPI 3.1 + ## 0.81.1 ### Patch Changes diff --git a/packages/openapi-ts/package.json b/packages/openapi-ts/package.json index efb6993b5..b9e81984b 100644 --- a/packages/openapi-ts/package.json +++ b/packages/openapi-ts/package.json @@ -1,6 +1,6 @@ { "name": "@hey-api/openapi-ts", - "version": "0.81.1", + "version": "0.82.0", "description": "🚀 The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more.", "homepage": "https://heyapi.dev/", "repository": {