rust-store-node 4.7.0 → 4.9.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/README.md CHANGED
@@ -46,7 +46,7 @@ Definitions (`collection`, fields, referenced relation fields, computed-column k
46
46
 
47
47
  Canonicalization (single implementation `core::naming`, re-exported by the bindings; hosts must not re-implement it): split on `_`, `-`, `.`, space and at lower/digit-to-upper boundaries; a trailing uppercase in a run followed by a lowercase starts the next token (`HTTPServer` -> `[http, server]`, `userID` -> `[user, id]`); digits stay inside a token (`order2Items` -> `[order2, items]`). Reassembly: snake = `t1_t2`, camel = `t1T2`, pascal = `T1T2`.
48
48
 
49
- Two logical names in one schema that canonicalize equal (`orderTotal` vs `order_total`), or a name that canonicalizes onto a reserved contract key (e.g. `fnref`), is an error `ERR_NAME_CONFLICT:` and the service does not start (never silently overwritten).
49
+ Two logical names in one schema that canonicalize equal (`orderTotal` vs `order_total`) is an error `ERR_NAME_CONFLICT:` and the service does not start (never silently overwritten). The `fields` key space is fully open — no field name is reserved: contract keys (`type`, `default`, ...) live inside a field's definition object at a different level, so `fields: { type: { type: "string" } }` is valid. Literal reserved names are only `_id` (framework primary key) and `_score` (vector score column).
50
50
  <!-- SPEC:NAMING-STYLE:END -->
51
51
 
52
52
  <!-- SPEC:FNREF:BEGIN -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rust-store-node",
3
- "version": "4.7.0",
3
+ "version": "4.9.0",
4
4
  "description": "Node.js binding (napi-rs) for the rust-store multi-backend data engine: GQL parsing, permissions, computed columns and SQL dialect translation for MongoDB, MySQL, SQLite and PostgreSQL",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -68,10 +68,10 @@
68
68
  "sql.js": "^1.8.0"
69
69
  },
70
70
  "optionalDependencies": {
71
- "rust-store-node-win32-x64-msvc": "4.7.0",
72
- "rust-store-node-linux-x64-gnu": "4.7.0",
73
- "rust-store-node-linux-arm64-gnu": "4.7.0",
74
- "rust-store-node-darwin-x64": "4.7.0",
75
- "rust-store-node-darwin-arm64": "4.7.0"
71
+ "rust-store-node-win32-x64-msvc": "4.9.0",
72
+ "rust-store-node-linux-x64-gnu": "4.9.0",
73
+ "rust-store-node-linux-arm64-gnu": "4.9.0",
74
+ "rust-store-node-darwin-x64": "4.9.0",
75
+ "rust-store-node-darwin-arm64": "4.9.0"
76
76
  }
77
77
  }
Binary file
Binary file
Binary file
Binary file