Skip to content

Commit 1cfd8f9

Browse files
authored
Merge pull request #314 from FrontEndDev-org/release-please--branches--v0.x--components--openapi-axios
chore(v0.x): release 0.32.0
2 parents 5075c88 + 8a2e8bc commit 1cfd8f9

File tree

4 files changed

+27
-4
lines changed

4 files changed

+27
-4
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.31.0"
2+
".": "0.32.0"
33
}

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
# Changelog
22

3+
## [0.32.0](https://github.com/FrontEndDev-org/openapi-axios/compare/v0.31.0...v0.32.0) (2025-02-16)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* **printer:** 自定义 AxiosResponse 不需要使用 Promise 包装
9+
10+
### Features
11+
12+
* **generator:** 为 OpenAPIOptions 类型添加 fileName 属性 ([d65822b](https://github.com/FrontEndDev-org/openapi-axios/commit/d65822b78e7cc7312a4dfeb36077fd8e03221c83))
13+
* **generator:** 按类型分离产出文件 ([d8136fa](https://github.com/FrontEndDev-org/openapi-axios/commit/d8136fa4b71224ca153a413e563a6d04c1c321bd))
14+
* **generator:** 添加 OpenAPI schema 生成功能 ([d7660cb](https://github.com/FrontEndDev-org/openapi-axios/commit/d7660cb6aceeb86b4b25bf454fb2dcc6045fe424))
15+
* **printer:** 为 OpenAPI 模式生成 Zod 代码 ([550aa7c](https://github.com/FrontEndDev-org/openapi-axios/commit/550aa7c40191a13939872ab20e2880460bf20b6e))
16+
* **printer:** 为字符串类型添加格式约束评论 ([62ec3ca](https://github.com/FrontEndDev-org/openapi-axios/commit/62ec3caf12e76aef1150e4c760eab48da1d2c14a))
17+
* **printer:** 提前组件锚点类型 ([2aa376d](https://github.com/FrontEndDev-org/openapi-axios/commit/2aa376d0d44491035d1667a2b9b1fa3bc8901fe0))
18+
* 提取 operation 出入参类型 ([a37bf06](https://github.com/FrontEndDev-org/openapi-axios/commit/a37bf062d1b66a34190b65289b664716f6bcc310))
19+
20+
21+
### Bug Fixes
22+
23+
* **migrations:** 修复 OpenAPI 2.0 迁移到 3.0 时 body 参数的处理 ([b8374e2](https://github.com/FrontEndDev-org/openapi-axios/commit/b8374e238e7c4d9cd94bceb1a0b88476e2236538))
24+
* **printer:** 为 axios 请求函数添加 Promise 类型 ([f47e13e](https://github.com/FrontEndDev-org/openapi-axios/commit/f47e13ef8bab9bd32fc6175d95d7ba9d7f46983d))
25+
326
## [0.31.0](https://github.com/FrontEndDev-org/openapi-axios/compare/v0.30.1...v0.31.0) (2025-01-26)
427

528

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "openapi-axios",
33
"type": "commonjs",
4-
"version": "0.31.0",
4+
"version": "0.32.0",
55
"description": "OpenAPI(2.0/3.0/3.1) Schema → Type-safe Axios",
66
"author": "云淡然 <hi@ydr.me> (https://ydr.me)",
77
"license": "MIT",

0 commit comments

Comments
 (0)