@jskit-ai/crud-core 0.2.33 → 0.2.34
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.8 exactly (from 3.1.7): a CRUD read, in any context, reads no to-one link to a table with no ownership, no row policy and no filtering hook of the application's own whose declared foreign key protects it (SQLite still reads it), and on MySQL and MariaDB no longer reads the connection's schema at each lock when the client's settings name a database.
|
|
5
6
|
- A CRUD list's 400 for a query key it does not take (`crud.query.undeclaredKeys`) tells the person "This page asked for something the server doesn't recognise, so nothing was loaded. Reload the page; if it keeps happening, tell support.", which is also the code's catalog sentence, so a client shows it in the person's language. Before, it sent the developer's text ("This list does not take …: … add it to the feature's listFilterQueryValidator …"), which a list screen showed as its notice. That text now goes to the error's `details` (`reason`, with the `unknown` and `known` keys) and to the server log as a warning; the error has no `params`. A list screen offers no Retry for it, as for every refused load.
|
|
6
7
|
- Depends on json-rest-api 3.1.7 exactly (from 3.1.6): an aggregate over one table, with no filter or row policy joining another, reads only the rows it groups, through the filters' index, instead of the table's rows whose ids its filtered query selects (details in `@jskit-ai/resource-runtime`'s changelog). Results are unchanged.
|
|
7
8
|
- Depends on json-rest-api 3.1.6 exactly (from 3.1.5): within one transaction a link check, or a response's check of a to-one link, of a row already checked in the same scope under a lock at least as strong is answered without reading the row again, until the transaction changes what the check read (the counts are 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.34",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=24.0.0"
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"./locales/en.json": "./locales/en.json"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@jskit-ai/resource-core": "0.1.
|
|
24
|
-
"@jskit-ai/resource-crud-core": "0.1.
|
|
25
|
-
"json-rest-api": "3.1.
|
|
23
|
+
"@jskit-ai/resource-core": "0.1.214",
|
|
24
|
+
"@jskit-ai/resource-crud-core": "0.1.216",
|
|
25
|
+
"json-rest-api": "3.1.8",
|
|
26
26
|
"json-rest-schema": "^1.0.20"
|
|
27
27
|
},
|
|
28
28
|
"description": "Shared server-side CRUD service, repository, route, and query helpers.",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@jskit-ai/http-runtime": "0.2.
|
|
53
|
-
"@jskit-ai/kernel": "0.2.
|
|
54
|
-
"@jskit-ai/resource-runtime": "0.2.
|
|
52
|
+
"@jskit-ai/http-runtime": "0.2.23",
|
|
53
|
+
"@jskit-ai/kernel": "0.2.23",
|
|
54
|
+
"@jskit-ai/resource-runtime": "0.2.30"
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"./shared": "./src/shared/index.js"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@jskit-ai/crud-core": "0.2.
|
|
13
|
-
"@jskit-ai/resource-core": "0.1.
|
|
14
|
-
"@jskit-ai/resource-crud-core": "0.1.
|
|
12
|
+
"@jskit-ai/crud-core": "0.2.34",
|
|
13
|
+
"@jskit-ai/resource-core": "0.1.214",
|
|
14
|
+
"@jskit-ai/resource-crud-core": "0.1.216"
|
|
15
15
|
},
|
|
16
16
|
"jskit": {
|
|
17
17
|
"kind": "runtime",
|