@shivaedev/platform 0.3.7 → 0.3.8

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 +11 -0
  2. package/README.md +7 -0
  3. package/package.json +14 -2
package/CHANGELOG.md CHANGED
@@ -2,6 +2,17 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.3.8 - 2026-09-26
6
+
7
+ ### Changed
8
+
9
+ - Require only Effect. Effect Prisma, Effect tRPC, tRPC server, and Effect
10
+ Vitest are now optional peers, so applications that import only the
11
+ `runtime` and `node-http` entries no longer install Prisma Next, tRPC, or
12
+ Vitest. The `better-auth` entry still requires Effect Prisma, and the
13
+ `testing` entry requires all four.
14
+ - Accept any Better Auth 1.x release from 1.6.25 instead of exactly 1.6.25.
15
+
5
16
  ## 0.3.7 - 2026-09-04
6
17
 
7
18
  ### Changed
package/README.md CHANGED
@@ -7,6 +7,13 @@ database, transport, and test framework.
7
7
  Generic Prisma and tRPC integrations remain available separately from
8
8
  `@shivaedev/effect-prisma` and `@shivaedev/effect-trpc`.
9
9
 
10
+ `effect` is the only required peer, and the `runtime` and `node-http` entries
11
+ need nothing else. Install the optional peers for the entries that use them:
12
+
13
+ - `better-auth`: `better-auth` and `@shivaedev/effect-prisma`
14
+ - `testing`: `@shivaedev/effect-prisma`, `@shivaedev/effect-trpc`,
15
+ `@trpc/server`, and `@effect/vitest`
16
+
10
17
  ## Runtime
11
18
 
12
19
  Build one managed runtime for the application and share it with integrations:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shivaedev/platform",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "description": "Opinionated Effect application infrastructure for ShivaeDev services",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -59,10 +59,22 @@
59
59
  "@shivaedev/effect-prisma": "0.6.3",
60
60
  "@shivaedev/effect-trpc": "0.3.4",
61
61
  "@trpc/server": "11.18.0",
62
- "better-auth": "1.6.25",
62
+ "better-auth": "^1.6.25",
63
63
  "effect": "4.0.0-rc.112"
64
64
  },
65
65
  "peerDependenciesMeta": {
66
+ "@effect/vitest": {
67
+ "optional": true
68
+ },
69
+ "@shivaedev/effect-prisma": {
70
+ "optional": true
71
+ },
72
+ "@shivaedev/effect-trpc": {
73
+ "optional": true
74
+ },
75
+ "@trpc/server": {
76
+ "optional": true
77
+ },
66
78
  "better-auth": {
67
79
  "optional": true
68
80
  }