Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

Commit

Permalink
Version bumped to 2.3.0 + doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
benorama committed May 4, 2015
1 parent b7e9e95 commit bff93c6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 15 deletions.
2 changes: 1 addition & 1 deletion FacebookSdkGrailsPlugin.groovy
Expand Up @@ -3,7 +3,7 @@ import org.springframework.aop.scope.ScopedProxyFactoryBean

class FacebookSdkGrailsPlugin {

def version = "2.2.2"
def version = "2.3.0"
def grailsVersion = "2.0 > *"

def author = "Benoit Hediard"
Expand Down
11 changes: 5 additions & 6 deletions README.md
Expand Up @@ -37,7 +37,7 @@ grails.project.dependency.resolution = {
}
plugins {
//here go your plugin dependencies
runtime ':facebook-sdk:2.2.2'
runtime ':facebook-sdk:2.3.0'
}
}
```
Expand All @@ -55,7 +55,7 @@ grails.plugin.facebooksdk.app.permissions = {APP_PERMISSIONS} // Ex. ['email','u
grails.plugin.facebooksdk.app.secret = {APP_SECRET}
```

By default, latest Graph API v2.2 will be used.
By default, latest Graph API v2.3 will be used.
You can override default settings with `apiVersion` setting:

```groovy
Expand Down Expand Up @@ -89,11 +89,10 @@ Project documentation is located here :

# Latest releases

WARNING: Since V2.2.0, Facebook Graph API v2.2 will be used. Make sure that your app is compatible with [v2.2 upgrade](https://developers.facebook.com/docs/apps/upgrading).
You have up to april 30th 2015 to migrate old app using API v1.0.
Use `grails.plugin.facebooksdk.apiVersion = v1.0` to override default behaviour.
`FacebookGraphClient` constructor has also changed with a new `apiVersion` (some refactoring might be required if you use constructor extra parameters such as timeout or proxy).
WARNING: Since V2.3.0, Facebook Graph API v2.3 will be used. Make sure that your app is compatible with [v2.3 upgrade](https://developers.facebook.com/docs/apps/upgrading).
Use `grails.plugin.facebooksdk.apiVersion = v2.2` to override default behaviour.

* 2015-05-04 **V2.3.0** : v2.3 Facebook Graph API support (from now on, used by default) + RestFB dependency updated to 1.10.1
* 2015-02-16 **V2.2.2** : bug fix for apiVersion in FacebookGraphClient
* 2015-01-08 **V2.2.1** : minor bug fix for token for business parsing
* 2014-11-16 **V2.2.0** : v2.2 Facebook Graph API support (from now on, used by default) + RestFB dependency updated to 1.7.0
Expand Down
6 changes: 3 additions & 3 deletions src/docs/guide/configuration.gdoc
Expand Up @@ -14,7 +14,7 @@ grails.project.dependency.resolution = {
}
plugins {
//here go your plugin dependencies
runtime ':facebook-sdk:2.2.2'
runtime ':facebook-sdk:2.3.0'
}
}
{code}
Expand Down Expand Up @@ -124,11 +124,11 @@ If no app is found based on @app_id@ params and controller name, default single

h3. Graph API Version

By default, latest Graph API v2.2 will be used.
By default, latest Graph API v2.3 will be used.
You can override default settings with @apiVersion@ config parameter :

{code}
grails.plugin.facebooksdk.apiVersion = 'v1.0'
grails.plugin.facebooksdk.apiVersion = 'v2.2'
{code}


Expand Down
8 changes: 3 additions & 5 deletions src/docs/guide/introduction.gdoc
Expand Up @@ -16,16 +16,14 @@ It supports the latest *OAuth2.0 authentication* (required since October 1st 201
h3. Latest releases

{warning}
WARNING: Since V2.2.0, Facebook Graph API v2.2 will be used. Make sure that your app is compatible with "v2.2 upgrade":https://developers.facebook.com/docs/apps/upgrading .
You have up to april 30th 2015 to migrate old app using API v1.0.
WARNING: Since V2.3.0, Facebook Graph API v2.3 will be used. Make sure that your app is compatible with "v2.3 upgrade":https://developers.facebook.com/docs/apps/upgrading .

Use @grails.plugin.facebooksdk.apiVersion = 'v1.0'@ to override default behaviour.

@FacebookGraphClient@ constructor has also changed with a new @apiVersion@ (some refactoring might be required if you use constructor extra parameters such as timeout or proxy).
Use @grails.plugin.facebooksdk.apiVersion = 'v2.2'@ to override default behaviour.

Please check [@FacebookGraphClient@|guide:facebookGraphClient] doc for more info.
{warning}

* 2015-05-04 *V2.3.0* : v2.3 Facebook Graph API support (from now on, used by default) + RestFB dependency updated to 1.10.1
* 2015-01-08 *V2.2.1* : minor bug fix for token for business parsing
* 2014-11-16 *V2.2.0* : v2.2 Facebook Graph API support (from now on, used by default) + RestFB dependency updated to 1.7.0
* 2014-10-08 *V2.1.0* : v2.1 Facebook Graph API support + RestFB dependency updated to 1.6.16
Expand Down

0 comments on commit bff93c6

Please sign in to comment.