You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,15 @@
1
1
# CHANGELOG
2
2
3
-
> Summary index — current release details are packaged in [changelogs/v2.0.4.md](./changelogs/v2.0.4.md); historical details live in the repository changelog archive.
4
-
> **Last updated**: 2026-06-12
3
+
> Summary index — current release details are packaged in [changelogs/v2.0.5.md](./changelogs/v2.0.5.md); historical details live in the repository changelog archive.
4
+
> **Last updated**: 2026-06-13
5
5
6
6
---
7
7
8
8
## Version Overview
9
9
10
10
| Version | Date | Summary | Details |
11
11
|---------|------|---------|---------|
12
+
|[v2.0.5](./changelogs/v2.0.5.md)| 2026-06-13 | Patch: Model schema adapter delegates DSL type authority to `schema-dsl@2.0.10`, removing the duplicated monSQLize allowlist while preserving legacy aliases and business literals |[View](./changelogs/v2.0.5.md)|
12
13
|[v2.0.4](./changelogs/v2.0.4.md)| 2026-06-12 | Patch: production-safe Model index rollout controls, `schema-dsl@2.0.9`, capability-index wording cleanup, and documentation home refinements |[View](./changelogs/v2.0.4.md)|
13
14
|[v2.0.3](./changelogs/v2.0.3.md)| 2026-06-11 | Patch: v1 compatibility fixes, public stats APIs, standalone docs-site link safety, bilingual docs consistency, and release preflight alignment |[View](./changelogs/v2.0.3.md)|
14
15
|[v2.0.2](./changelogs/v2.0.2.md)| 2026-06-09 | Patch: direct runtime, optional and development dependencies pinned to exact versions for deterministic consumer installs |[View](./changelogs/v2.0.2.md)|
@@ -447,7 +448,8 @@ const result = await msq.collection('orders').insertOne(dataFromMongoose);
v2.0.5 is a compatibility patch for Model schema validation. It removes the duplicated schema-dsl base-type allowlist from monSQLize and delegates DSL type decisions to schema-dsl, keeping schema-dsl as the single validation DSL authority.
6
+
7
+
---
8
+
9
+
## Runtime Fixes
10
+
11
+
- Removed the monSQLize-side schema-dsl base-type allowlist from the Model schema adapter.
12
+
- Delegated schema compilation and unknown-type handling to schema-dsl diagnostics instead of maintaining a second type table.
13
+
- Preserved compatibility for schema-dsl-owned aliases such as `int`, `mixed`, `buffer` and `objectid`.
14
+
- Preserved existing literal business DSL strings such as `datetime` and `admin_login!` through schema-dsl fallback semantics.
15
+
16
+
## Dependencies
17
+
18
+
- Targets `schema-dsl@2.0.10`, which contains the shared legacy DSL aliases and structured diagnostics used by this patch.
19
+
- Keeps the root `cache-hub@2.2.4` dependency unchanged.
20
+
21
+
## Compatibility
22
+
23
+
- SemVer: patch release.
24
+
- Breaking changes: none.
25
+
- Existing v2 Model schema declarations continue to validate through the same public Model API.
26
+
- Consumer projects do not need to change source code for the checked schema alias and business-literal paths.
27
+
28
+
## Validation
29
+
30
+
-`npm run type-check`
31
+
- targeted Model schema validation tests
32
+
- targeted pure-function and branch coverage tests
Copy file name to clipboardExpand all lines: docs/en/file-dependency-governance.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,10 @@ The current root package adopts the **precise version dependency strategy**:
4
4
5
5
| Dependencies | Strategy | Reasons |
6
6
|------|------|------|
7
-
|`cache-hub`| Exact version `2.2.4`| The npm latest release has passed compatibility verification; the root direct dependency is fixed to 2.2.4, and `schema-dsl@2.0.9` declares the same transitive dependency version |
8
-
|`schema-dsl`| Exact version `2.0.9`|npm `latest` points to 2.0.9, and this version is the current official TypeScript line; monSQLize only relies on `dsl` / `validate` capabilities, and uses 2.0.9 for type-check, model test, integration, and examples verification |
7
+
|`cache-hub`| Exact version `2.2.4`| The npm latest release has passed compatibility verification; the root direct dependency is fixed to 2.2.4, and `schema-dsl@2.0.10` declares the same transitive dependency version |
8
+
|`schema-dsl`| Exact version `2.0.10`|The release chain targets the current non-deprecated TypeScript line; monSQLize relies on schema-dsl for DSL parsing, validation and alias diagnostics, and uses 2.0.10 for type-checkand Model schema verification |
9
9
10
-
> `schema-dsl@2.0.9` is the current npm `latest`; the historical `2.3.x` line exists on npm but has been marked as misreleased/deprecated and must not be followed by upgrades.
10
+
> `schema-dsl@2.0.10` is the intended latest for this release chain; the historical `2.3.x` line exists on npm but has been marked as misreleased/deprecated and must not be followed by upgrades.
11
11
12
12
## Current Risk
13
13
@@ -20,8 +20,8 @@ The current root package adopts the **precise version dependency strategy**:
20
20
21
21
## Development status
22
22
23
-
- The root direct `cache-hub` dependency is fixed to `2.2.4`; `schema-dsl@2.0.9` also declares `cache-hub@2.2.4`, so no additional override is needed.
24
-
-`schema-dsl` is fixed to `2.0.9`.
23
+
- The root direct `cache-hub` dependency is fixed to `2.2.4`; `schema-dsl@2.0.10` also declares `cache-hub@2.2.4`, so no additional override is needed.
24
+
-`schema-dsl` is fixed to `2.0.10`.
25
25
- Local sibling `../schema-dsl` is only used for debugging the upstream library itself and is no longer a prerequisite for monSQLize root package installation.
26
26
27
27
@@ -36,21 +36,21 @@ npm run release:preflight
36
36
37
37
## schema-dsl 2.x upgrade verification
38
38
39
-
The dependency governance baseline has upgraded and fixed `schema-dsl` from the historical `^1.2.5` to `2.0.9`. The verification standard is as follows:
39
+
The dependency governance baseline has upgraded and fixed `schema-dsl` from the historical `^1.2.5` to `2.0.10`. The verification standard is as follows:
40
40
41
-
1. The upstream released the **non-deprecated** 2.x latest version on npm: `2.0.9`.
42
-
2.`npm install schema-dsl@2.0.9 --save-exact` followed by `npm run type-check`.
41
+
1. The upstream released the **non-deprecated** 2.x latest version on npm: `2.0.10`.
42
+
2.`npm install schema-dsl@2.0.10 --save-exact` followed by `npm run type-check`.
43
43
3. All model-related unit tests/integration tests passed (covered with `npm run test:unit` and `npm run test:integration`).
44
44
4.`npm run test:examples` all passed.
45
45
5.`npm run release:preflight` still needs to be used as the final access control before release.
46
-
6. This file, Profile, CHANGELOG, and lockfile must be synchronized to `2.0.9`.
46
+
6. This file, Profile, CHANGELOG, and lockfile must be synchronized to `2.0.10`.
47
47
48
48
## cache-hub 2.2.4 upgrade verification
49
49
50
50
The dependency governance baseline has upgraded and fixed `cache-hub` from `1.0.0` to `2.2.4`. The verification standard is as follows:
51
51
52
52
1. The upstream npm `latest` is `2.2.4`, and the Node.js engine requirement remains `>=18`, matching the current monSQLize baseline.
53
-
2. The root direct dependency resolves to `2.2.4`; `schema-dsl@2.0.9` also declares `cache-hub@2.2.4`.
53
+
2. The root direct dependency resolves to `2.2.4`; `schema-dsl@2.0.10` also declares `cache-hub@2.2.4`.
54
54
3.`npm run type-check`, targeted cache / function-cache tests, website build, and memory probe must pass.
55
55
4. This file, Profile, CHANGELOG, package manifest, and lockfile must be synchronized with the root direct dependency `2.2.4` baseline.
Copy file name to clipboardExpand all lines: package.json
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "monsqlize",
3
-
"version": "2.0.4",
3
+
"version": "2.0.5",
4
4
"description": "TypeScript-native MongoDB ODM with multi-level caching (cache-hub), distributed locks, Saga orchestration, unified expression system (122 operators), connection pool management, ChangeStream sync, slow-query logging, and full v1 API compatibility",
0 commit comments