@shivaedev/react 0.44.0 → 0.44.1

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +1 -1
  3. package/package.json +10 -10
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.44.1 - 2026-11-05
4
+
5
+ ### Changed
6
+
7
+ - Update `@shivaedev/contract` from 0.39.0 to 0.40.0.
8
+ - Update `@shivaedev/identity` from 0.27.0 to 0.28.0.
9
+
3
10
  ## 0.44.0 - 2026-11-05
4
11
 
5
12
  ### Breaking
package/README.md CHANGED
@@ -1188,7 +1188,7 @@ notesScreen.it("a command refetches the rendered notes through native RPC", [],
1188
1188
 
1189
1189
  `render(node, options?)` returns the attached `container`, its fresh native `registry`, `render(nextNode)` to update the same root and registry, and `unmount()` to release the root, registry and container. The options are React's own `RootOptions`, passed to `createRoot`, including `onCaughtError`, `onUncaughtError` and `onRecoverableError`. Acquire the view with `Effect.acquireRelease` so its scope releases it on success, failure or interruption. The screen driver's `act` adapter keeps component interactions and settling inside React's `act`. `expectNoReactWarnings()` registers a Vitest hook that fails a test if it logged to `console.error`.
1190
1190
 
1191
- The RPC layer stays application-owned: replace these in-memory handlers with the service Layer your component needs.
1191
+ The RPC layer stays application-owned: replace these in-memory handlers with the service Layer your component needs. Services declare their dependencies once in `requires` and yield them in their operations, including `Identity` for the caller. Register caller-dependent Layers in the host’s `requestServices` slot and shared repository Layers in `services`; handlers yield the service during each call and pass only the operation’s payload. Test-support services follow the same model, with `Effect.void` initialization when they own no lifetime state and captured-context bridges in `adapters/`.
1192
1192
 
1193
1193
  For a boundary fallback test, keep the warnings guard and declare the caught error inside the test. `expectCaughtError(predicate)` returns an `onCaughtError` handler that accepts matching errors without logging them. The guard fails if the handler receives any other error or the expected error never arrives. Other console errors and React warnings still fail the guard.
1194
1194
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shivaedev/react",
3
- "version": "0.44.0",
3
+ "version": "0.44.1",
4
4
  "description": "React query, action, editor and session hooks for native Effect atoms",
5
5
  "keywords": [
6
6
  "effect"
@@ -46,10 +46,10 @@
46
46
  ],
47
47
  "dependencies": {
48
48
  "@shivaedev/access": "0.6.0",
49
- "@shivaedev/contract": "0.39.0",
49
+ "@shivaedev/contract": "0.40.0",
50
50
  "@shivaedev/errors": "0.10.0",
51
51
  "@shivaedev/form": "0.19.0",
52
- "@shivaedev/identity": "0.27.0"
52
+ "@shivaedev/identity": "0.28.0"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@effect/atom-react": "4.1.0",
@@ -57,14 +57,14 @@
57
57
  "@effect/sql-pg": "4.1.0",
58
58
  "@effect/sql-sqlite-node": "4.1.0",
59
59
  "@shivaedev/changes": "0.11.0",
60
- "@shivaedev/jobs": "0.39.0",
61
- "@shivaedev/quality": "0.65.0",
62
- "@shivaedev/server": "0.27.0",
60
+ "@shivaedev/jobs": "0.40.0",
61
+ "@shivaedev/quality": "0.66.0",
62
+ "@shivaedev/server": "0.28.0",
63
63
  "@shivaedev/service": "0.8.0",
64
- "@shivaedev/sql": "0.42.0",
65
- "@shivaedev/test-kits": "0.8.0",
66
- "@shivaedev/test-sql": "0.24.0",
67
- "@shivaedev/test-story": "0.42.0",
64
+ "@shivaedev/sql": "0.43.0",
65
+ "@shivaedev/test-kits": "0.8.1",
66
+ "@shivaedev/test-sql": "0.24.1",
67
+ "@shivaedev/test-story": "0.42.1",
68
68
  "@tanstack/react-router": "1.170.46",
69
69
  "@types/node": "24.19.2",
70
70
  "@types/react": "19.3.0",