Last updated by 3 years ago

Page: 1.3.5 Release Notes, Version:4

Grails 1.3.5 Release Notes

Grails 1.3.5 has not been released yet. This page is a placeholder.

Grails is a dynamic web application framework built on Java and Groovy, leveraging best of breed APIs from the Java EE sphere including Spring, Hibernate and SiteMesh. Grails brings to Java and Groovy developers the joys of convention-based rapid development while allowing them to leverage their existing knowledge and capitalize on the proven and performant APIs Java developers have been using for years.

Named Queries Now Support Sorting

The list method attached to named queries now support the same parameters as the static list method that is added to domain classes including "sort", "ordering", "ignoreCase" etc...

Person.recentPublications.list(sort: 'title', order: 'desc', ignoreCase: true)

New feature: view information about templates used to render a single url

GRAILS-5163

GSP templates are re-used in large web applications by using the g:render taglib. A lot of small templates can be used to render a single page. It might be hard to find out what gsp template actually renders the html seen in the result. The debug templates -feature adds html comments to the output. The comments contain debug information about gsp templates used to render the page.

Usage is simple: append "?debugTemplates" or "&debugTemplates" to the url and view the source of the result in your browser. "debugTemplates" is restricted to development mode. It won't work in production.

Here is an example of comments added by debugTemplates :

<!-- GSP #2 START template: /home/user/sampleapp/grails-app/views/_carousel.gsp precompiled: false lastmodified: 22.6.2010 10:45 -->
.
.
.
<!-- GSP #2 END template: /home/user/sampleapp/grails-app/views/_carousel.gsp rendering time: 115 ms -->

Each comment block has a unique id so that you can find the start & end of each template call.

GSP reloading is supported for precompiled GSPs now

GRAILS-5787

Details are in the Grails reference documentation (TODO: fix link to grails.org/doc/latest after it has been updated)

Property Override mechanism now compatible with reloading

GRAILS-5763

Any properties set/overridden using this mechanism will not be lost when making changes to beans.

This release includes previous fixes in 1.3.x release train: