Skip to content

Migrate to ZIO 2 - #529

Merged
balhoff merged 4 commits into
masterfrom
zio-2
May 20, 2026
Merged

Migrate to ZIO 2#529
balhoff merged 4 commits into
masterfrom
zio-2

Conversation

@balhoff

@balhoff balhoff commented May 20, 2026

Copy link
Copy Markdown
Member

No description provided.

balhoff and others added 4 commits May 20, 2026 12:54
Update ZIO 1.0.18 to 2.1.26, zio-logging 0.5.16 to 2.5.3, and switch
to zio-logging-slf4j2-bridge to match the slf4j 2.x API on the classpath.
Drop the unused zio-streams dependency.

- Replace the Logging environment service with ZIO 2 core logging; log
  context is applied via Main.withLogContext over ZIO.logAnnotate, and the
  console logger plus slf4j bridge are wired as a layer in Main.
- Port the case-app entry point from zio.App to ZIOAppDefault.
- Apply core API renames (effect/effectTotal, effectBlocking, foreach_,
  bracketAuto) and convert the Query reasoner from ZManaged to a scoped
  resource.
- Request a non-zero process exit explicitly on DOSDPError, since
  ZIOAppDefault no longer derives the exit code from a returned ExitCode.
- Update the test suite to zio-test 2.x (ZIOSpecDefault, test, assertZIO).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@balhoff
balhoff merged commit 2efe2c0 into master May 20, 2026
1 check passed
@balhoff
balhoff deleted the zio-2 branch May 20, 2026 21:30
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