Akka 2.2.0 Released!
July 09 2013
Roland Kuhn

Dear hAkkers,

we—the Akka committers—proudly announce the FINAL RELEASE of Akka 2.2.0 “Coltrane”. Half a year has passed since the release of Akka 2.1.0 “Mingus” and much has happened in our code base. User-visible API changes have been kept to a minimum, though, as most work happened under the hood; more on that later. First let us take a look at what Coltrane brings you:

This is just a very high-level overview of the biggest pieces, there have also been improvements in other areas like test coverage of our OSGi bundles, or how actor failures are logged, or in the semantics of ActorContext.unwatch(), or a more performant rewrite of Agents, or how dispatchers and mailboxes can be configured outside of your code.

Credits

The Akka team at Typesafe would like to send special thanks to all external contributors (listed in decreasing order of commits): Mathias Doenitz, Johannes Rudolph, Dario Rexin, Rick Latrine, Christophe Pache, Raman Gupta, Kaspar Fischer, Ricky Elrod, Kevin Wright, Raymond Roestenburg, Michael Pilquist, Helena Edelson, Matthew Neeley, Thomas Lockney and Derek Mahar.

What changes for existing code?

We have continued on our path to unify the semantics between local and remote actor references. The most obvious difference was that remote references were bound to a name whereas local ones were bound to a specific actor lifecycle. If the local actor stops, the reference stops working, which was not the case for the remote reference in case a new actor was created at the same path. We changed it such that the local rules apply to remote references as well, making the “self” references of actors created subsequently with the same name distinct from each other. As a consequence, ActorRef equality was changed by taking into account the actor’s UID (which you can see in ActorRef.toString now).

The other most visible change concerns the creation of Props. Using anonymous inner classes as factories for your actors means that the required “$outer reference”—the reference to the enclosing scope—will have an influence on the serializability of your Props as well as on the thread-safety. Therefore we have rebased the inner workings of Props on the desired actor’s Class and its constructor arguments. The benefit is that no closures are formed which would invite you e.g. to call methods on the enclosing actor, and also that serialization bindings are used to serialize the constructor arguments. Previously all Props were serialized only with Java serialization. In order to make full use of the potential of this approach we have deprecated some of the existing ways to obtain Props and introduced new ones.

Besides these changes there have been several smaller modifications, please read the migration guide to see if you may need to adapt your application while upgrading.

Where do I get it from?

The artifacts have been published to Maven Central as usual, but this time for two different Scala versions:

"com.typesafe.akka" % "akka-actor_2.10" % "2.2.0" using Scala 2.10.2

"com.typesafe.akka" % "akka-actor_2.11.0-M3" % "2.2.0" using Scala 2.11.0-M3

Assembla milestones:

2.2-M1 / 2.2-M2 / 2.2-M3 / 2.2.0-RC1 / 2.2.0-RC2 / 2.2.0

In total we closed 563 tickets on these six milestones.

Akka is released under the Apache V2 license.

Happy hAkking!

Past News Items
Aug 02 2016
Dear hAkkers, We—the Akka committers—are pleased to announce the availability of Akka 2.4.9-RC2. This release does not change much over the previous Release Candidate, except fixing one OSGi plugin induced...
Aug 02 2016
Dear hAkkers, We—the Akka committers—are pleased to be able to announce the availability of Akka 2.4.9-RC1. This version is focused on Akka HTTP performance improvements as well as introducing the...
Jul 08 2016
Dear hakkers, we—the Akka committers—are proud to announce a new patch release of Akka 2.4. This release contains a number of fixes and improvements spread out across many of the...
Jun 03 2016
Dear hakkers, we—the Akka committers—are proud to announce a new patch release of Akka 2.4. This release contains a number of minor improvements and fixes spread out across many of...
May 19 2016
*Dear hakkers,* soon after [releasing Akka 2.4.5](http://akka.io/news/2016/05/17/akka-2.4.5-released.html) with the new Routing DSL for Java it was discovered (thanks [relgames](https://github.com/relgames)) that the `akka-http-experimental` artifact was incomplete ([#20556](https://github.com/akka/akka/issues/20556)), and the missing class...
May 17 2016
*Dear hakkers,* we—the Akka committers—are proud to announce a new minor release of Akka, 2.4.5 that contains some pretty major news for those of you who are using Akka HTTP...
Apr 14 2016
*Dear hakkers,* We have expedited the 2.4.4 release due to a few annoying bugs in 2.4.3. Important fixes: * Enable streaming responses with ‘Connection: close’, issue [#20254](https://github.com/akka/akka/pull/20254) * NPE in...
Apr 01 2016
*Dear Hakkers,* we—the Akka committers—are happy to announce the fourth maintenance release of [Akka Streams & HTTP 2.0](http://akka.io/news/2015/12/21/akka-streams-2.0-released.html). This update addresses stability issues for those who can not upgrade to...