monsqlize 2.0.1 → 2.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  # CHANGELOG
2
2
 
3
- > Summary index — current release details are packaged in [changelogs/v2.0.1.md](./changelogs/v2.0.1.md); historical details live in the repository changelog archive.
4
- > **Last updated**: 2026-06-03
3
+ > Summary index — current release details are packaged in [changelogs/v2.0.2.md](./changelogs/v2.0.2.md); historical details live in the repository changelog archive.
4
+ > **Last updated**: 2026-06-09
5
5
 
6
6
  ---
7
7
 
@@ -9,6 +9,7 @@
9
9
 
10
10
  | Version | Date | Summary | Details |
11
11
  |---------|------|---------|---------|
12
+ | [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) |
12
13
  | [v2.0.1](./changelogs/v2.0.1.md) | 2026-06-03 | Patch: model collection/pool compatibility, automatic-index task dedupe, runtime cache/pool v1 smooth-upgrade fixes, and current docs/types alignment | [View](./changelogs/v2.0.1.md) |
13
14
  | [v2.0.0](./changelogs/v2.0.0.md) | 2026-06-01 | 🎉 **v2.0.0 — TypeScript rewrite**: full TypeScript source, cache-hub integration, schema-dsl `^2.0.3` TS dependency, Apache-2.0 licensing, English README, MultiLevel cache support, v1 API compat preserved, optimized npm artifact boundary without default sourcemaps, JSDoc coverage complete, `getPoolStats/getPoolHealth` keyed by pool name, v1 compat fixes included, workspace smooth-upgrade bridge validated for downstream consumers | [View](./changelogs/v2.0.0.md) |
14
15
  | [v1.3.0](https://github.com/vextjs/monSQLize/blob/main/changelogs/v1.3.0.md) | 2026-04-27 | 🆕 **新功能**:链式池访问 API — `pool(name)` / `use(dbName)` / `scopedCollection()` / `scopedModel()` 四个公开方法,支持多连接池多数据库路由,connection 合并语义,TypeScript 类型签名完整覆盖 | [查看](https://github.com/vextjs/monSQLize/blob/main/changelogs/v1.3.0.md) |
@@ -0,0 +1,22 @@
1
+ # v2.0.2 — 2026-06-09
2
+
3
+ ## Overview
4
+
5
+ v2.0.2 is a package metadata patch for deterministic installs. It keeps the runtime API unchanged while pinning direct dependency declarations to the exact versions already resolved by the lockfile.
6
+
7
+ ---
8
+
9
+ ## Changes
10
+
11
+ - Pinned direct `dependencies`, `optionalDependencies` and `devDependencies` in `package.json` to exact versions.
12
+ - Kept peer metadata unchanged.
13
+ - Updated `.npmrc` so future dependency saves keep `package-lock.json` enabled and use exact versions.
14
+ - Added this release note to the packaged changelog set.
15
+
16
+ ---
17
+
18
+ ## Validation
19
+
20
+ - `npm ci`
21
+ - `npm run release:preflight`
22
+ - `npm pack --dry-run --json`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monsqlize",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
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",
5
5
  "type": "commonjs",
6
6
  "main": "./dist/cjs/index.cjs",
@@ -18,6 +18,7 @@
18
18
  "dist/**/*.cjs",
19
19
  "dist/**/*.mjs",
20
20
  "dist/**/*.d.ts",
21
+ "changelogs/v2.0.2.md",
21
22
  "changelogs/v2.0.1.md",
22
23
  "changelogs/v2.0.0.md",
23
24
  "README.md",
@@ -95,26 +96,26 @@
95
96
  }
96
97
  },
97
98
  "optionalDependencies": {
98
- "ioredis": "^5.8.2",
99
- "ssh2": "^1.17.0"
99
+ "ioredis": "5.8.2",
100
+ "ssh2": "1.17.0"
100
101
  },
101
102
  "devDependencies": {
102
- "@eslint/js": "^9.39.1",
103
- "@types/node": "^25.0.1",
104
- "@types/semver": "^7.7.1",
105
- "c8": "^11.0.0",
106
- "chai": "^6.2.2",
107
- "esbuild": "^0.25.5",
108
- "eslint": "^9.39.1",
109
- "mongodb-memory-server": "^11.1.0",
110
- "sinon": "^22.0.0",
111
- "tsd": "^0.33.0",
112
- "typescript": "^5.9.3"
103
+ "@eslint/js": "9.39.4",
104
+ "@types/node": "25.6.2",
105
+ "@types/semver": "7.7.1",
106
+ "c8": "11.0.0",
107
+ "chai": "6.2.2",
108
+ "esbuild": "0.25.12",
109
+ "eslint": "9.39.4",
110
+ "mongodb-memory-server": "11.1.0",
111
+ "sinon": "22.0.0",
112
+ "tsd": "0.33.0",
113
+ "typescript": "5.9.3"
113
114
  },
114
115
  "dependencies": {
115
- "async-lock": "^1.4.1",
116
- "cache-hub": "^1.0.0",
117
- "mongodb": "^6.21.0",
118
- "schema-dsl": "^2.0.3"
116
+ "async-lock": "1.4.1",
117
+ "cache-hub": "1.0.0",
118
+ "mongodb": "6.21.0",
119
+ "schema-dsl": "2.0.3"
119
120
  }
120
121
  }