[official] Play 2.1 Roadmap

4,565 views
Skip to first unread message

Guillaume Bort

unread,
Jul 13, 2012, 5:10:17 AM7/13/12
to play-fr...@googlegroups.com
Hi all,

We have started to discuss what we want to include into the next Play release.

Therefore, here is the plan for Play 2.1:

- Move to Scala 2.10 and sbt 0.12.
- Replace the current Play Promise Scala API by the standard Scala
Promise API (SIP-14).
- Introduce "Project templates" hosted on git (a la giter8) and "Scaffolding".
- Run tests in a forked JVM (to fully suppress PermGen memory leaks).
- Simplified configuration for thread pools (we have decided to use a
single akka system for the whole play environment).
- Scala JSON API improvement (with support for functional validation).
- Java Async API improvement (HTTP context propagation in asynchronous
callback, and sequential execution to avoid race conditions).
- Improve modularization (breaks the main play artifact into several
smaller optional ones).
- Compilation speed improvements (thanks to the new Scala 2.10
compiler and the sbt 0.12 experimental resident compiler).
- Upgrade all dependencies.

Most of this work is already done on master or on separate branches
that we will integrate into master during the following weeks.

If you think that we are missing some important points, please comment here.

Thanks.

--
Guillaume Bort, http://guillaume.bort.fr

Stefan

unread,
Jul 13, 2012, 5:56:23 AM7/13/12
to play-fr...@googlegroups.com
hey guillaume,

is it possible to add overall support for gzip (not only for assets with .gz extension)?
I found this ticket with low priority:
https://play.lighthouseapp.com/projects/82401-play-20/tickets/158

thx in advance
stefan

Jorge Aliss

unread,
Jul 13, 2012, 6:56:53 AM7/13/12
to play-fr...@googlegroups.com
Hi Guillaume,

It would be great if a fix for the problem with routes in submodules
is included too:
https://play.lighthouseapp.com/projects/82401/tickets/562.

Thanks!,
Jorge
> --
> You received this message because you are subscribed to the Google Groups
> "play-framework" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/play-framework/-/PtMhHjm1rcoJ.
>
> To post to this group, send email to play-fr...@googlegroups.com.
> To unsubscribe from this group, send email to
> play-framewor...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/play-framework?hl=en.

Manuel Bernhardt

unread,
Jul 13, 2012, 8:05:24 AM7/13/12
to play-fr...@googlegroups.com
Hi,

great roadmap, looks promising! Looking forward to the Scala 2.10 support!

I'm wondering, does "Improve modularization" also apply to improving
support for modularizing Play applications (modular routing, messages,
assets, ...)? That'd be a nice one to have.

Manuel

Thomas Koeppen

unread,
Jul 13, 2012, 8:23:38 AM7/13/12
to play-fr...@googlegroups.com
Guillaume,

great news.
Our favorite is "Compilation speed improvements".
Current speed is so annoying (play start a minute, views reload >>10 seconds in our app, on a 8G SSD Macbook).

Looking forward to start testing the earliest snapshots of the update to Scala 2.1.

--
Thomas
>> To post to this group, send email to play-framework@googlegroups.com.
>> To unsubscribe from this group, send email to
>> play-framework+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/play-framework?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups "play-framework" group.
> To post to this group, send email to play-framework@googlegroups.com.
> To unsubscribe from this group, send email to play-framework+unsubscribe@googlegroups.com.

Alex Jarvis

unread,
Jul 13, 2012, 8:48:55 AM7/13/12
to play-fr...@googlegroups.com
Thanks Guillaume, I'm sure that the compile time improvements will be happily received by everyone!

The ability to easily gzip any response would be neat - especially json :)

peter hausel

unread,
Jul 13, 2012, 10:43:31 AM7/13/12
to play-fr...@googlegroups.com
Hi Stefan, this https://github.com/playframework/Play20/pull/375 was just merged. HTH, Peter

Matt Raible

unread,
Jul 13, 2012, 10:54:37 AM7/13/12
to play-fr...@googlegroups.com
Are there any plans for more front-end optimization features? For example, combining assets (by type) into a single request?

Matthew Neeley

unread,
Jul 13, 2012, 10:55:22 AM7/13/12
to play-fr...@googlegroups.com
Play 2.1 sounds awesome! In addition, I'd really like to see
improvements in the javascript compilation pipeline, especially the
ability to process commonJS 'require' directives in unminified files.

Thanks for all your hard work.

-Matthew
> --
> You received this message because you are subscribed to the Google Groups
> "play-framework" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/play-framework/-/1MGSEzt0aKkJ.
>
> To post to this group, send email to play-fr...@googlegroups.com.
> To unsubscribe from this group, send email to
> play-framewor...@googlegroups.com.

