Skip to content

Commit

Permalink
Prepare for 1.9.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
bbellsct committed Sep 17, 2019
1 parent 2b21069 commit 4ea83ae
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
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:1.8.0"
compile ":restful-api:1.9.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 1.8.0
git checkout 1.9.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
4 changes: 4 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#1.9.0
* 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.
* 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).

#1.8.0
* 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.
* 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.
Expand Down
2 changes: 1 addition & 1 deletion RestfulApiGrailsPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import org.codehaus.groovy.grails.web.converters.configuration.DefaultConverterC

class RestfulApiGrailsPlugin {

def version = "1.8.0"
def version = "1.9.0"
def grailsVersion = "2.2.0 > *"
def pluginExcludes = [
"grails-app/views/**",
Expand Down

0 comments on commit 4ea83ae

Please sign in to comment.