From 755b62733318ecc4e1fac1f6e77750cbd42bbd66 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 17 Dec 2024 21:01:43 +0000 Subject: [PATCH] Version Packages --- .changeset/fluffy-beans-clean.md | 30 --------------- .changeset/lazy-moose-retire.md | 5 --- .changeset/polite-houses-roll.md | 6 --- .changeset/shiny-birds-remain.md | 5 --- .changeset/twenty-apes-eat.md | 6 --- docs/CHANGELOG.md | 10 +++++ docs/package.json | 2 +- examples/openapi-ts-axios/CHANGELOG.md | 7 ++++ examples/openapi-ts-axios/package.json | 2 +- examples/openapi-ts-fastify/CHANGELOG.md | 7 ++++ examples/openapi-ts-fastify/package.json | 2 +- examples/openapi-ts-fetch/CHANGELOG.md | 7 ++++ examples/openapi-ts-fetch/package.json | 2 +- .../CHANGELOG.md | 7 ++++ .../package.json | 2 +- .../CHANGELOG.md | 7 ++++ .../package.json | 2 +- .../CHANGELOG.md | 7 ++++ .../package.json | 2 +- .../CHANGELOG.md | 7 ++++ .../package.json | 2 +- packages/client-axios/CHANGELOG.md | 6 +++ packages/client-axios/package.json | 2 +- packages/client-fetch/CHANGELOG.md | 6 +++ packages/client-fetch/package.json | 2 +- packages/openapi-ts/CHANGELOG.md | 37 +++++++++++++++++++ packages/openapi-ts/package.json | 2 +- 27 files changed, 119 insertions(+), 63 deletions(-) delete mode 100644 .changeset/fluffy-beans-clean.md delete mode 100644 .changeset/lazy-moose-retire.md delete mode 100644 .changeset/polite-houses-roll.md delete mode 100644 .changeset/shiny-birds-remain.md delete mode 100644 .changeset/twenty-apes-eat.md diff --git a/.changeset/fluffy-beans-clean.md b/.changeset/fluffy-beans-clean.md deleted file mode 100644 index 746f8f066..000000000 --- a/.changeset/fluffy-beans-clean.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -'@hey-api/openapi-ts': minor ---- - -fix: require sdk.transformer to use generated transformers - -### Added `sdk.transformer` option - -When generating SDKs, you now have to specify `transformer` in order to modify response data. By default, adding `@hey-api/transformers` to your plugins will only produce additional output. To preserve the previous functionality, set `sdk.transformer` to `true`. - -```js -import { defaultPlugins } from '@hey-api/openapi-ts'; - -export default { - client: '@hey-api/client-fetch', - input: 'path/to/openapi.json', - output: 'src/client', - plugins: [ - ...defaultPlugins, - { - dates: true, - name: '@hey-api/transformers', - }, - { - name: '@hey-api/sdk', - transformer: true, // [!code ++] - }, - ], -}; -``` diff --git a/.changeset/lazy-moose-retire.md b/.changeset/lazy-moose-retire.md deleted file mode 100644 index 3cebbccc7..000000000 --- a/.changeset/lazy-moose-retire.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@hey-api/docs': patch ---- - -docs: add validators page diff --git a/.changeset/polite-houses-roll.md b/.changeset/polite-houses-roll.md deleted file mode 100644 index afb94b33b..000000000 --- a/.changeset/polite-houses-roll.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@hey-api/client-axios': patch -'@hey-api/client-fetch': patch ---- - -fix: add responseValidator option diff --git a/.changeset/shiny-birds-remain.md b/.changeset/shiny-birds-remain.md deleted file mode 100644 index 2f4f864c4..000000000 --- a/.changeset/shiny-birds-remain.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@hey-api/openapi-ts': patch ---- - -feat: Zod plugin generates response schemas diff --git a/.changeset/twenty-apes-eat.md b/.changeset/twenty-apes-eat.md deleted file mode 100644 index b96899559..000000000 --- a/.changeset/twenty-apes-eat.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@hey-api/openapi-ts': minor -'@hey-api/docs': minor ---- - -fix: revert license to MIT diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index db53927c7..d770fc89b 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,5 +1,15 @@ # @hey-api/docs +## 0.8.0 + +### Minor Changes + +- [#1447](https://github.com/hey-api/openapi-ts/pull/1447) [`200821b`](https://github.com/hey-api/openapi-ts/commit/200821b3ceea8ffca7656fe3f6e2ef98b7110a2a) Thanks [@mrlubos](https://github.com/mrlubos)! - fix: revert license to MIT + +### Patch Changes + +- [#1430](https://github.com/hey-api/openapi-ts/pull/1430) [`9cec9e8`](https://github.com/hey-api/openapi-ts/commit/9cec9e8582c12a8c041b922d9587e16f6f19782a) Thanks [@mrlubos](https://github.com/mrlubos)! - docs: add validators page + ## 0.7.4 ### Patch Changes diff --git a/docs/package.json b/docs/package.json index 7466e821b..4769b4f3f 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,6 @@ { "name": "@hey-api/docs", - "version": "0.7.4", + "version": "0.8.0", "description": "Documentation for OpenaAPI TypeScript.", "private": true, "type": "module", diff --git a/examples/openapi-ts-axios/CHANGELOG.md b/examples/openapi-ts-axios/CHANGELOG.md index 977bb5c5f..3730bdcb0 100644 --- a/examples/openapi-ts-axios/CHANGELOG.md +++ b/examples/openapi-ts-axios/CHANGELOG.md @@ -1,5 +1,12 @@ # @example/openapi-ts-axios +## 0.0.19 + +### Patch Changes + +- Updated dependencies [[`9cec9e8`](https://github.com/hey-api/openapi-ts/commit/9cec9e8582c12a8c041b922d9587e16f6f19782a)]: + - @hey-api/client-axios@0.3.2 + ## 0.0.18 ### Patch Changes diff --git a/examples/openapi-ts-axios/package.json b/examples/openapi-ts-axios/package.json index 68ee83248..1a7f71f19 100644 --- a/examples/openapi-ts-axios/package.json +++ b/examples/openapi-ts-axios/package.json @@ -1,7 +1,7 @@ { "name": "@example/openapi-ts-axios", "private": true, - "version": "0.0.18", + "version": "0.0.19", "type": "module", "scripts": { "build": "tsc && vite build", diff --git a/examples/openapi-ts-fastify/CHANGELOG.md b/examples/openapi-ts-fastify/CHANGELOG.md index 6da0807a7..f1f371273 100644 --- a/examples/openapi-ts-fastify/CHANGELOG.md +++ b/examples/openapi-ts-fastify/CHANGELOG.md @@ -1,5 +1,12 @@ # @example/openapi-ts-fastify +## 0.0.8 + +### Patch Changes + +- Updated dependencies [[`9cec9e8`](https://github.com/hey-api/openapi-ts/commit/9cec9e8582c12a8c041b922d9587e16f6f19782a)]: + - @hey-api/client-fetch@0.5.5 + ## 0.0.7 ### Patch Changes diff --git a/examples/openapi-ts-fastify/package.json b/examples/openapi-ts-fastify/package.json index ace1b81e3..afddd7e7a 100644 --- a/examples/openapi-ts-fastify/package.json +++ b/examples/openapi-ts-fastify/package.json @@ -1,7 +1,7 @@ { "name": "@example/openapi-ts-fastify", "private": true, - "version": "0.0.7", + "version": "0.0.8", "type": "module", "scripts": { "openapi-ts": "openapi-ts", diff --git a/examples/openapi-ts-fetch/CHANGELOG.md b/examples/openapi-ts-fetch/CHANGELOG.md index 672cb0bd2..7884dff2d 100644 --- a/examples/openapi-ts-fetch/CHANGELOG.md +++ b/examples/openapi-ts-fetch/CHANGELOG.md @@ -1,5 +1,12 @@ # @example/openapi-ts-fetch +## 0.0.37 + +### Patch Changes + +- Updated dependencies [[`9cec9e8`](https://github.com/hey-api/openapi-ts/commit/9cec9e8582c12a8c041b922d9587e16f6f19782a)]: + - @hey-api/client-fetch@0.5.5 + ## 0.0.36 ### Patch Changes diff --git a/examples/openapi-ts-fetch/package.json b/examples/openapi-ts-fetch/package.json index b4dd09527..e141b41c2 100644 --- a/examples/openapi-ts-fetch/package.json +++ b/examples/openapi-ts-fetch/package.json @@ -1,7 +1,7 @@ { "name": "@example/openapi-ts-fetch", "private": true, - "version": "0.0.36", + "version": "0.0.37", "type": "module", "scripts": { "build": "tsc && vite build", diff --git a/examples/openapi-ts-tanstack-angular-query-experimental/CHANGELOG.md b/examples/openapi-ts-tanstack-angular-query-experimental/CHANGELOG.md index ca921c465..bbede08ee 100644 --- a/examples/openapi-ts-tanstack-angular-query-experimental/CHANGELOG.md +++ b/examples/openapi-ts-tanstack-angular-query-experimental/CHANGELOG.md @@ -1,5 +1,12 @@ # @example/openapi-ts-tanstack-angular-query-experimental +## 0.0.8 + +### Patch Changes + +- Updated dependencies [[`9cec9e8`](https://github.com/hey-api/openapi-ts/commit/9cec9e8582c12a8c041b922d9587e16f6f19782a)]: + - @hey-api/client-fetch@0.5.5 + ## 0.0.7 ### Patch Changes diff --git a/examples/openapi-ts-tanstack-angular-query-experimental/package.json b/examples/openapi-ts-tanstack-angular-query-experimental/package.json index 1dce308d8..d2a6dca94 100644 --- a/examples/openapi-ts-tanstack-angular-query-experimental/package.json +++ b/examples/openapi-ts-tanstack-angular-query-experimental/package.json @@ -1,6 +1,6 @@ { "name": "@example/openapi-ts-tanstack-angular-query-experimental", - "version": "0.0.7", + "version": "0.0.8", "scripts": { "ng": "ng", "start": "ng serve", diff --git a/examples/openapi-ts-tanstack-react-query/CHANGELOG.md b/examples/openapi-ts-tanstack-react-query/CHANGELOG.md index fe8123dd6..b9e5ccf66 100644 --- a/examples/openapi-ts-tanstack-react-query/CHANGELOG.md +++ b/examples/openapi-ts-tanstack-react-query/CHANGELOG.md @@ -1,5 +1,12 @@ # @example/openapi-ts-tanstack-react-query +## 0.0.19 + +### Patch Changes + +- Updated dependencies [[`9cec9e8`](https://github.com/hey-api/openapi-ts/commit/9cec9e8582c12a8c041b922d9587e16f6f19782a)]: + - @hey-api/client-fetch@0.5.5 + ## 0.0.18 ### Patch Changes diff --git a/examples/openapi-ts-tanstack-react-query/package.json b/examples/openapi-ts-tanstack-react-query/package.json index f0f0acca4..cc1c9c54d 100644 --- a/examples/openapi-ts-tanstack-react-query/package.json +++ b/examples/openapi-ts-tanstack-react-query/package.json @@ -1,7 +1,7 @@ { "name": "@example/openapi-ts-tanstack-react-query", "private": true, - "version": "0.0.18", + "version": "0.0.19", "type": "module", "scripts": { "build": "tsc && vite build", diff --git a/examples/openapi-ts-tanstack-svelte-query/CHANGELOG.md b/examples/openapi-ts-tanstack-svelte-query/CHANGELOG.md index ba477908a..0d7270210 100644 --- a/examples/openapi-ts-tanstack-svelte-query/CHANGELOG.md +++ b/examples/openapi-ts-tanstack-svelte-query/CHANGELOG.md @@ -1,5 +1,12 @@ # @example/openapi-ts-tanstack-svelte-query +## 0.0.19 + +### Patch Changes + +- Updated dependencies [[`9cec9e8`](https://github.com/hey-api/openapi-ts/commit/9cec9e8582c12a8c041b922d9587e16f6f19782a)]: + - @hey-api/client-fetch@0.5.5 + ## 0.0.18 ### Patch Changes diff --git a/examples/openapi-ts-tanstack-svelte-query/package.json b/examples/openapi-ts-tanstack-svelte-query/package.json index deedc159f..5725cbd32 100644 --- a/examples/openapi-ts-tanstack-svelte-query/package.json +++ b/examples/openapi-ts-tanstack-svelte-query/package.json @@ -1,7 +1,7 @@ { "name": "@example/openapi-ts-tanstack-svelte-query", "private": true, - "version": "0.0.18", + "version": "0.0.19", "type": "module", "scripts": { "build": "vite build", diff --git a/examples/openapi-ts-tanstack-vue-query/CHANGELOG.md b/examples/openapi-ts-tanstack-vue-query/CHANGELOG.md index 59e23ed59..7478d9625 100644 --- a/examples/openapi-ts-tanstack-vue-query/CHANGELOG.md +++ b/examples/openapi-ts-tanstack-vue-query/CHANGELOG.md @@ -1,5 +1,12 @@ # @example/openapi-ts-tanstack-vue-query +## 0.0.19 + +### Patch Changes + +- Updated dependencies [[`9cec9e8`](https://github.com/hey-api/openapi-ts/commit/9cec9e8582c12a8c041b922d9587e16f6f19782a)]: + - @hey-api/client-fetch@0.5.5 + ## 0.0.18 ### Patch Changes diff --git a/examples/openapi-ts-tanstack-vue-query/package.json b/examples/openapi-ts-tanstack-vue-query/package.json index a85dd8676..f72334d57 100644 --- a/examples/openapi-ts-tanstack-vue-query/package.json +++ b/examples/openapi-ts-tanstack-vue-query/package.json @@ -1,7 +1,7 @@ { "name": "@example/openapi-ts-tanstack-vue-query", "private": true, - "version": "0.0.18", + "version": "0.0.19", "type": "module", "scripts": { "build-only": "vite build", diff --git a/packages/client-axios/CHANGELOG.md b/packages/client-axios/CHANGELOG.md index 94baad208..ac12f594d 100644 --- a/packages/client-axios/CHANGELOG.md +++ b/packages/client-axios/CHANGELOG.md @@ -1,5 +1,11 @@ # @hey-api/client-axios +## 0.3.2 + +### Patch Changes + +- [#1430](https://github.com/hey-api/openapi-ts/pull/1430) [`9cec9e8`](https://github.com/hey-api/openapi-ts/commit/9cec9e8582c12a8c041b922d9587e16f6f19782a) Thanks [@mrlubos](https://github.com/mrlubos)! - fix: add responseValidator option + ## 0.3.1 ### Patch Changes diff --git a/packages/client-axios/package.json b/packages/client-axios/package.json index 2485f8fec..16153f1b5 100644 --- a/packages/client-axios/package.json +++ b/packages/client-axios/package.json @@ -1,6 +1,6 @@ { "name": "@hey-api/client-axios", - "version": "0.3.1", + "version": "0.3.2", "description": "🚀 Axios client for `@hey-api/openapi-ts` codegen.", "homepage": "https://heyapi.dev/", "repository": { diff --git a/packages/client-fetch/CHANGELOG.md b/packages/client-fetch/CHANGELOG.md index 81c4d3d90..f577af1ff 100644 --- a/packages/client-fetch/CHANGELOG.md +++ b/packages/client-fetch/CHANGELOG.md @@ -1,5 +1,11 @@ # @hey-api/client-fetch +## 0.5.5 + +### Patch Changes + +- [#1430](https://github.com/hey-api/openapi-ts/pull/1430) [`9cec9e8`](https://github.com/hey-api/openapi-ts/commit/9cec9e8582c12a8c041b922d9587e16f6f19782a) Thanks [@mrlubos](https://github.com/mrlubos)! - fix: add responseValidator option + ## 0.5.4 ### Patch Changes diff --git a/packages/client-fetch/package.json b/packages/client-fetch/package.json index 86d8e4217..b8fc1999e 100644 --- a/packages/client-fetch/package.json +++ b/packages/client-fetch/package.json @@ -1,6 +1,6 @@ { "name": "@hey-api/client-fetch", - "version": "0.5.4", + "version": "0.5.5", "description": "🚀 Fetch API client for `@hey-api/openapi-ts` codegen.", "homepage": "https://heyapi.dev/", "repository": { diff --git a/packages/openapi-ts/CHANGELOG.md b/packages/openapi-ts/CHANGELOG.md index 2aecfc72d..95da0f10c 100644 --- a/packages/openapi-ts/CHANGELOG.md +++ b/packages/openapi-ts/CHANGELOG.md @@ -1,5 +1,42 @@ # @hey-api/openapi-ts +## 0.60.0 + +### Minor Changes + +- [#1430](https://github.com/hey-api/openapi-ts/pull/1430) [`9cec9e8`](https://github.com/hey-api/openapi-ts/commit/9cec9e8582c12a8c041b922d9587e16f6f19782a) Thanks [@mrlubos](https://github.com/mrlubos)! - fix: require sdk.transformer to use generated transformers + + ### Added `sdk.transformer` option + + When generating SDKs, you now have to specify `transformer` in order to modify response data. By default, adding `@hey-api/transformers` to your plugins will only produce additional output. To preserve the previous functionality, set `sdk.transformer` to `true`. + + ```js + import { defaultPlugins } from '@hey-api/openapi-ts'; + + export default { + client: '@hey-api/client-fetch', + input: 'path/to/openapi.json', + output: 'src/client', + plugins: [ + ...defaultPlugins, + { + dates: true, + name: '@hey-api/transformers', + }, + { + name: '@hey-api/sdk', + transformer: true, // [!code ++] + }, + ], + }; + ``` + +- [#1447](https://github.com/hey-api/openapi-ts/pull/1447) [`200821b`](https://github.com/hey-api/openapi-ts/commit/200821b3ceea8ffca7656fe3f6e2ef98b7110a2a) Thanks [@mrlubos](https://github.com/mrlubos)! - fix: revert license to MIT + +### Patch Changes + +- [#1430](https://github.com/hey-api/openapi-ts/pull/1430) [`9cec9e8`](https://github.com/hey-api/openapi-ts/commit/9cec9e8582c12a8c041b922d9587e16f6f19782a) Thanks [@mrlubos](https://github.com/mrlubos)! - feat: Zod plugin generates response schemas + ## 0.59.2 ### Patch Changes diff --git a/packages/openapi-ts/package.json b/packages/openapi-ts/package.json index b1004902f..830d7e0fa 100644 --- a/packages/openapi-ts/package.json +++ b/packages/openapi-ts/package.json @@ -1,6 +1,6 @@ { "name": "@hey-api/openapi-ts", - "version": "0.59.2", + "version": "0.60.0", "description": "🚀 The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more.", "homepage": "https://heyapi.dev/", "repository": {