peter hausel

unread,
Jul 13, 2012, 11:02:53 AM7/13/12
to play-fr...@googlegroups.com
I am not sure about the feature you mentioned but there are already a few optimizations available on master:
- incremental asset compilation
- support for native coffe script compiler

HTH,
Peter

peter hausel

unread,
Jul 13, 2012, 11:11:00 AM7/13/12
to play-fr...@googlegroups.com
@Matthew you might want to take a look at the discussion here: https://play.lighthouseapp.com/projects/82401/tickets/193-javascript-require-support-in-non-minimized-files
> To post to this group, send email to play-framework@googlegroups.com.
> To unsubscribe from this group, send email to
> play-framework+unsubscribe@googlegroups.com.

Maxime

unread,
Jul 13, 2012, 11:13:53 AM7/13/12
to play-fr...@googlegroups.com
I guess that you want to use unminified files on dev mode, then you'd better not have this files merged because if you have errors then you will not be able to retrieve the correct line in your console log. IMHO, the require.js script is better in dev mode, Closure in prod.

Vikram

unread,
Jul 13, 2012, 12:31:53 PM7/13/12
to play-fr...@googlegroups.com
We look forward to version 2.1. It will be a welcome upgrade. Any plans for SSL support in the future? Thanks.

Vikram 

Marcos Pereira

unread,
Jul 13, 2012, 3:55:51 PM7/13/12
to play-fr...@googlegroups.com
Guillaume, 

Thanks for share the roadmap. It looks great! Some questions:

- Do you guys have a release date for 2.1?
- Are there dependencies updates planned? I'm thinking mainly about Ebean and WebDriver (the current version has problems with Firefox 12+)
- Are there some plans to improve evolutions support (like migrate and rollback commands, per instance).

Kind Regards,
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.

soc

unread,
Jul 13, 2012, 4:20:10 PM7/13/12
to play-fr...@googlegroups.com

- Are there dependencies updates planned? I'm thinking mainly about Ebean and WebDriver (the current version has problems with Firefox 12+)
- Upgrade all dependencies.

:-)

Rintcius Blok

unread,
Jul 14, 2012, 8:21:50 AM7/14/12
to play-fr...@googlegroups.com
I am curious about the plans for evolutions in 2.1 with respect to modules.
It would be great if evolutions defined in nested modules could be reused properly.

Ben McCann

unread,
Jul 16, 2012, 1:43:21 AM7/16/12
to play-fr...@googlegroups.com
Great list of improvements for 2.1.  I'd also like to see "Support for optional trailing slash" and "Allow controllers to be instantiated using user provided instantiator", which are both among the top five most requested features for Play 2 according to Lighthouse.

laguiz

unread,
Jul 16, 2012, 8:11:28 AM7/16/12
to play-fr...@googlegroups.com
Hi,

Roadmap sounds great. Any news about SSL support? 

Max

Henry Story

unread,
Jul 16, 2012, 8:19:53 AM7/16/12
to play-fr...@googlegroups.com


On Monday, 16 July 2012 14:11:28 UTC+2, laguiz wrote:
Hi,

Roadmap sounds great. Any news about SSL support? 

Yes, it would be nice if these two patches got pulled in soon, so that they don't drift too much with the changes
proposed.


I am looking forward to the move to 2.10. When do you think there will be RC for that, so that we can move
our other libraries over to 2.10?

Guillaume Bort

unread,
Jul 16, 2012, 9:04:58 AM7/16/12
to play-fr...@googlegroups.com
Yes SSL should be integrated in this release. I forgotten to mention it.
> --
> You received this message because you are subscribed to the Google Groups
> "play-framework" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/play-framework/-/WLPxSLkN2eEJ.
>
> To post to this group, send email to play-fr...@googlegroups.com.
> To unsubscribe from this group, send email to
> play-framewor...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/play-framework?hl=en.



peter hausel

unread,
Jul 16, 2012, 9:31:10 AM7/16/12
to play-fr...@googlegroups.com
I moved the list to a wiki page now that it was announced:

Thanks,
Peter
> To post to this group, send email to play-framework@googlegroups.com.
> To unsubscribe from this group, send email to

laguiz

unread,
Jul 16, 2012, 9:43:24 AM7/16/12
to play-fr...@googlegroups.com
Yay :-)

Max

Ben McCann

