@aomex/openapi 3.30.8-alpha.7326d75.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,28 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [4.0.0](https://github.com/aomex/aomex/compare/v3.30.7...v4.0.0) (2026-11-17)
|
|
7
|
+
|
|
8
|
+
* chore!: 升级依赖至最新 ([9a679fa](https://github.com/aomex/aomex/commit/9a679faf0a4e2b313e8ce9081c1ecc65356b844c))
|
|
9
|
+
* chore!: 升级至 TypeScript 7 并将构建工具迁移到 tsdown ([a111409](https://github.com/aomex/aomex/commit/a111409021e2ee81ee5fb20ccc75480c9b5fa4c0))
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **openapi:** 生成文档时webapp必填 ([189eedd](https://github.com/aomex/aomex/commit/189eedd863a6f0567694f4216d330af687e71ea2))
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **openapi:** generateOpenapi 支持挂载 Web 全局中间件 ([3310e3e](https://github.com/aomex/aomex/commit/3310e3eb75e88ad31c6658337ff3f84ce4c4a1f2))
|
|
18
|
+
* **openapi:** 将 schema 提升为 components 中的 $ref ([5ab3757](https://github.com/aomex/aomex/commit/5ab37579b795b27bf29d860b667a7ae2ddd623b7))
|
|
19
|
+
* **validator:** 验证器规则入口支持传入schema ([7f0be2e](https://github.com/aomex/aomex/commit/7f0be2e027ad8e527989850ca331cde1d31830e0))
|
|
20
|
+
|
|
21
|
+
### BREAKING CHANGES
|
|
22
|
+
|
|
23
|
+
* mongoose 最低版本为v9
|
|
24
|
+
* Node.js 最低版本提升至 `>=24.0.0`。
|
|
25
|
+
* 最低 TypeScript 版本为 7。
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
## [3.30.7](https://github.com/aomex/aomex/compare/v3.30.6...v3.30.7) (2026-11-01)
|
|
7
29
|
|
|
8
30
|
**Note:** Version bump only for package @aomex/openapi
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aomex/openapi",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Openapi文档生成工具",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -39,17 +39,17 @@
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@aomex/internal-file-import": "
|
|
43
|
-
"@aomex/internal-tools": "
|
|
42
|
+
"@aomex/internal-file-import": "4.0.0",
|
|
43
|
+
"@aomex/internal-tools": "4.0.0",
|
|
44
44
|
"@stoplight/spectral-core": "^1.24.1",
|
|
45
45
|
"@stoplight/spectral-rulesets": "^1.23.1",
|
|
46
46
|
"lodash.snakecase": "^4.1.1",
|
|
47
47
|
"yaml": "^2.9.1"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@aomex/common": "
|
|
51
|
-
"@aomex/console": "
|
|
52
|
-
"@aomex/web": "
|
|
50
|
+
"@aomex/common": "4.0.0",
|
|
51
|
+
"@aomex/console": "4.0.0",
|
|
52
|
+
"@aomex/web": "4.0.0",
|
|
53
53
|
"@types/lodash.snakecase": "^4.1.9",
|
|
54
54
|
"stat-mode": "^1.0.0"
|
|
55
55
|
},
|