@jskit-ai/crud-core 0.2.55 → 0.2.57
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.3.4 exactly (from 3.3.3), the version resource-runtime takes: a write finds the relationships that reference its resource from an index built once per published schema (details in `@jskit-ai/resource-runtime`'s changelog). No crud-core code changes.
|
|
5
6
|
- A generated delete tells an assistant client it is destructive (`extensions.assistant.destructive: true`); list, view, create and update are not. `defineCrudFeature` takes `assistantHints`, such as `{ update: { destructive: true } }`, to add `destructive` or `sendsOutside` to its generated create, update or delete; a hint for another operation, or one that is not `true` or `false`, stops the server naming it. A custom action without an assistant description is described by its route's `summary`, so an MCP client reads what the route says it does.
|
|
6
7
|
- Depends on json-rest-api 3.3.3 exactly (from 3.3.2), the version resource-runtime takes: on a descending sort, rows tied on its last key come in descending id order (the id that breaks ties takes the last key's direction), so MySQL and MariaDB read a descending page from an index leading with that key instead of sorting every row, and leave out the `IS NULL` term where the server already places NULLs last; and capabilities a start could not observe (the server not up yet) are observed again on the next storage call until that succeeds.
|
|
7
8
|
- Depends on json-rest-api 3.3.2 exactly (from 3.3.1), the version resource-runtime takes: on MariaDB a locking read keeps each IN list below the server's `in_predicate_conversion_threshold`, so a lock of 1,000 ids or values or more holds the rows it names alone, and a write's lock of the records it links to reads their primary key (details in `@jskit-ai/resource-runtime`'s changelog).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jskit-ai/crud-core",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.57",
|
|
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.226",
|
|
24
24
|
"@jskit-ai/resource-crud-core": "0.1.228",
|
|
25
|
-
"json-rest-api": "3.3.
|
|
25
|
+
"json-rest-api": "3.3.4",
|
|
26
26
|
"json-rest-schema": "^1.0.20"
|
|
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.36",
|
|
53
53
|
"@jskit-ai/kernel": "0.2.35",
|
|
54
|
-
"@jskit-ai/resource-runtime": "0.2.
|
|
54
|
+
"@jskit-ai/resource-runtime": "0.2.53"
|
|
55
55
|
}
|
|
56
56
|
}
|