@shivaedev/platform 0.36.14 → 0.37.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 (2) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/package.json +12 -12
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.37.1 - 2026-10-31
4
+
5
+ ### Changed
6
+
7
+ - Update `@shivaedev/access` from 0.3.2 to 0.3.3.
8
+ - Update `@shivaedev/admin` from 0.13.0 to 0.14.0.
9
+ - Update `@shivaedev/contract` from 0.28.0 to 0.29.0.
10
+ - Update `@shivaedev/errors` from 0.2.0 to 0.3.0.
11
+ - Update `@shivaedev/form` from 0.9.0 to 0.10.0.
12
+ - Update `@shivaedev/github` from 0.8.2 to 0.8.3.
13
+ - Update `@shivaedev/identity` from 0.11.0 to 0.11.1.
14
+ - Update `@shivaedev/jobs` from 0.26.0 to 0.27.0.
15
+ - Update `@shivaedev/react` from 0.28.0 to 0.29.0.
16
+ - Update `@shivaedev/server` from 0.11.0 to 0.12.0.
17
+ - Update `@shivaedev/webhooks` from 0.3.4 to 0.3.5.
18
+
19
+ ## 0.37.0 - 2026-10-31
20
+
21
+ ### Changed
22
+
23
+ - Server and the platform dependency shell no longer declare `pg` as an optional peer; its PostgreSQL integration uses the native pool from sql.
24
+
25
+ ### Breaking
26
+
27
+ - Replace `authDatabase(url, { max, application_name })` from identity's `server/better-auth/mount.ts` with `yield* betterAuthDatabase()` from `server/better-auth/adapters/database.ts`, inside the application's SQL environment. Pass the result as Better Auth's `database`. Use sql's `postgresLayer` for standalone processes; database-backed `appHost` exposes the client inside its `application` Effect. Move connection settings to `maxConnections` and `applicationName` on that SQL Layer. Auth now shares its connection budget and lifecycle; remove direct `pg` dependencies when no longer used.
28
+ - Replace `authTestDatabase(pool)` with `yield* authTestDatabase` in identity test fixtures, provided with the application's `SqlClient`.
29
+ - When applying the generated starter update, replace `poolSizes.auth` with the shared `poolSizes.sql` budget. Auth migrations use the application SQL environment; remove custom `AuthMigrationDatabase` providers.
30
+
3
31
  ## 0.36.14 - 2026-10-31
4
32
 
5
33
  ### Changed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shivaedev/platform",
3
- "version": "0.36.14",
3
+ "version": "0.37.1",
4
4
  "description": "One dependency for the ShivaeDev Effect application stack",
5
5
  "homepage": "https://github.com/ShivaeDev/platform/tree/main/packages/platform#readme",
6
6
  "bugs": {
@@ -21,23 +21,23 @@
21
21
  "README.md"
22
22
  ],
23
23
  "dependencies": {
24
- "@shivaedev/access": "0.3.1",
25
- "@shivaedev/admin": "0.12.3",
24
+ "@shivaedev/access": "0.3.3",
25
+ "@shivaedev/admin": "0.14.0",
26
26
  "@shivaedev/changes": "0.6.0",
27
- "@shivaedev/contract": "0.27.0",
28
- "@shivaedev/errors": "0.1.3",
29
- "@shivaedev/form": "0.9.0",
30
- "@shivaedev/github": "0.8.1",
27
+ "@shivaedev/contract": "0.29.0",
28
+ "@shivaedev/errors": "0.3.0",
29
+ "@shivaedev/form": "0.10.0",
30
+ "@shivaedev/github": "0.8.3",
31
31
  "@shivaedev/http": "0.3.1",
32
- "@shivaedev/identity": "0.10.1",
33
- "@shivaedev/jobs": "0.25.0",
32
+ "@shivaedev/identity": "0.11.1",
33
+ "@shivaedev/jobs": "0.27.0",
34
34
  "@shivaedev/local-postgres": "0.8.0",
35
- "@shivaedev/react": "0.27.0",
36
- "@shivaedev/server": "0.10.0",
35
+ "@shivaedev/react": "0.29.0",
36
+ "@shivaedev/server": "0.12.0",
37
37
  "@shivaedev/service": "0.6.0",
38
38
  "@shivaedev/sql": "0.27.0",
39
39
  "@shivaedev/types": "0.3.0",
40
- "@shivaedev/webhooks": "0.3.3"
40
+ "@shivaedev/webhooks": "0.3.5"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "@effect/atom-react": "4.0.6",