monsqlize 3.1.14 → 3.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  # CHANGELOG
2
2
 
3
- > Summary index — the v3.1.0 stable release details are in [changelogs/v3.1.0.md](./changelogs/v3.1.0.md); the earlier RC note remains an unpublished rehearsal archive.
4
- > **Last updated**: 2026-07-15
3
+ > Summary index — the latest stable release details are in [changelogs/v3.2.0.md](./changelogs/v3.2.0.md); the earlier RC note remains an unpublished rehearsal archive.
4
+ > **Last updated**: 2026-08-07
5
5
 
6
6
  ---
7
7
 
@@ -9,6 +9,7 @@
9
9
 
10
10
  | Version | Date | Summary | Details |
11
11
  |---------|------|---------|---------|
12
+ | [v3.2.0](./changelogs/v3.2.0.md) | 2026-08-07 | Minor: Vector Search APIs, relation-safe Model deletion, and relation projection improvements | [View](./changelogs/v3.2.0.md) |
12
13
  | [v3.1.0](./changelogs/v3.1.0.md) | 2026-07-15 | Minor: schema-dsl v3 GA consumption, canonical validation errors, and normalized full-document persistence | [View](./changelogs/v3.1.0.md) |
13
14
  | [v3.0.0](./changelogs/v3.0.0.md) | 2026-07-14 | Major: two-instance preview/apply/restore data tasks, write-path policy, runtime-scoped schema DSL, stricter OCC/sync/query contracts, and release recovery controls | [View](./changelogs/v3.0.0.md) |
14
15
  | [v2.0.7](./changelogs/v2.0.7.md) | Unpublished | Withdrawn patch candidate; never published and superseded by v3.0.0 | [Archive](./changelogs/v2.0.7.md) |
@@ -0,0 +1,24 @@
1
+ # monSQLize v3.2.0
2
+
3
+ > Release date: 2026-08-07
4
+
5
+ ## Highlights
6
+
7
+ - Added first-class Vector Search entrypoints for Collections and Models.
8
+ - Added relation-aware Model deletion guards and completed relation projection behavior.
9
+
10
+ ## Added
11
+
12
+ - Added `Collection.vectorSearch()` and `Model.vectorSearch()` with ANN/ENN option validation, score envelopes, and Model soft-delete visibility expressed inside `$vectorSearch.filter`.
13
+ - Added Model relation-usage reporting plus explicit restrict-style `deleteOneWithRelations()` and `forceDeleteWithRelations()` methods.
14
+
15
+ ## Changed
16
+
17
+ - `populate()` now supports local ID arrays, relation-level default inclusion selection, server-side relation projections, and cleanup of internal join keys after nested population.
18
+ - Added stable `INVALID_VECTOR_SEARCH`, `INVALID_RELATION_SELECT`, `RELATION_IN_USE`, and `RELATION_USAGE_UNAVAILABLE` error codes.
19
+ - Updated production dependency overrides to resolve audited `fast-uri` and `brace-expansion` versions.
20
+
21
+ ## Compatibility boundaries
22
+
23
+ - This is a backward-compatible minor release. Existing `expr` APIs remain unchanged.
24
+ - Vector Search requires a MongoDB-compatible deployment with a pre-created Vector Search index. The API validates its local contract; deployment/index execution remains an operator-managed prerequisite.
@@ -31,7 +31,7 @@ var import_node_url = require("node:url");
31
31
  // package.json
32
32
  var package_default = {
33
33
  name: "monsqlize",
34
- version: "3.1.14",
34
+ version: "3.2.0",
35
35
  description: "TypeScript production data runtime layer for MongoDB today, with cache, transactions, pools, models, sync, and observability",
36
36
  type: "commonjs",
37
37
  main: "./dist/cjs/index.cjs",
@@ -52,6 +52,7 @@ var package_default = {
52
52
  "./package.json": "./package.json"
53
53
  },
54
54
  files: [
55
+ "changelogs/v3.2.0.md",
55
56
  "changelogs/v3.1.14.md",
56
57
  "changelogs/v3.1.13.md",
57
58
  "changelogs/v3.1.12.md",
@@ -192,6 +193,15 @@ var package_default = {
192
193
  mongodb: "6.21.0",
193
194
  "schema-dsl": "3.0.0",
194
195
  ssh2: "1.17.0"
196
+ },
197
+ overrides: {
198
+ "fast-uri": "3.1.5",
199
+ "minimatch@3.1.5": {
200
+ "brace-expansion": "1.1.18"
201
+ },
202
+ "minimatch@10.2.5": {
203
+ "brace-expansion": "5.0.9"
204
+ }
195
205
  }
196
206
  };
197
207