@shivaedev/react 0.24.0 → 0.25.0

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 (2) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.25.0 - 2026-10-30
4
+
5
+ ### Added
6
+
7
+ - `authCall` turns a Better Auth client callback into an input-taking Effect for form `onSubmit` handlers.
8
+
9
+ ### Breaking
10
+
11
+ - `authAction` now fails with `AuthFailure`. Map its closed `code` union to application text instead of reading raw Better Auth error fields or HTTP statuses. Core Better Auth codes pass through; code-less rate limiting becomes `RATE_LIMITED`, and unsupported codes and rejected promises become `UNKNOWN`. Read the original error from `cause`. Replace action error annotations that include `AuthActionUnavailable` with `AuthFailure`; `authQuery` retains its existing failures.
12
+
3
13
  ## 0.24.0 - 2026-10-30
4
14
 
5
15
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shivaedev/react",
3
- "version": "0.24.0",
3
+ "version": "0.25.0",
4
4
  "description": "React query, action, editor and session hooks for native Effect atoms",
5
5
  "keywords": [
6
6
  "effect"
@@ -46,7 +46,7 @@
46
46
  ],
47
47
  "dependencies": {
48
48
  "@shivaedev/access": "0.3.0",
49
- "@shivaedev/contract": "0.24.1",
49
+ "@shivaedev/contract": "0.25.0",
50
50
  "@shivaedev/errors": "0.1.2",
51
51
  "@shivaedev/form": "0.9.0"
52
52
  },
@@ -56,15 +56,15 @@
56
56
  "@effect/sql-pg": "4.0.6",
57
57
  "@effect/sql-sqlite-node": "4.0.6",
58
58
  "@shivaedev/changes": "0.6.0",
59
- "@shivaedev/identity": "0.9.0",
59
+ "@shivaedev/identity": "0.9.1",
60
60
  "@shivaedev/jobs": "0.23.2",
61
- "@shivaedev/quality": "0.48.0",
62
- "@shivaedev/server": "0.9.1",
61
+ "@shivaedev/quality": "0.48.1",
62
+ "@shivaedev/server": "0.9.2",
63
63
  "@shivaedev/service": "0.6.0",
64
64
  "@shivaedev/sql": "0.27.0",
65
65
  "@shivaedev/test": "0.12.0",
66
66
  "@shivaedev/test-sql": "0.15.0",
67
- "@shivaedev/test-story": "0.26.2",
67
+ "@shivaedev/test-story": "0.26.3",
68
68
  "@tanstack/react-router": "1.170.46",
69
69
  "@types/node": "24.19.2",
70
70
  "@types/react": "19.3.0",