Skip to content

feat(pekko): add Pekko 2 capability artifact - #666

Open
weiwen99 wants to merge 1 commit into
softwaremill:masterfrom
weiwen99:feat/pekko-http-2
Open

weiwen99 wants to merge 1 commit into
softwaremill:masterfrom
weiwen99:feat/pekko-http-2

Conversation

@weiwen99

@weiwen99 weiwen99 commented Nov 11, 2026 •

Copy link
Copy Markdown

Status

Pekko HTTP 2.0.0 has been released. This is ready for review.

What this adds

  • A separate pekko-pekko2 artifact for the PekkoStreams capability, built against Pekko 2.0.0.
  • The existing pekko artifact is unchanged and remains on Pekko 1.7.1.
  • The sources are shared with the pekko module; the trait is type-only.
  • The new artifact is published for Scala 2.13 and 3, and targets Java 17+. It is not published for Scala 2.12.
  • The module is added to allProjectRefs, so it is included in the aggregate build.
  • No MiMa baseline is configured because this is a new artifact.

Testing

  • pekko2/test — 2/2 (Scala 3.9).
  • pekko22_13/test — 2/2 (Scala 2.13).
  • Existing pekko/test and pekko2_13/test — 2/2 each; the Pekko 1 artifact remains green.
  • scalafmtSbtCheck and both module scalafmtCheck tasks pass.
  • Both Scala versions emit Java 17 bytecode (class file major version 61).

Notes

  • PekkoStreams only defines BinaryStream = Source[ByteString, Any] and Pipe[A, B] = Flow[A, B, Any]; there are no Pekko API calls, so no source changes were needed.
  • This is a companion to the pekko-http-backend-pekko2 change in the sttp client repository.

@weiwen99
weiwen99 marked this pull request as draft November 12, 2026 06:31
Add a separate pekko-pekko2 artifact for the PekkoStreams capability,
built against Pekko 2.0.0. Pekko 2 is not binary compatible with Pekko
1.x, so the existing pekko artifact remains on Pekko 1.7.1.

The sources are shared with the pekko module. The new artifact is
published for Scala 2.13 and 3 and targets Java 17+. It has no MiMa
baseline because it is a new artifact.
@weiwen99
weiwen99 marked this pull request as ready for review November 16, 2026 01:24
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