@jskit-ai/crud-core 0.2.16 → 0.2.18

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
@@ -2,6 +2,7 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ - Depends on json-rest-api 3.1.1 exactly (from 3.1.0), from the registry with its published integrity: a sort on the ID, or on a required attribute stored in its own table, carries no null placement, so PostgreSQL and MariaDB read a descending page from an index instead of sorting every matching row.
5
6
  - Depends on json-rest-api 3.1.0 exactly (from 3.0.1), from the registry with its published integrity: `lockMode: "noKeyUpdate"`, ON CONFLICT on the matching unique index's exact columns, the PostgreSQL merge race on an uncommitted insert, and the `xid8` field type the change horizon reads.
6
7
  - `defineCrudFeature` refuses a table resource with ownership `system`, which only a system context reaches: a CRUD surface serves requests, so the owner serves what a request may see through its own methods instead.
7
8
  - The package's data tests run on `createPackageTestKnex`, so CI's `DB_CLIENT=pg` run proves the CRUD paths on PostgreSQL too.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/crud-core",
3
- "version": "0.2.16",
3
+ "version": "0.2.18",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=24.0.0"
@@ -22,7 +22,7 @@
22
22
  "dependencies": {
23
23
  "@jskit-ai/resource-core": "0.1.206",
24
24
  "@jskit-ai/resource-crud-core": "0.1.206",
25
- "json-rest-api": "3.1.0",
25
+ "json-rest-api": "3.1.1",
26
26
  "json-rest-schema": "^1.0.17"
27
27
  },
28
28
  "description": "Shared server-side CRUD service, repository, route, and query helpers.",
@@ -51,6 +51,6 @@
51
51
  "peerDependencies": {
52
52
  "@jskit-ai/http-runtime": "0.2.15",
53
53
  "@jskit-ai/kernel": "0.2.15",
54
- "@jskit-ai/resource-runtime": "0.2.13"
54
+ "@jskit-ai/resource-runtime": "0.2.15"
55
55
  }
56
56
  }
@@ -9,7 +9,7 @@
9
9
  "./shared": "./src/shared/index.js"
10
10
  },
11
11
  "dependencies": {
12
- "@jskit-ai/crud-core": "0.2.16",
12
+ "@jskit-ai/crud-core": "0.2.18",
13
13
  "@jskit-ai/resource-core": "0.1.206",
14
14
  "@jskit-ai/resource-crud-core": "0.1.206"
15
15
  },