unread,
Jul 16, 2012, 12:42:26 PM7/16/12
to play-fr...@googlegroups.com
Alan, Play uses the Jackson library, which supports numerous serialization options including one very similar to what you mentioned.  I would like to see Play upgraded to use Jackson 2 once the next version of Jerkson is released which supports that (might also be worth considering whether Jackon's scala library makes more sense than Jerkson).


On Mon, Jul 16, 2012 at 9:22 AM, Alan Wong <alan.k...@gmail.com> wrote:
What would the JSON improvements look like?

With respect to the serialization of Scala objects into JSON, it would be very cool
if the API had feel of the GSON library where you can serialize only the objects
not marked with @transient while wiring in custom serializers for libraries such as
Joda time.

Sorry if these questions sound daft as I'm a Scala/Play newbie.



On Friday, July 13, 2012 5:10:17 AM UTC-4, Guillaume Bort wrote:
- Scala JSON API improvement (with support for functional validation).

--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/yP8-2AhgtvwJ.

To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.

Stefan

unread,
Jul 19, 2012, 5:47:25 PM7/19/12
to play-fr...@googlegroups.com
thanks peter!

works nice for normal requests, but this doesn't affects assets requests. Those are sent without gzip.
Is there a way to enable gzip for all requests, so assets are compressed too?

thx stefan

Ricky Elrod

unread,
Aug 15, 2012, 9:49:14 AM8/15/12
to play-fr...@googlegroups.com
It would be really nice to see CSRF protection added...
https://play.lighthouseapp.com/projects/82401/tickets/196-csrf-protection-for-postput-delete-requests

Also, is there any plan to default to Slick instead of Anorm at some point in the future?

Thanks,
-re


On Friday, July 13, 2012 5:10:17 AM UTC-4, Guillaume Bort wrote:

Ricky Elrod

unread,
Aug 15, 2012, 9:50:12 AM8/15/12
to play-fr...@googlegroups.com
Whoops, meant to link to the ticket that was marked a duplicate of:
https://play.lighthouseapp.com/projects/82401/tickets/169-authenticity-token

-re

hyder

unread,
Aug 17, 2012, 10:35:06 AM8/17/12
to play-fr...@googlegroups.com
Hi Guillaume,

The list looks great and I'm particularly looking forward to the compilation speed.

I know this has been debated before in other threads but may I also suggest an authentication package as part of the framework that is possible to extend and customize without having to rewrite this from scratch? I believe this will greatly improve productivity and security.

Keep up the great work.

-ali

Ben McCann

unread,
Aug 17, 2012, 12:28:04 PM8/17/12
to play-fr...@googlegroups.com
Speaking of compilation speed, I saw this post on the sbt mailing list yesterday.  Perhaps it's an issue that can be fixed to make compilations more incremental:


--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/2b3JczH3vRMJ.

To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.

Eric Jain

unread,
Aug 17, 2012, 1:13:22 PM8/17/12
to play-fr...@googlegroups.com
Does https://play.lighthouseapp.com/projects/82401-play-20/milestones/current reflect the current state (11 tickets remaining for 2.1)?

Henry Story

unread,
Aug 17, 2012, 11:07:40 AM8/17/12
to play-fr...@googlegroups.com
On 17 Aug 2012, at 16:35, hyder <lmuk...@gmail.com> wrote:

Hi Guillaume,

The list looks great and I'm particularly looking forward to the compilation speed.

I know this has been debated before in other threads but may I also suggest an authentication package as part of the framework that is possible to extend and customize without having to rewrite this from scratch? I believe this will greatly improve productivity and security.

Perhaps a few of us should get together on this. I have been working on the SSL side, but I think I can extend that work then with help of others to pretty much the whole spectrum. (I am off cycling to a Philosophy conference in the center of France, so I won't be that responsive in the next week)


--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/2b3JczH3vRMJ.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.

Social Web Architect
http://bblfish.net/

peter hausel

unread,
Aug 17, 2012, 3:57:42 PM8/17/12
to play-fr...@googlegroups.com
No. Lots of features from the wiki do not have corresponding tickets yet.

Asif Momin

unread,
Aug 24, 2012, 2:12:44 AM8/24/12
to play-fr...@googlegroups.com
Hey Guillaume,

The play evolutions doesn't work on Microsoft sql server.

workaround is to create the play_evolutions table manually.
can this be fixed in next version of 2.0 or 2.1.


Thanks,
Asif

Ben McCann

unread,
Aug 30, 2012, 1:12:47 PM8/30/12
to play-fr...@googlegroups.com
As far as JSON improvements go, I would suggest using the Jackson scala module instead of Jerkson.  Jerkson is not well maintained where as Jackson is widely adopted and bugs actually get fixed.
Reply all
Reply to author
Forward
0 new messages