From 4112913813c2310fa9e4974953c38fde1fea9131 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Fri, 10 May 2013 17:58:57 -0700 Subject: [PATCH 1/2] Version bump --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 84bb7c76..2d37cdd9 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "league/oauth2-server", "description": "A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.", - "version": "2.0.5", + "version": "2.1", "homepage": "https://github.com/php-loep/oauth2-server", "license": "MIT", "require": { @@ -45,4 +45,4 @@ "suggest": { "zetacomponents/database": "Allows use of the build in PDO storage classes" } -} +} \ No newline at end of file From 9ec5442f9048fd784284fbe7f1fe57c0407e9fb3 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Fri, 10 May 2013 17:59:08 -0700 Subject: [PATCH 2/2] Updated changelog --- CHANGELOG.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4310c183..f18643fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## 2.1 (released 2013-05-10) + +* Moved zetacomponents/database to "suggest" in composer.json. If you rely on this feature you now need to include " zetacomponents/database" into "require" key in your own composer.json. (Issue #51) +* New method in Refresh grant called `rotateRefreshTokens()`. Pass in `true` to issue a new refresh token each time an access token is refreshed. This parameter needs to be set to true in order to request reduced scopes with the new access token. (Issue #47) +* Rename `key` column in oauth_scopes table to `scope` as `key` is a reserved SQL word. (Issue #45) +* The `scope` parameter is no longer required by default as per the RFC. (Issue #43) +* You can now set multiple default scopes by passing an array into `setDefaultScope()`. (Issue #42) +* The password and client credentials grants now allow for multiple sessions per user. (Issue #32) +* Scopes associated to authorization codes are not held in their own table (Issue #44) +* Database schema updates. + ## 2.0.5 (released 2013-05-09) * Fixed `oauth_session_token_scopes` table primary key