Announcing Play 2.2.1

3,730 views
Skip to first unread message

James Roper

unread,
Oct 31, 2013, 2:55:32 AM10/31/13
to play-framework
The Play team is proud to announce the release of Play 2.2.1!  This release contains stability fixes and regression fixes from Play 2.2.0, and is thanks to the huge amount of community support we've received.  Major fixes include:

830 - Integration tests now run out of the box in Eclipse
1159 - OAuth calculator no longer ignores query string
1704 - Fixed performance degradation with SQL queries in Play 2.2
1722 - Accept all WebSocket subprotocols
1734 - Reinstate custom token generator functionality in CSRF filter
1737 - Ensure CSRF filter can be instantiated without a running application
1750 - Fixed Promise.timeout exception handling
1778 - Fixed 505 body sending bug
1786 - Fixed closure compiler on windows - made the CommonJs functionality optional
1815 - Ensure echo is not disabled when play run finishes
1819 - Cache the result, not the iteratee in cached action
1841 - Ensured test results propogate to test runner
1856 - Ensure filters are executed when no handler is found
1898 - Upgrade bonecp to 0.8.0.RELEASE

CSRF Filters
Changes to CSRF filtering break binary compatibility but not source compatibility. The CSRFFilter constructor parameters are now not lazy, and CSRFFilter is no longer a case class, so many of the methods it used to provide are no longer there. This was deemed necessary because the intended use of CSRFFilter, ie:

    object Global extends WithFilters(CSRFFilter()) with GlobalSettings

The above was not possible with the old constructor. Since that constructor is intentionally breaking binary compatibility, new parameters that were added for custom token generation and configuration signing were added without consideration for binary compatibility, only source compatibility.

CommonJS Modules Support
CommonJS module support used to be provided by default when using the JavaScript compiler. It no longer is as there were problems with its support on Windows. CommonJS module support can be re-enabled by using a "commonJs" option for the JavaScript compiler.

* * *

For full details of what has changed, please see here:

https://github.com/playframework/playframework/issues?milestone=9&state=closed

The new version can be downloaded from here:

http://downloads.typesafe.com/play/2.2.1/play-2.2.1.zip

Enjoy!

--
James Roper
Software Engineer

Typesafe – Build reactive apps!
Twitter: @jroper

Fernando Correia

unread,
Oct 31, 2013, 7:14:35 AM10/31/13
to play-fr...@googlegroups.com
Congratulations on the release. Great job!

Kevin Sheppard

unread,
Oct 31, 2013, 2:41:35 PM10/31/13
to play-fr...@googlegroups.com
Hey congrats on the release! Just upgraded my project to it.

adel alfar

unread,
Oct 31, 2013, 4:42:29 PM10/31/13
to play-fr...@googlegroups.com
You all are awesome.  Thanks!
Message has been deleted

Kevin Sheppard

unread,
Nov 5, 2013, 2:00:36 PM11/5/13
to play-fr...@googlegroups.com
If you're on Windows you may need to use the taskkill command instead.


On Tue, Nov 5, 2013 at 12:41 PM, Sunny <sunil...@gmail.com> wrote:
Congratulations on new version release. 

While we are trying with Play 2.2.1 we noticed that "stop" doesnt work , Could you please help us on this . 

Thanks,
Sunny


On Thursday, October 31, 2013 1:55:32 AM UTC-5, James Roper wrote:

--
You received this message because you are subscribed to a topic in the Google Groups "play-framework" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/play-framework/WaVh6IBMmZc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to play-framewor...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Kevin Sheppard

Onur Aktaş

unread,
Nov 6, 2013, 10:59:31 AM11/6/13
to play-fr...@googlegroups.com
Congratulations, especially for Closure compiler fix on windows :)
Message has been deleted

Xipe Totec

unread,
Nov 7, 2013, 5:45:37 AM11/7/13
to play-fr...@googlegroups.com
Someone could reccomend me what mailer works on this new Play 2.2.1 (java)? And how to install?
thanks
Message has been deleted

G. Richard Bellamy

unread,
Nov 7, 2013, 2:53:22 PM11/7/13
to play-fr...@googlegroups.com
Is anyone else seeing chrome bark about the zip being malicious?


Kevin Sheppard

unread,
Nov 7, 2013, 9:48:23 PM11/7/13
to play-fr...@googlegroups.com
Nope. Downloaded it recently and it was cool.

Felipe Rodrigues

unread,
Nov 8, 2013, 8:31:26 AM11/8/13
to play-fr...@googlegroups.com
Awesome!! tkss

RyanT

