Skip to content

Commit

Permalink
Update release to 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sriddell committed Sep 26, 2014
1 parent 427a8da commit 639057f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -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:_
Expand All @@ -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._

Expand Down
3 changes: 2 additions & 1 deletion 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.
Expand Down
2 changes: 1 addition & 1 deletion RestfulApiGrailsPlugin.groovy
Expand Up @@ -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/**",
Expand Down

0 comments on commit 639057f

Please sign in to comment.