Skip to content

Commit 4ea83ae

Browse files
committed
Prepare for 1.9.0 release
1 parent 2b21069 commit 4ea83ae

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The restful-api plugin is designed to facilitate exposing RESTful API endpoints
4848
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:
4949

5050
```
51-
compile ":restful-api:1.8.0"
51+
compile ":restful-api:1.9.0"
5252
```
5353

5454
_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:_
6868
_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.:_
6969

7070
cd plugins/restful-api.git
71-
git checkout 1.8.0
71+
git checkout 1.9.0
7272

7373
_Lastly, don't forget to go back to your project root and commit the change this will make to your git submodules file._
7474

RELEASE-NOTES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
#1.9.0
2+
* Modify RestfulApiController to invalidate the session after the completion of each REST method as part of an overall solution to an application performance issue when not caching the database connection.
3+
* Allow service name to be specified at the representation level - list requests only - so that a single service can be used for multiple resources when the underlying functionality is the same (ex: bulk list requests using alternate representations).
4+
15
#1.8.0
26
* Replace overrideVersionRangeMediaType=true setting with useHighestSemanticVersion=true to dynamically replace all versioned media types with the highest semantic version where the major version matches. This is to facilitate easier caller adoption of non-breaking API changes. This feature requires an ApiVersionParser to be configured.
37
* Add setting useAcceptHeaderAsMediaTypeHeader=true in Config.groovy to return the Accept request header as the X-Media-Type response header for some callers to delay transitioning to full semantic versioning of the X-Media-Type response header.

RestfulApiGrailsPlugin.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import org.codehaus.groovy.grails.web.converters.configuration.DefaultConverterC
2424

2525
class RestfulApiGrailsPlugin {
2626

27-
def version = "1.8.0"
27+
def version = "1.9.0"
2828
def grailsVersion = "2.2.0 > *"
2929
def pluginExcludes = [
3030
"grails-app/views/**",

0 commit comments

Comments
 (0)