Skip to content

chore(deps): update effect to 4.0.1 - #25

Open
fbehrens wants to merge 1 commit into
kitlangton:mainfrom
fbehrens:deps/effect-4.0.1
Open

fbehrens wants to merge 1 commit into
kitlangton:mainfrom
fbehrens:deps/effect-4.0.1

Conversation

@fbehrens

@fbehrens fbehrens commented Oct 5, 2026

Copy link
Copy Markdown

Updates effect and the @effect/* packages from 4.0.0-beta.90 to the stable 4.0.1 release.

Changes

  • Bump effect, @effect/atom-react, @effect/opentelemetry, @effect/platform-bun to 4.0.1 (root + web).
  • effect/unstable/{ai,http,httpapi,reactivity,rpc,workers} → effect/{ai,http,http-api,reactivity,rpc,workers}.
  • Schema.TaggedErrorClass → Schema.TaggedError.
  • Removed RpcSerialization.layerMsgPack (gone in 4.0.1; worker protocols now use structured clone and no longer need a serialization layer).
  • Worker RPC now encodes with Schema.toCodecJson, which rejects Dates etc. in Schema.Unknown values. Added a pass-through StructuredClone schema (src/services/rpcSchema.ts) for query results/args and ingest payloads.
  • McpServer.layerStdio now requires protocols; offering 2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05.
  • Logger.consolePretty({ stderr: true }) → Logger.LogToStderr reference.
  • Docs: effect/unstable/observability → effect/observability.

Verification

  • bun run typecheck, bun run web:typecheck — clean
  • bun test — 211 pass, 0 fail
  • web build succeeds
  • MCP stdio smoke test: initialize + tools/list respond correctly

🤖 Generated with Claude Code

- Bump effect, @effect/atom-react, @effect/opentelemetry, @effect/platform-bun to 4.0.1
- Migrate `effect/unstable/*` imports to the stable module paths
- Schema.TaggedErrorClass -> Schema.TaggedError
- Drop RpcSerialization.layerMsgPack (removed; worker protocols use structured clone)
- Worker RPC now uses the JSON codec: use a pass-through schema for query/ingest values (Dates etc.)
- McpServer.layerStdio requires explicit protocols; route pretty logs to stderr via Logger.LogToStderr

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant