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.5.md](./changelogs/v2.0.5.md); historical details live in the repository changelog archive.
4
-
> **Last updated**: 2026-06-13
3
+
> Summary index — current release details are packaged in [changelogs/v2.0.6.md](./changelogs/v2.0.6.md); historical details live in the repository changelog archive.
4
+
> **Last updated**: 2026-06-15
5
5
6
6
---
7
7
8
8
## Version Overview
9
9
10
10
| Version | Date | Summary | Details |
11
11
|---------|------|---------|---------|
12
+
|[v2.0.6](./changelogs/v2.0.6.md)| 2026-06-15 | Patch: dependency alignment to `schema-dsl@2.0.11` so downstream frameworks inherit the ESM/CJS shared custom type registry fix |[View](./changelogs/v2.0.6.md)|
12
13
|[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)|
13
14
|[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)|
14
15
|[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)|
@@ -448,7 +449,8 @@ const result = await msq.collection('orders').insertOne(dataFromMongoose);
Copy file name to clipboardExpand all lines: README.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -518,19 +518,25 @@ npm run test:real-env:private
518
518
519
519
## Release Status
520
520
521
-
The current published release is `v2.0.4`.
521
+
The current release train targets `v2.0.6`.
522
522
523
523
Key release-readiness points:
524
524
525
525
- TypeScript rewrite completed for the current runtime and test entry points.
526
526
- Package exports are consolidated under `dist/cjs`, `dist/esm`, and `dist/types`.
527
527
- npm packages include the runtime bundles and declaration files only; source maps are disabled by default and can be generated locally with `MONSQLIZE_BUILD_SOURCEMAPS=1 npm run build`.
528
528
- v1 smooth-upgrade compatibility has been validated against the target workspace consumers.
529
-
-`schema-dsl` follows the npm `latest` TypeScript line `schema-dsl@2.0.9`; deprecated `2.3.x` mistake releases are intentionally excluded.
529
+
-`schema-dsl` follows the npm `latest` TypeScript line `schema-dsl@2.0.11`; deprecated `2.3.x` mistake releases are intentionally excluded.
530
530
- GitHub Actions publishes to npm from `v*` tags after running `npm run release:preflight`; the publish step skips duplicate lifecycle scripts because the gate already ran in the same job.
531
531
532
532
## Roadmap
533
533
534
+
### v2.0.6
535
+
536
+
- Dependency alignment to `schema-dsl@2.0.11`, carrying the shared ESM/CJS custom type registry fix to downstream vext applications.
537
+
- NodeNext declaration compatibility for ESM consumers through generated `*.d.mts` mirrors and import-side `types` conditions.
538
+
- Restored v1-compatible root option type exports.
539
+
534
540
### v2.0.4
535
541
536
542
- Production-safe Model index rollout controls with `autoIndex`, dry-run preflight, conflict reporting, and explicit `ensureIndexes()` / `ensureModelIndexes()` APIs.
- Upgrade runtime dependency `schema-dsl` from `2.0.10` to `2.0.11`.
8
+
- This keeps monSQLize aligned with the schema-dsl ESM/CJS shared custom type registry fix used by downstream vext applications.
9
+
- Restore v1-compatible root type exports: `FindOptions`, `CountOptions`, `AggregateOptions`, and `DistinctOptions`.
10
+
- Add NodeNext-safe type-only import attributes for ESM `cache-hub` declarations consumed from monSQLize's CommonJS package boundary.
11
+
- Generate ESM declaration mirrors (`*.d.mts`) and point the import-side package `types` condition at `dist/types/index.d.mts`, preserving default import constructability for NodeNext ESM consumers.
12
+
13
+
## Validation
14
+
15
+
- Dependency-only release; full release preflight should run after `schema-dsl@2.0.11` is available from npm.
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.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-check and Model schema 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.11` declares the same transitive dependency version |
8
+
|`schema-dsl`| Exact version `2.0.11`| 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.11 for type-check and Model schema verification |
9
9
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.
10
+
> `schema-dsl@2.0.11` 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.10` also declares `cache-hub@2.2.4`, so no additional override is needed.
24
-
-`schema-dsl` is fixed to `2.0.10`.
23
+
- The root direct `cache-hub` dependency is fixed to `2.2.4`; `schema-dsl@2.0.11` also declares `cache-hub@2.2.4`, so no additional override is needed.
24
+
-`schema-dsl` is fixed to `2.0.11`.
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.10`. 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.11`. The verification standard is as follows:
40
40
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`.
41
+
1. The upstream released the **non-deprecated** 2.x latest version on npm: `2.0.11`.
42
+
2.`npm install schema-dsl@2.0.11 --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.10`.
46
+
6. This file, Profile, CHANGELOG, and lockfile must be synchronized to `2.0.11`.
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.10` also declares `cache-hub@2.2.4`.
53
+
2. The root direct dependency resolves to `2.2.4`; `schema-dsl@2.0.11` 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
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,17 @@
1
1
{
2
2
"name": "monsqlize",
3
-
"version": "2.0.5",
3
+
"version": "2.0.6",
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