Releases: grails/grails-core
Grails 3.1 Milestone 2
- Grails 3.1 Profile Features Video
- What's new in Grails 3.1 Guide
- User Guide
- Changelog
- Github commits
Release Notes
This release features flexible profile repository support. See the new section of Profiles
Grails 3.0.9
Grails 2.5.2
Grails 3.0.8
Release Notes
This release features improvements around Events, including the addition of firing GORM events consumable asynchronously.
Grails 3.1 Milestone 1
Release Notes
This release features the first version of the web-api profile for creating REST applications, with support for the following features:
- REST scaffolding
- JSON / Markup Views
- REST Reduced dependencies
This profile will evolve further in Grails 3.1. To create a new REST application run:
$ grails create-app myapp --profile=web-api
See interactive mode command completion for the new commands specific to the web-api profile.
Grails 3.0.7
Release Notes
This release features the first version of the web-api profile for creating REST applications. This profile will evolve further in Grails 3.1. To create a new REST application run:
$ grails create-app myapp --profile=web-api
See interactive mode command completion for the new commands specific to the web-api profile.
Grails 3.0.6
Release Notes
This release features the first version of the web-api profile for creating REST applications. This profile will evolve further in Grails 3.1. To create a new REST application run:
$ grails create-app myapp --profile=web-api
See interactive mode command completion for the new commands specific to the web-api profile.
Grails 3.0.5
Release Notes
This release features the first version of the web-api profile for creating REST applications. This profile will evolve further in Grails 3.1. To create a new REST application run:
$ grails create-app myapp --profile=web-api
See interactive mode command completion for the new commands specific to the web-api profile.
Grails 3.0.4
Update Notes
This release restores dynamic scaffolding as a feature. To use it requires the 3.1.0
version of the scaffolding plugin to be in compile
scope in build.gradle
:
compile "org.grails.plugins:scaffolding:3.1.0"
Groovy Upgrade
Grails 3.0.4 ships with Groovy 2.4.4 which includes some changes in behavior that may affect some applications. The following JIRA issues describe the changes in behavior.
Change In JSON Behavior
Prior to 2.5.1 something like JSON.parse("{'myList':null}").myList
would evaluate to JSONObject.Null
because of an implementation leak. In 2.5.1 this has been fixed to evaluate to null
.
Grails 2.5.1
Update Notes
Recommended plugin versions
If you are upgrading from previous versions and you use the hibernate4 plugin, you will need to update the version in BuildConfig:
runtime ':hibernate4:4.3.10' // or ':hibernate:3.6.10.19'
recommended tomcat, asset-pipeline, cache and scaffolding plugin versions for Grails 2.5.x :
build ':tomcat:7.0.55.3'
compile ':cache:1.1.8'
compile ':scaffolding:2.1.2'
compile ':asset-pipeline:2.1.5'
For plugins, the recommended release plugin version is 3.1.1:
plugins {
build(":release:3.1.1",
":rest-client-builder:2.1.1") {
export = false
}
}
If you are using MongoDb GORM, the recommended plugin version is 3.0.3
compile ':mongodb:3.0.3'
Groovy Upgrade
Grails 2.5.1 ships with Groovy 2.4.4 which includes some changes in behavior that may affect some applications. The following JIRA issues describe the changes in behavior.
Change In JSON Behavior
Prior to 2.5.1 something like JSON.parse("{'myList':null}").myList
would evaluate to JSONObject.Null
because of an implementation leak. In 2.5.1 this has been fixed to evaluate to null
.