@shivaedev/platform 0.39.1 → 0.40.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.
- package/CHANGELOG.md +26 -0
- package/package.json +23 -23
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.40.0 - 2026-11-05
|
|
4
|
+
|
|
5
|
+
### Breaking
|
|
6
|
+
|
|
7
|
+
- Require Effect 4.1.0 and its matching companion packages. Move `effect`, `@effect/platform-node`, `@effect/platform-node-shared`, `@effect/sql-pg`, `@effect/sql-sqlite-node`, `@effect/atom-react` and `@effect/vitest` to exactly 4.1.0 together. Then migrate the Effect 4.1.0 breaks:
|
|
8
|
+
- `Crypto` from `effect` and `effect/testing/TestCrypto` are gone. Read random bytes and UUIDs from `SecureRandom` and hashes from `Digest` in `effect/crypto` (`random.randomBytes(n)`, `random.uuidV4()`, `digest.digestHex(Digest.sha256, bytes)`); these no longer fail, so drop their `Effect.orDie`.
|
|
9
|
+
- `NodeServices.layer` no longer provides crypto. Add `NodeCrypto.layer` (every `effect/crypto` service) or `NodeCrypto.layerSecureRandom` from `@effect/platform-node`.
|
|
10
|
+
- `NodeSocket.layerWebSocketConstructorWS` and `NodeSocket.NodeWS` moved to `@effect/platform-node/NodeWS` as `layerWebSocketConstructor` and the module itself. `NodeSocket.layerWebSocketConstructor` and `NodeSocket.layerWebSocket` now always use Node's global WebSocket, so a client that needs `ws`, such as one on a `ws+unix://` URL, uses `Socket.layerWebSocket(url).pipe(Layer.provide(NodeWS.layerWebSocketConstructor))`.
|
|
11
|
+
- `Migrator.fromFileSystem` moved to `fromFileSystem` in `effect/sql/MigratorFileSystem`.
|
|
12
|
+
- `sql.insert` and `sql.updateValues` take a non-empty array; narrow with `Array.isReadonlyArrayNonEmpty` first.
|
|
13
|
+
- A hand-built `PgClient.PgClient` needs `poolStats`, and `ChildProcess` command `args` may hold `Redacted` values.
|
|
14
|
+
- Effect's `effect/crypto` declarations name the Web Crypto types `CryptoKey` and `JsonWebKey`. A project that type-checks library declarations (`skipLibCheck: false`) needs `DOM` in its `lib`.
|
|
15
|
+
|
|
16
|
+
## 0.39.2 - 2026-11-05
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- Update `@shivaedev/admin` from 0.20.4 to 0.20.5.
|
|
21
|
+
- Update `@shivaedev/contract` from 0.37.0 to 0.38.0.
|
|
22
|
+
- Update `@shivaedev/email` from 0.4.4 to 0.5.0.
|
|
23
|
+
- Update `@shivaedev/identity` from 0.26.2 to 0.26.3.
|
|
24
|
+
- Update `@shivaedev/jobs` from 0.37.1 to 0.38.0.
|
|
25
|
+
- Update `@shivaedev/react` from 0.42.0 to 0.43.0.
|
|
26
|
+
- Update `@shivaedev/server` from 0.26.0 to 0.26.1.
|
|
27
|
+
- Update `@shivaedev/webhooks` from 0.9.0 to 0.10.0.
|
|
28
|
+
|
|
3
29
|
## 0.39.1 - 2026-11-05
|
|
4
30
|
|
|
5
31
|
### Fixed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shivaedev/platform",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.40.0",
|
|
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,33 +21,33 @@
|
|
|
21
21
|
"README.md"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@shivaedev/access": "0.
|
|
25
|
-
"@shivaedev/admin": "0.
|
|
26
|
-
"@shivaedev/changes": "0.
|
|
27
|
-
"@shivaedev/contract": "0.
|
|
28
|
-
"@shivaedev/email": "0.
|
|
29
|
-
"@shivaedev/errors": "0.
|
|
30
|
-
"@shivaedev/form": "0.
|
|
31
|
-
"@shivaedev/github": "0.
|
|
32
|
-
"@shivaedev/http": "0.
|
|
33
|
-
"@shivaedev/identity": "0.
|
|
34
|
-
"@shivaedev/jobs": "0.
|
|
35
|
-
"@shivaedev/local-postgres": "0.
|
|
36
|
-
"@shivaedev/rate-limit": "0.
|
|
37
|
-
"@shivaedev/react": "0.
|
|
38
|
-
"@shivaedev/server": "0.
|
|
39
|
-
"@shivaedev/service": "0.
|
|
40
|
-
"@shivaedev/sql": "0.
|
|
24
|
+
"@shivaedev/access": "0.6.0",
|
|
25
|
+
"@shivaedev/admin": "0.21.0",
|
|
26
|
+
"@shivaedev/changes": "0.11.0",
|
|
27
|
+
"@shivaedev/contract": "0.39.0",
|
|
28
|
+
"@shivaedev/email": "0.6.0",
|
|
29
|
+
"@shivaedev/errors": "0.10.0",
|
|
30
|
+
"@shivaedev/form": "0.19.0",
|
|
31
|
+
"@shivaedev/github": "0.14.0",
|
|
32
|
+
"@shivaedev/http": "0.8.0",
|
|
33
|
+
"@shivaedev/identity": "0.27.0",
|
|
34
|
+
"@shivaedev/jobs": "0.39.0",
|
|
35
|
+
"@shivaedev/local-postgres": "0.15.0",
|
|
36
|
+
"@shivaedev/rate-limit": "0.6.0",
|
|
37
|
+
"@shivaedev/react": "0.44.0",
|
|
38
|
+
"@shivaedev/server": "0.27.0",
|
|
39
|
+
"@shivaedev/service": "0.8.0",
|
|
40
|
+
"@shivaedev/sql": "0.42.0",
|
|
41
41
|
"@shivaedev/types": "0.4.0",
|
|
42
|
-
"@shivaedev/webhooks": "0.
|
|
42
|
+
"@shivaedev/webhooks": "0.11.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"@effect/atom-react": "4.0
|
|
46
|
-
"@effect/platform-node": "4.0
|
|
47
|
-
"@effect/sql-pg": "4.0
|
|
45
|
+
"@effect/atom-react": "4.1.0",
|
|
46
|
+
"@effect/platform-node": "4.1.0",
|
|
47
|
+
"@effect/sql-pg": "4.1.0",
|
|
48
48
|
"@tanstack/react-router": "1.170.46",
|
|
49
49
|
"better-auth": "1.7.14",
|
|
50
|
-
"effect": "4.0
|
|
50
|
+
"effect": "4.1.0",
|
|
51
51
|
"pg-boss": "12.38.0",
|
|
52
52
|
"react": "19.3.1",
|
|
53
53
|
"react-dom": "19.3.1"
|