Skip to content

Commit f2e124a

Browse files
authored
Merge pull request #2348 from hey-api/changeset-release/main
Version Packages
2 parents b02546f + dd51c2b commit f2e124a

File tree

3 files changed

+39
-38
lines changed

3 files changed

+39
-38
lines changed

.changeset/mighty-eels-care.md

Lines changed: 0 additions & 37 deletions
This file was deleted.

packages/openapi-ts/CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,43 @@
11
# @hey-api/openapi-ts
22

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+
341
## 0.79.2
442

543
### Patch Changes

packages/openapi-ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hey-api/openapi-ts",
3-
"version": "0.79.2",
3+
"version": "0.80.0",
44
"description": "🚀 The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more.",
55
"homepage": "https://heyapi.dev/",
66
"repository": {

0 commit comments

Comments
 (0)