Akka 2.5.12 Released

Dear hakkers,

We are pleased to announce a new patch release of Akka 2.5. This release mostly contains small fixes across the board
and continued work on Akka Typed. Some notable improvements and bug fixes in 2.5.12 are:

  • Restarting a node with Artery could prevent system messages from being delivered #24847
  • Addition of java.time.Duration to Java APIs, more will follow #24646, thanks to @hepin1989 and @ralphlaude
  • PatternCS.ask overload taking a function from ActorRef was not used by compiler #24587
  • Sending PoisonPill via Timers was discarded #24080, thanks to @mucahitkantepe
  • Materialized value of Flow.lazyInit must be a Future #24670, thanks to @swachter
  • Improved Streams throttle #24699
  • Lower type bounds in Streams Java API didn’t work #24368
  • Subscription timeout in Streams SourceRef was not canceled, #24626
  • New implementation of Typed PersistentBehavior #23694
  • Many small improvements of Akka Typed, and some API changes, see below

A total of 98 issues were closed since 2.5.11. The complete list can be found on the 2.5.12 milestone on github.

API changes in Akka Typed

We have done some additional API changes to Akka Typed since 2.5.11. Sorry for the inconvenience but it should be a straight forward find-replace migration.

Renames:

  • Behaviors.immutable -> Behaviors.receive
  • Behaviors.immutablePartial -> Behaviors.receivePartial
  • Behaviors.onSignal -> Behaviors.receiveSignal
  • Behaviors.immutable … onSignal -> Behaviors.receive … receiveSignal
  • Behaviors.mutable -> Behaviors.setup
  • Behaviors.MutableBehavior -> MutableBehavior (top level class)
  • ExtensibleBehavior.receiveMessage -> ExtensibleBehavior.receive

New:

  • Behaviors.receiveMessage (similar to Behaviors.receive, but handling only the message, no context)
  • Behaviors.receiveMessagePartial

See issue #24683

Credits

For this release we had the help of 47 committers – thank you all very much!

commits  added  removed
     20   7096     3359 Konrad `ktoso` Malawski
     20   3178     1109 Johan Andrén
     19   2161     1159 Patrik Nordwall
      8   2177       58 kerr
      7    158       24 Christopher Batey
      4    891      963 Oleksii Tkachuk
      4    203      368 Johannes Rudolph
      3     97      149 Arnout Engelen
      3     80       41 Roland Kuhn
      3     28       19 Martynas MickeviÄŤius
      2    127      479 Jimin Hsieh
      2    409      139 虎鸣
      2    328      176 Gergő Törcsvári
      2    179      201 Roman Filonenko
      2    201       98 Richard Imaoka
      1    911      137 Prada Souvanlasy
      1    423      352 Stefan Wachter
      1    528       91 mikolak-net
      1    419       80 Guy Youansi
      1    106      178 Kirill Yankov
      1      0      273 Martijn Steenbergen
      1    245        8 Daniel Kalman
      1    192       37 piotr.sliwa
      1    165        3 Thomas Smith
      1     86       11 Hawstein
      1     54       20 Mark James Talbot
      1     56       12 mucahitkantepe
      1     62        4 Heiko Seeberger
      1     39        8 Ignasi Marimon-Clos
      1     31       11 Wade Waldron
      1     31        1 James Roper
      1     22        4 KAWACHI Takashi
      1     23        0 Gaël Bréard
      1     18        2 Yan Su
      1      9       10 Josep Prat
      1     14        4 Kevin Mas Ruiz
      1     17        1 Christopher Hunt
      1     12        5 Francisco José Bermejo Herrera
      1     11        4 Pritam Kadam
      1     10        2 Rafał Sumisławski
      1      2        3 Song Kun
      1      3        1 Yoshimasa Tanabe
      1      2        2 Justin Pihony
      1      2        1 jefftt
      1      1        1 adamlehenbauer
      1      1        1 zodiake
      1      1        1 anilkumarmyla

Happy hakking!

– The Akka Team

2 Likes