fork of hey-api/openapi-ts because I need some additional things
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #2348 from hey-api/changeset-release/main

Version Packages

authored by

Lubos and committed by
GitHub
f2e124ad b02546f4

+39 -38
-37
.changeset/mighty-eels-care.md
··· 1 - --- 2 - '@hey-api/openapi-ts': minor 3 - --- 4 - 5 - feat(zod): add support for Zod 4 and Zod Mini 6 - 7 - ### Added Zod 4 and Zod Mini 8 - 9 - This release adds support for Zod 4 and Zod Mini. By default, the `zod` plugin will generate output for Zod 4. If you want to preserve the previous output for Zod 3 or use Zod Mini, set `compatibilityVersion` to `3` or `mini`. 10 - 11 - ```js 12 - export default { 13 - input: 'https://get.heyapi.dev/hey-api/backend', 14 - output: 'src/client', 15 - plugins: [ 16 - // ...other plugins 17 - { 18 - name: 'zod', 19 - compatibilityVersion: 3, 20 - }, 21 - ], 22 - }; 23 - ``` 24 - 25 - ```js 26 - export default { 27 - input: 'https://get.heyapi.dev/hey-api/backend', 28 - output: 'src/client', 29 - plugins: [ 30 - // ...other plugins 31 - { 32 - name: 'zod', 33 - compatibilityVersion: 'mini', 34 - }, 35 - ], 36 - }; 37 - ```
+38
packages/openapi-ts/CHANGELOG.md
··· 1 1 # @hey-api/openapi-ts 2 2 3 + ## 0.80.0 4 + 5 + ### Minor Changes 6 + 7 + - [#2341](https://github.com/hey-api/openapi-ts/pull/2341) [`9954bcf`](https://github.com/hey-api/openapi-ts/commit/9954bcf139efca45f0c0cd0c25e5236dbf5c7121) Thanks [@mrlubos](https://github.com/mrlubos)! - feat(zod): add support for Zod 4 and Zod Mini 8 + 9 + ### Added Zod 4 and Zod Mini 10 + 11 + This release adds support for Zod 4 and Zod Mini. By default, the `zod` plugin will generate output for Zod 4. If you want to preserve the previous output for Zod 3 or use Zod Mini, set `compatibilityVersion` to `3` or `mini`. 12 + 13 + ```js 14 + export default { 15 + input: 'https://get.heyapi.dev/hey-api/backend', 16 + output: 'src/client', 17 + plugins: [ 18 + // ...other plugins 19 + { 20 + name: 'zod', 21 + compatibilityVersion: 3, 22 + }, 23 + ], 24 + }; 25 + ``` 26 + 27 + ```js 28 + export default { 29 + input: 'https://get.heyapi.dev/hey-api/backend', 30 + output: 'src/client', 31 + plugins: [ 32 + // ...other plugins 33 + { 34 + name: 'zod', 35 + compatibilityVersion: 'mini', 36 + }, 37 + ], 38 + }; 39 + ``` 40 + 3 41 ## 0.79.2 4 42 5 43 ### Patch Changes
+1 -1
packages/openapi-ts/package.json
··· 1 1 { 2 2 "name": "@hey-api/openapi-ts", 3 - "version": "0.79.2", 3 + "version": "0.80.0", 4 4 "description": "🚀 The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more.", 5 5 "homepage": "https://heyapi.dev/", 6 6 "repository": {