CHANGES.md (2834B)
1 # Release History 2 3 ## 0.5.2 4 * Implement support for scope being returnd as array (issue #41) 5 6 ## 0.5.1 7 * Implement 'prefix' for database as second parameter to PdoStorage() to 8 allow for table prefixes (issue #39) 9 * Implement support for 'exires_in' return value as string from OAuth server 10 (issue #40) 11 12 ## 0.5.0 13 * Rename Composer package to fkooman/oauth-client 14 15 ## 0.4.0 16 * **BREAKS API** 17 ** Context now has `array` as second parameter instead of `Scope`. 18 * Remove embedded `Scope` class and use php-oauth-lib-common instead 19 * Move exceptions to fkooman\OAuth\Client\Exception namespace 20 * Support requesting scopes using comma separation instead of space separation 21 to satisfy GitHub spec violation (see README) 22 * Add GitHubClientConfig 23 24 ## 0.3.3 25 * Fix bug with GitHub by setting `Accept` header to `application/json` 26 27 ## 0.3.2 28 * Add support for default_server_scope ClientConfig parameter for Nationbuilder 29 (issue #20) 30 * Add support for use_redirect_uri_on_refresh_token_request ClientConfig 31 parameter for Nationbuilder (issue #20) 32 * Delete old refresh_token if a new one is obtained on getting a new 33 access_token (issue #20) 34 35 ## 0.3.1 36 * Update README with information on how to do (token request) logging 37 * Support OAuth 2.0 AS which provides an invalid `expires_in` value (issue #17) 38 * Document all other service specific hacks 39 40 ## 0.3.0 41 * **Breaks API!**, see README.md and `example` directory, all applications need 42 to be updated! 43 * Introduce abstraction for scopes using a Scope class. This Scope class also 44 needs to be used now for Api calls to indicate the requested Scope 45 * It is possible now to request no scope, but use the one the server returned 46 (issue #10) 47 * Add missing TokenResponseException class (issue #11) 48 * Add support for default token type if the OAuth 2.0 AS does not return one, 49 this violates the specification, but apparently this is used by SalesForce 50 (issue #13) 51 * Fix dealing with expired tokens: the token was removed, but the refresh 52 token was not checked 53 54 ## 0.2.0 55 * **Breaks API!**, see README.md and `example` directory, all applications need 56 to be updated! 57 * Major cleanup of `ClientConfig`, addition of `GoogleClientConfig` 58 * Cleanup of `Api` and `Callback` classes, move required dependencies to 59 constructor 60 * Introduce `AuthorizeException` for `Callback` class, thrown when the 61 authorization server returns a (non-fatal) error 62 * Fix the examples in `example` directory 63 * Some PSR2 code style fixes 64 65 ## 0.1.1 66 * Fix PDO token storage backend again 67 * Update README to show how to use PDO 68 * Refactor AccessToken, RefreshToken, State and Token and make them check 69 more 70 * Add some Google helpers to the code 71 * Make SessionStorage way more reliable so it works with multiple users 72 and client_config_ids in the same session storage 73 74 ## 0.1.0 75 * Initial release