Repository navigation
Conversation
Replace the org.reactivestreams Publisher, Subscriber, Subscription and Processor types with their java.util.concurrent.Flow counterparts and drop the dependency on org.reactivestreams:reactive-streams. Tests now use reactive-streams-tck-flow and Pekko's JavaFlowSupport. This changes the signatures of all public types and breaks source and binary compatibility. Based on playframework#173. Fixes playframework#172 Co-authored-by: Erlend Hamnaberg <erlend@hamnaberg.net> Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces the
org.reactivestreamstypes (Publisher,Subscriber,Subscription,Processor) with theirjava.util.concurrent.Flowcounterparts and drops the dependency onorg.reactivestreams:reactive-streams. Only imports change in the library code. The tests now usereactive-streams-tck-flowand Pekko'sJavaFlowSupport.org.playframework.netty, Pekko, Java 17).This will not be merged anytime soon. The rest of the ecosystem has not switched to
Flowyet:Flowonly through adapters (Switch code that uses Reactive Streams to favour the Java 9 Flow API apache/pekko#2459, move Java 9 Flow support into main Source and Sink classes apache/pekko#2460).Flow.Until they switch, this change would only move the conversion into Play while breaking every direct user of this library.
Breaking change: all public types change their supertypes or signatures, which breaks source and binary compatibility. A release would need a new major version (4.0.0); the version has not been bumped yet.
🤖 Generated with Claude Code