diff --git a/README.md b/README.md index b1211c9..8ac8aed 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ The restful-api plugin is designed to facilitate exposing RESTful API endpoints This plugin should be installed from the official Grails Central Plugin Repository ([http://grails.org/plugins/restful-api](http://grails.org/plugins/restful-api)) by setting the following dependency: ``` - compile ":restful-api:0.10.0" + compile ":restful-api:1.0.0" ``` _Note: It may sometimes be useful to install this plugin as a Git submodule instead (e.g., if you are actively contributing to the plugin). To add the plugin as a Git submodule under a 'plugins' directory:_ @@ -68,7 +68,7 @@ _Then add the in-place plugin definition to BuildConfig.groovy:_ _Adding the plugin this way will use the latest commit on the master branch at the time you ran the submodule command. If you want to use an official release instead, go to the plugin directory and checkout a specific version, e.g.:_ cd plugins/restful-api.git - git checkout 0.10.0 + git checkout 1.0.0 _Lastly, don't forget to go back to your project root and commit the change this will make to your git submodules file._ diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 8c10232..f6f535c 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,6 +1,7 @@ #1.0.0 * BREAKING CHANGE. The service layer contract and RestfulServiceAdapter interface have been changed so that all method signatures are consistent. The resource id will no longer be passed as a separate parameter to the update and delete methods, as it is also available via the params map. (Issue #8) If you have services that expect the id to be passed explicitly, you can continue to support this behavior with use of RestfulServiceAdapter that extracts the id from the params and passes it in as a separate argument. -* BREAKING CHANGE. The JSON and XML extractors will no longer parse dates in a lenient fashion by default. In previous releases, a date such as '1999-99-99' would have sucessfully parsed (lenient parsing by default). In 1.0.0, it will throw an exception, resulting in a 400 response. You can retain the lenient behavior if necessary by setting lenientDates = true on the extractor. See "Parsing Dates" in the README for details. +* BREAKING CHANGE. The JSON and XML extractors will no longer parse dates in a lenient fashion by default (Issue #17). In previous releases, a date such as '1999-99-99' would have sucessfully parsed (lenient parsing by default). In 1.0.0, it will throw an exception, resulting in a 400 response. You can retain the lenient behavior if necessary by setting lenientDates = true on the extractor. See "Parsing Dates" in the README for details. +* Fix eTag not being computed correctly for collections (Issue #15). #0.10.0 * BREAKING CHANGE. By default, on a DELETE, the controller will ignore the Content-Type and request body, and send an empty content map to the service. This is the opposite of previous behavior. The original behavior can be obtained with the bodyExtractedOnDelete setting. See the delete method documentation in the README. diff --git a/RestfulApiGrailsPlugin.groovy b/RestfulApiGrailsPlugin.groovy index 19d1911..389b9f6 100644 --- a/RestfulApiGrailsPlugin.groovy +++ b/RestfulApiGrailsPlugin.groovy @@ -24,7 +24,7 @@ import org.codehaus.groovy.grails.web.converters.configuration.DefaultConverterC class RestfulApiGrailsPlugin { - def version = "0.10.0" + def version = "1.0.0" def grailsVersion = "2.2.0 > *" def pluginExcludes = [ "grails-app/views/**",