We—the Akka committers—are pleased to be able to announce the availability of Akka 2.0.4.

This version contains a number of small bug fixes, for the full list of tickets closed see below, the most notable ones are

fix a divide-by-zero bug in routers

fix a wrap-around bug in HashedWheelTimer which would expire timeouts early

stop using Unsafe.throwException to allow running on Android

configurable worker pool size in remoting to allow running with fewer threads

We strongly recommend all projects using the 2.0 series to update to this binary-compatible release.

Summary of Changes

2.0.4 is the result of a collaboration of 5 contributors and weighs in at 66 files changed, 339 insertions, 118 deletions. Please refer to the full git log at the end for the gory details.

Tickets closed

2447 – Backport fix for Router ArithmeticException: / by zero

2448 – Upgrade Netty from 3.5.3 to 3.5.4

2476 – 2.0.3 docs has broken links to typesafe.com

2532 – TypedActor busted after restart

2570 – Backport fix for wrong logic in Switch.whileOff to 2.0.4

2592 – DOC: 2.0.3 doc errata

2628 – java hellokernel sample: reflection error

2686 – AskTimeoutException using Patterns.ask(pingActorRef, message, Timeout.longToTimeout(Long.MAX_VALUE));

2691 – Backport Netty worker pool size

2706 – Stop using Unsafe.throwException since it doesn’t exist on Android

Akka is released under the Apache V2 license.

Website:

http://akka.io

Maven repository:

http://repo.akka.io/releases

Binary distribution:

http://download.akka.io/downloads/akka-2.0.4.tgz

http://download.akka.io/downloads/akka-2.0.4.zip

Documentation:

http://doc.akka.io/docs/akka/2.0.4/

http://doc.akka.io/api/akka/2.0.4/

Issue tracker:

http://www.assembla.com/spaces/akka/

Mailing list:

https://groups.google.com/group/akka-user

Git Shortlog

Björn Antonsson (2):

Allow configuration of the number of threads created by Netty. #2691

Change Netty configuration to better mimic Netty defaults. #2691

Björn Harrtell (1):

Upgrade Netty from 3.5.3 to 3.5.4

Patrik Nordwall (5):

Avoid ArithmeticException: / by zero in routers, see #2443

Rename local val _routee, see #2442

Avoid / by zero in SmallestMailboxRouter also, see #2442

Correct logic in Switch.whileOff, see #2569

Add test for Switch, see #2569

Roland (8):

change version to 2.0.4-SNAPSHOT

adapt release script to new repo.akka.io login

make HashedWheelTimer tolerate wrap-arounds, see #2686

adapt release script to new repo.akka.io login

add comment explaining HWT test

fix smartypants disabling python code

fix various small things in the docs, see #2592

Update version for release 2.0.4

Viktor Klang (7):

Removing reference to Future.onTimeout

#2476 - Fixing broken links to typesafe.com

#2432 - turning off smarty pants so that our quotes don’t get mangled in code samples.

Fixing #2532

Adding OSS Sonatype releases to the list of repos for 2.0

#2628 - make HelloActor and WorldActor public static classes

#2706 - Switching to a type system subversion instead of Unsafe.throwException.

Happy hAkking!