He-Pin opened a new pull request, #3292:
URL: https://github.com/apache/pekko/pull/3292

   ### Motivation
   `SubstreamCancelStrategy` and the `splitWhen`/`splitAfter` overloads that 
accepted it were deprecated since Pekko 1.1.0 in favor of using 
`.withAttributes(ActorAttributes.supervisionStrategy(decider))`.
   
   ### Modification
   - Delete `SubstreamCancelStrategy.scala` (class, companion object, and 
internal `SubstreamCancelStrategies`)
   - Remove `splitWhen(SubstreamCancelStrategy)` and 
`splitAfter(SubstreamCancelStrategy)` from scaladsl `Flow`/`Source`, javadsl 
`Flow`/`Source`, and `FlowOps`
   - Remove `Split.cancelStrategyToDecider` helper from `StreamOfStreams.scala`
   - Clean up unused imports (`nowarn`, `Supervision.Decider`)
   - Update docs test to use the non-deprecated `splitWhen`/`splitAfter` API
   - Add MiMa binary compatibility exclusion filters for 2.0.x
   
   ### Result
   Deprecated API removed. Users should use 
`.withAttributes(ActorAttributes.supervisionStrategy(equivalentDecider))` 
instead.
   
   ### Tests
   - `sbt "stream / Compile / compile"` - passed
   - `sbt "stream-tests / Test / compile"` - passed
   - `sbt "stream-tests / Test / testOnly 
org.apache.pekko.stream.scaladsl.FlowSplitWhenSpec 
org.apache.pekko.stream.scaladsl.FlowSplitAfterSpec"` - passed, 24 tests
   - `sbt "stream / mimaReportBinaryIssues"` - passed
   
   ### References
   None - deprecated API cleanup


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to