@systemfsoftware/effect-daemon-cluster 0.2.1 → 1.0.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 CHANGED
@@ -1,5 +1,18 @@
1
1
  # @systemfsoftware/effect-daemon-cluster
2
2
 
3
+ ## 1.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - Require `effect` `^4` (stable 4.0.0). Release candidates are no longer supported: imports follow 4.0.0's module layout (`effect/http`, `effect/rpc`, `effect/http-api`, `effect/cluster`, `effect/process`, `effect/socket`, `effect/persistence`, `effect/reactivity`, `effect/encoding`, `effect/Arbitrary`), which does not exist in any 4.0.0 RC.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies:
12
+ - @systemfsoftware/effect-cell-types@12.0.0
13
+ - @systemfsoftware/effect-daemon-conformance@1.0.0
14
+ - @systemfsoftware/effect-daemon-spec@6.0.0
15
+
3
16
  ## 0.2.1
4
17
 
5
18
  ### Patch Changes
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @systemfsoftware/effect-daemon-cluster
2
2
 
3
- The `@systemfsoftware/effect-daemon-spec` medium over `effect/unstable/cluster`: cluster entities
3
+ The `@systemfsoftware/effect-daemon-spec` medium over `effect/cluster`: cluster entities
4
4
  and single-owner singletons are supervised with inferred death and eventual group stop.
5
5
 
6
6
  ## Installation
@@ -28,7 +28,7 @@ pnpm add @systemfsoftware/effect-daemon-cluster
28
28
  import { ClusterMedium } from '@systemfsoftware/effect-daemon-cluster'
29
29
  import { Supervisor } from '@systemfsoftware/effect-daemon-spec'
30
30
  import { Effect } from 'effect'
31
- import { SingleRunner } from 'effect/unstable/cluster'
31
+ import { SingleRunner } from 'effect/cluster'
32
32
 
33
33
  const handleOrders = (ready: Effect.Effect<void>) => Effect.andThen(ready, serveOrders)
34
34
 
package/dist/mod.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Conformance } from "@systemfsoftware/effect-daemon-conformance";
2
2
  import { Effect, Layer, Scope } from "effect";
3
3
  import { Supervisor } from "@systemfsoftware/effect-daemon-spec";
4
- import { Sharding } from "effect/unstable/cluster";
4
+ import { Sharding } from "effect/cluster";
5
5
  //#region src/ClusterMedium/ClusterProgram.d.ts
6
6
  declare const SingletonTag: {
7
7
  readonly _tag: 'Singleton';
package/dist/mod.mjs CHANGED
@@ -2,8 +2,8 @@ import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.mjs";
2
2
  import "@systemfsoftware/effect-daemon-conformance";
3
3
  import { Deferred, Duration, Effect, Exit, Layer, Match, Option, Queue, Result, Scope } from "effect";
4
4
  import { Supervisor } from "@systemfsoftware/effect-daemon-spec";
5
+ import { Sharding } from "effect/cluster";
5
6
  import { absurd } from "effect/Function";
6
- import { Sharding } from "effect/unstable/cluster";
7
7
  //#region src/ClusterMedium/ClusterProgram.ts
8
8
  const SingletonTag = { _tag: "Singleton" };
9
9
  const EntityTag = { _tag: "Entity" };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@systemfsoftware/effect-daemon-cluster",
3
3
  "license": "Apache-2.0",
4
- "version": "0.2.1",
4
+ "version": "1.0.0",
5
5
  "author": "Ryan Lee <drdgvhbh@gmail.com>",
6
6
  "repository": {
7
7
  "type": "git",
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "homepage": "https://github.com/systemfsoftware/systemfsoftware/tree/main/packages/daemon/effect-daemon-cluster#readme",
12
12
  "bugs": "https://github.com/systemfsoftware/systemfsoftware/issues",
13
- "description": "The effect-daemon-spec medium over effect/unstable/cluster — entities and single-owner singletons supervised with inferred death and eventual group stop.",
13
+ "description": "The effect-daemon-spec medium over effect/cluster — entities and single-owner singletons supervised with inferred death and eventual group stop.",
14
14
  "keywords": [
15
15
  "effect",
16
16
  "effect-ts",
@@ -35,27 +35,26 @@
35
35
  "./package.json": "./package.json"
36
36
  },
37
37
  "dependencies": {
38
- "@systemfsoftware/effect-cell-types": "^11.0.0",
39
- "@systemfsoftware/effect-daemon-conformance": "^0.2.1",
40
- "@systemfsoftware/effect-daemon-spec": "^5.1.0"
38
+ "@systemfsoftware/effect-cell-types": "^12.0.0",
39
+ "@systemfsoftware/effect-daemon-conformance": "^1.0.0",
40
+ "@systemfsoftware/effect-daemon-spec": "^6.0.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@effect/platform-node": "4.0.0-rc.117",
44
- "@effect/sql-pglite": "4.0.0-rc.117",
43
+ "@effect/platform-node": "^4",
44
+ "@effect/sql-pglite": "^4",
45
45
  "@microsoft/api-extractor": "^7.59.1",
46
46
  "@systemfsoftware/arethetypeswrong-cli": "^4.2.0",
47
- "@systemfsoftware/conformance-spec": "^0.2.0",
48
- "@systemfsoftware/effect-gherkin-spec": "^6.0.1",
49
- "@systemfsoftware/effect-schema-law": "^4.0.1",
50
- "@systemfsoftware/effect-schema-vite": "^2.3.0",
51
- "@systemfsoftware/oxlint-config-recommended": "^3.3.0",
47
+ "@systemfsoftware/conformance-spec": "^1.0.0",
48
+ "@systemfsoftware/effect-gherkin-spec": "^7.0.0",
49
+ "@systemfsoftware/effect-schema-law": "^5.0.0",
50
+ "@systemfsoftware/effect-schema-vite": "^3.0.0",
51
+ "@systemfsoftware/oxlint-config-recommended": "^4.0.0",
52
52
  "@systemfsoftware/tsconfig": "^2.0.1",
53
53
  "@systemfsoftware/tsdown-config": "^0.1.0",
54
- "@systemfsoftware/vitest": "^0.3.0",
54
+ "@systemfsoftware/vitest": "^1.0.0",
55
55
  "@systemfsoftware/vitest-config": "^0.1.0",
56
56
  "@types/node": "^26",
57
- "effect": "4.0.0-rc.117",
58
- "fast-check": "^4",
57
+ "effect": "^4",
59
58
  "oxlint": "~1.82.0",
60
59
  "rimraf": "^6.1.3",
61
60
  "tsdown": "^0.23.0",
@@ -63,7 +62,7 @@
63
62
  "vitest": "^5"
64
63
  },
65
64
  "peerDependencies": {
66
- "effect": "4.0.0-rc.117",
65
+ "effect": "^4",
67
66
  "typescript": ">=7.0.0"
68
67
  },
69
68
  "publishConfig": {
@@ -75,7 +74,6 @@
75
74
  "build": "tsdown -l warn && pnpm api:check",
76
75
  "typecheck": "tsc -b",
77
76
  "test": "vitest run --project unit --project conformance",
78
- "test:contract": "vitest run --project contract",
79
77
  "lint": "f=${OXLINT_FORMAT:-${AGENT:+agent}}; oxlint . --format=${f:-default}",
80
78
  "attw": "attw --pack .",
81
79
  "api:check": "api-extractor-quiet run",