unread,
Nov 14, 2013, 2:46:50 AM11/14/13
to play-fr...@googlegroups.com
Although this is great, the verification error as reflected in this thread https://groups.google.com/forum/#!topic/play-framework/eWFwZ75T6wk is preventing me from upgrading to 2.2.1.

I have looked around but couldn't find out why it is happening so I have to revert back to 2.1.0. Hopefully this problem will get some investigation.

Thanks for the great work!!

Dharmarao Edula

unread,
Nov 20, 2013, 3:31:05 AM11/20/13
to play-fr...@googlegroups.com
Nice to hear that..looking forward to try that..

Joscha Feth

unread,
Nov 27, 2013, 3:18:37 AM11/27/13
to play-fr...@googlegroups.com
Anyone else getting:

[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] ::          UNRESOLVED DEPENDENCIES         ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.play#play-cache_2.10;2.2.1: configuration not found in com.typesafe.play#play-cache_2.10;2.2.1: 'master'. It was required from blablabla compile
[warn] ::::::::::::::::::::::::::::::::::::::::::::::

after upgrading from 2.2.0 to 2.2.1? The dependency uses "cache" - any way I can make this work?

Cheers,
Joscha
Message has been deleted

James Roper

unread,
Nov 27, 2013, 10:26:21 PM11/27/13
to play-framework
On Wed, Nov 27, 2013 at 7:23 PM, Joscha Feth <jos...@feth.com> wrote:
Re: cache: It seems as if there is only "play-cache_2.10-2.2.1-SNAPSHOT" in the repository, yet, not the final one?

You've linked to the snapshot repository there.  The releases repository definitely has it:

 

On Wednesday, November 27, 2013 9:18:37 AM UTC+1, Joscha Feth wrote:
Anyone else getting:
...
after upgrading from 2.2.0 to 2.2.1? The dependency uses "cache" - any way I can make this work?

--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

Joscha Feth

unread,
Nov 28, 2013, 7:54:09 AM11/28/13
to play-fr...@googlegroups.com
I see - that makes me understand the message even less, because technically it should be found - any ideas?


--
You received this message because you are subscribed to a topic in the Google Groups "play-framework" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/play-framework/WaVh6IBMmZc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to play-framewor...@googlegroups.com.

Rich Dougherty

unread,
Nov 28, 2013, 7:49:01 PM11/28/13
to play-fr...@googlegroups.com
On Fri, Nov 29, 2013 at 1:54 AM, Joscha Feth <jos...@feth.com> wrote:
I see - that makes me understand the message even less, because technically it should be found - any ideas?

The first thing to work out is why you're pulling in that SNAPSHOT dependency in the first place.

I sometimes use an SBT dependency graph plugin to help me work out where dependencies are coming from. It can be quite hard to figure out just from reading build configuration directly.

Cheers
Rich
 
--
Rich Dougherty - @richdougherty
Typesafe - Reactive apps on the JVM

Joscha Feth

unread,
Nov 29, 2013, 3:16:50 AM11/29/13
to play-fr...@googlegroups.com
Hello Rich,

Thanks for your answer - I am not pulling the snapshot, I am pulling the release, however after looking into the repository, I (mistakenly) thought only the snapshot was available there.
I will try the sbt dependency graph plugin, however I think the dependency is pulled in by play itself (using "cache").

Cheers,
Joscha
--

Wallace Wadge

unread,
Dec 1, 2013, 7:45:19 AM12/1/13
to play-fr...@googlegroups.com
Hi,

Allow me to plug a new connection pool to keep an eye out: https://github.com/brettwooldridge/HikariCP

Although it's still fairly new, the claimed benchmarks are pretty impressive with respect to BoneCP -- it's worth a look now that you're about to start a new dev cycle.

...and yes, I'm the BoneCP author, but this is open source so I'll happily encourage anything that looks better :-)

Cheers,
Wallace

Joe Zulli

unread,
Dec 2, 2013, 2:17:02 PM12/2/13
to play-fr...@googlegroups.com
Wow. Looks pretty awesome, although I suspect the fact that it requires Java 7 will be a deal breaker for the time being. 

Joe

virtualeyes

unread,
Dec 3, 2013, 2:45:56 PM12/3/13
to play-fr...@googlegroups.com
Shout out to WW for his awesome work on BoneCP, thanks!

virtualeyes

unread,
Dec 3, 2013, 2:51:06 PM12/3/13
to play-fr...@googlegroups.com
but going to give the plugged lib a deeper look, the claimed performance is pretty impressive to say the least (and on Java 7 in production as is)

Yvonnick Esnault

unread,
Dec 8, 2013, 5:11:28 PM12/8/13
to play-fr...@googlegroups.com
+1 !
Reply all
Reply to author
Forward
0 new messages