@shivaedev/react 0.49.0 → 0.49.2
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 +17 -0
- package/README.md +2 -1
- package/package.json +22 -22
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.49.2 - 2026-11-20
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- Require Effect 4.1.4 and its matching platform packages.
|
|
8
|
+
- `useCreate` and `useEditor` accept a save failing with `Conflict` or `BadRequest` without `rejectField`. Drop `rejectField: fieldRejectionOf(Fields)` where it only repeated the default.
|
|
9
|
+
|
|
10
|
+
## 0.49.1 - 2026-11-19
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Update `@shivaedev/access` from 0.6.3 to 0.6.4.
|
|
15
|
+
- Update `@shivaedev/contract` from 0.47.0 to 0.48.0.
|
|
16
|
+
- Update `@shivaedev/errors` from 0.12.0 to 0.13.0.
|
|
17
|
+
- Update `@shivaedev/form` from 0.19.3 to 0.19.4.
|
|
18
|
+
- Update `@shivaedev/identity` from 0.32.3 to 0.33.0.
|
|
19
|
+
|
|
3
20
|
## 0.49.0 - 2026-11-18
|
|
4
21
|
|
|
5
22
|
### Breaking
|
package/README.md
CHANGED
|
@@ -494,7 +494,7 @@ const editor = useEditor({
|
|
|
494
494
|
});
|
|
495
495
|
```
|
|
496
496
|
|
|
497
|
-
Here `save` has a tagged `SubtitleRejected` failure referring to the server's `subtitle`, while the form calls the input `title`. If a tagged error's field type includes names outside the form, `rejectField` is required at compile time.
|
|
497
|
+
Here `save` has a tagged `SubtitleRejected` failure referring to the server's `subtitle`, while the form calls the input `title`. If a tagged error's field type includes literal names outside the form, `rejectField` is required at compile time. A plain `string` field, required or optional as on `Conflict` and `BadRequest` from `@shivaedev/errors/taxonomy.ts`, does not require it: the default mapping shows a rejection naming a form field on that field and leaves any other rejection in `failure`. The mapper can return `undefined` to leave an error as a non-field failure.
|
|
498
498
|
|
|
499
499
|
#### Query, command and form feedback
|
|
500
500
|
|
|
@@ -1257,6 +1257,7 @@ pnpm add @tanstack/react-router
|
|
|
1257
1257
|
```
|
|
1258
1258
|
|
|
1259
1259
|
The package needs Node 24 or newer.
|
|
1260
|
+
|
|
1260
1261
|
- Query identity, TTL, invalidation and action concurrency remain native atom policies. Put the registry at the lifetime boundary those policies need.
|
|
1261
1262
|
- The package has no SSR registry/hydration adapter, offline write queue or optimistic reconciliation policy.
|
|
1262
1263
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shivaedev/react",
|
|
3
|
-
"version": "0.49.
|
|
3
|
+
"version": "0.49.2",
|
|
4
4
|
"description": "React query, action, editor and session hooks for native Effect atoms",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"effect"
|
|
@@ -45,31 +45,31 @@
|
|
|
45
45
|
"README.md"
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@shivaedev/access": "0.6.
|
|
49
|
-
"@shivaedev/contract": "0.
|
|
50
|
-
"@shivaedev/errors": "0.
|
|
51
|
-
"@shivaedev/form": "0.19.
|
|
52
|
-
"@shivaedev/identity": "0.
|
|
48
|
+
"@shivaedev/access": "0.6.5",
|
|
49
|
+
"@shivaedev/contract": "0.49.0",
|
|
50
|
+
"@shivaedev/errors": "0.13.1",
|
|
51
|
+
"@shivaedev/form": "0.19.5",
|
|
52
|
+
"@shivaedev/identity": "0.34.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@effect/atom-react": "4.1.
|
|
56
|
-
"@effect/platform-node": "4.1.
|
|
57
|
-
"@effect/sql-pg": "4.1.
|
|
58
|
-
"@effect/sql-sqlite-node": "4.1.
|
|
59
|
-
"@shivaedev/changes": "0.
|
|
60
|
-
"@shivaedev/jobs": "0.
|
|
61
|
-
"@shivaedev/quality": "0.78.
|
|
62
|
-
"@shivaedev/server": "0.
|
|
63
|
-
"@shivaedev/service": "0.9.
|
|
64
|
-
"@shivaedev/sql": "0.
|
|
65
|
-
"@shivaedev/test-kits": "0.13.
|
|
66
|
-
"@shivaedev/test-sql": "0.25.
|
|
67
|
-
"@shivaedev/test-story": "0.
|
|
55
|
+
"@effect/atom-react": "4.1.4",
|
|
56
|
+
"@effect/platform-node": "4.1.4",
|
|
57
|
+
"@effect/sql-pg": "4.1.4",
|
|
58
|
+
"@effect/sql-sqlite-node": "4.1.4",
|
|
59
|
+
"@shivaedev/changes": "0.14.1",
|
|
60
|
+
"@shivaedev/jobs": "0.43.0",
|
|
61
|
+
"@shivaedev/quality": "0.78.5",
|
|
62
|
+
"@shivaedev/server": "0.37.0",
|
|
63
|
+
"@shivaedev/service": "0.9.2",
|
|
64
|
+
"@shivaedev/sql": "0.51.0",
|
|
65
|
+
"@shivaedev/test-kits": "0.13.4",
|
|
66
|
+
"@shivaedev/test-sql": "0.25.4",
|
|
67
|
+
"@shivaedev/test-story": "0.49.0",
|
|
68
68
|
"@tanstack/react-router": "1.170.46",
|
|
69
69
|
"@types/node": "24.19.2",
|
|
70
70
|
"@types/react": "19.3.0",
|
|
71
71
|
"@types/react-dom": "19.3.0",
|
|
72
|
-
"effect": "4.1.
|
|
72
|
+
"effect": "4.1.4",
|
|
73
73
|
"happy-dom": "21.0.4",
|
|
74
74
|
"react": "19.3.1",
|
|
75
75
|
"react-dom": "19.3.1",
|
|
@@ -77,9 +77,9 @@
|
|
|
77
77
|
"vitest": "5.1.0"
|
|
78
78
|
},
|
|
79
79
|
"peerDependencies": {
|
|
80
|
-
"@effect/atom-react": "4.1.
|
|
80
|
+
"@effect/atom-react": "4.1.4",
|
|
81
81
|
"@tanstack/react-router": "1.170.46",
|
|
82
|
-
"effect": "4.1.
|
|
82
|
+
"effect": "4.1.4",
|
|
83
83
|
"react": "19.3.1"
|
|
84
84
|
},
|
|
85
85
|
"peerDependenciesMeta": {
|