@aomex/mongoose 3.30.8-alpha.7326d75.0 → 4.0.1-alpha.185683a.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
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
+ * **validator:** schema 增加 required 方法 ([003745d](https://github.com/aomex/aomex/commit/003745d655b955d951190a5bac45d189a51ef863))
15
+ * **validator:** 规则允许深度嵌套对象字面量 ([356495c](https://github.com/aomex/aomex/commit/356495cf73c0954986351bfb3f5e625f7f8fd6ff))
16
+
17
+ ### BREAKING CHANGES
18
+
19
+ * mongoose 最低版本为v9
20
+ * Node.js 最低版本提升至 `>=24.0.0`。
21
+ * 最低 TypeScript 版本为 7。
22
+ * 请改用 definePrismaSchema(generated) 获取 prismaInput/prismaOutput/prismaEnum
23
+
24
+
6
25
  ## [3.30.7](https://github.com/aomex/aomex/compare/v3.30.6...v3.30.7) (2026-11-01)
7
26
 
8
27
  **Note:** Version bump only for package @aomex/mongoose
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aomex/mongoose",
3
- "version": "3.30.8-alpha.7326d75.0",
3
+ "version": "4.0.1-alpha.185683a.0",
4
4
  "description": "aomex与mongoose深度集成",
5
5
  "type": "module",
6
6
  "types": "dist/index.d.ts",
@@ -32,12 +32,12 @@
32
32
  "mongoose": "^9"
33
33
  },
34
34
  "dependencies": {
35
- "@aomex/internal-file-import": "3.30.8-alpha.7326d75.0",
35
+ "@aomex/internal-file-import": "4.0.1-alpha.185683a.0",
36
36
  "lodash.snakecase": "^4.1.1"
37
37
  },
38
38
  "devDependencies": {
39
- "@aomex/common": "3.30.8-alpha.7326d75.0",
40
- "@aomex/internal-tools": "3.30.8-alpha.7326d75.0",
39
+ "@aomex/common": "4.0.1-alpha.185683a.0",
40
+ "@aomex/internal-tools": "4.0.1-alpha.185683a.0",
41
41
  "@types/lodash.snakecase": "^4.1.9",
42
42
  "mongodb-memory-server": "^11.3.0",
43
43
  "mongoose": "^9.12.1"