0.7.0-beta17 release

8 views
Skip to first unread message

Julien Viet

unread,
Sep 18, 2013, 5:02:04 AM9/18/13
to ju...@googlegroups.com
Hi,

0.7.0-beta17 was just released with a few fixes for AMD and Webjars but most importantly the asset plugin refactor:

1/ a single kind of asset instead of stylesheets / scripts / declaredStylesheets / scripts

@Assets({@Asset("jquery.js"), @Asset("bootstrap.css")})

2/ cross asset dependencies

@Assets({@Asset("jquery.js"), @Asset("bootstrap.css", depends = "jquery.js")})

3/ decoupled asset declaration from asset serving : @Assets versus @WithAssets

@Assets(…)
@WithAssets("bootstrap")

4/ fine grained, flexible asset serving: @WithAssets on package or controller

@WithAssets("bootstrap")
public void MyController {
@View
@WithAssets("jquery.js)
public Response.Content index() { … }
}


You will need to update your application and adapt it to the new API in this release.

cheers

Julien
Reply all
Reply to author
Forward
0 new messages