@aomex/cors 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 +18 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,24 @@
|
|
|
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
|
+
* feat(prisma)!: 生成 schema 并通过 definePrismaSchema 作为唯一业务入口 ([7dad8a4](https://github.com/aomex/aomex/commit/7dad8a478eaf3a9b4953aca19c5a2294986a7e36))
|
|
10
|
+
* chore!: 升级至 TypeScript 7 并将构建工具迁移到 tsdown ([a111409](https://github.com/aomex/aomex/commit/a111409021e2ee81ee5fb20ccc75480c9b5fa4c0))
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* **web:** 引入 formatError 中间件响应异常内容 ([9adec57](https://github.com/aomex/aomex/commit/9adec5751648635332528871ef9570dd40e38805))
|
|
15
|
+
|
|
16
|
+
### BREAKING CHANGES
|
|
17
|
+
|
|
18
|
+
* mongoose 最低版本为v9
|
|
19
|
+
* Node.js 最低版本提升至 `>=24.0.0`。
|
|
20
|
+
* 最低 TypeScript 版本为 7。
|
|
21
|
+
* 请改用 definePrismaSchema(generated) 获取 prismaInput/prismaOutput/prismaEnum
|
|
22
|
+
|
|
23
|
+
|
|
6
24
|
## [3.30.7](https://github.com/aomex/aomex/compare/v3.30.6...v3.30.7) (2026-11-01)
|
|
7
25
|
|
|
8
26
|
**Note:** Version bump only for package @aomex/cors
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aomex/cors",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "跨站资源共享",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"@aomex/web": "^4.0.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@aomex/common": "
|
|
37
|
-
"@aomex/web": "
|
|
36
|
+
"@aomex/common": "4.0.0",
|
|
37
|
+
"@aomex/web": "4.0.0",
|
|
38
38
|
"@types/vary": "^1.1.3"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|