Repository navigation
chore: upgrade effect to stable v4.0.0 release - #25
Conversation
Bump effect and @effect/platform-node from ^4.0.0-rc.116 to ^4.0.0. The stable release promotes the former `effect/unstable/*` modules to top-level subpaths, so imports move from `effect/unstable/cli` and `effect/unstable/process` to `effect/cli` and `effect/process`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012GFt9xsBVmPzK9bhuT69kA
commit: |
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
- Dependency bump —
effectand@effect/platform-nodemoved from^4.0.0-rc.116to^4.0.0;pnpm-lock.yamlregenerated (effect@4.0.0,@effect/platform-node@4.0.0,@effect/platform-node-shared@4.0.0, transitiveundici@8.11.2,ws@8.22.0). - Import path migration — 13 source files switch
effect/unstable/cli→effect/cliandeffect/unstable/process→effect/process. Noeffect/unstable/*imports remain anywhere in the repo.
Verified against the published artifacts: effect@4.0.0 exports ./cli and ./process (and no ./unstable/*), every imported namespace is present (Argument, CliConfig, CliError, CliOutput, Command, Flag, GlobalFlag, Prompt, ChildProcess, ChildProcessSpawner), @effect/platform-node@4.0.0 keeps its ./* wildcard so NodeRuntime/NodeServices still resolve, tsc --noEmit passes against 4.0.0, and the CLI runs cleanly (--version, --help). The lockfile integrity hash for effect@4.0.0 matches the npm registry.
deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |

Summary
Updates the Effect library imports from unstable RC versions to the stable v4.0.0 release. This involves updating both the dependency versions in package.json and migrating all import paths from the unstable API namespaces to their stable counterparts.
Key Changes
effectand@effect/platform-nodedependencies from^4.0.0-rc.116to^4.0.0effect/unstable/clitoeffect/clieffect/unstable/processtoeffect/processFiles Modified
package.json: Dependency version updatessrc/commands/uncheck.ts: CLI and process importssrc/commands/init.ts: CLI and process importssrc/commands/prepare.ts: CLI importssrc/commands/staged.ts: CLI importssrc/commands/hooks/index.ts: CLI importssrc/commands/hooks/install.ts: CLI importssrc/commands/hooks/run.ts: CLI importssrc/cli.ts: CLI importssrc/errors.ts: CLI error importssrc/files.ts: Process importssrc/git.ts: Process importssrc/tool.ts: Process importssrc/types.ts: Process type importsThis change stabilizes the Effect library usage and removes dependency on unstable APIs.
https://claude.ai/code/session_012GFt9xsBVmPzK9bhuT69kA