Skip to content

Commit 1bf6d85

Browse files
committed
Release 5.7.0
1 parent 7a7f098 commit 1bf6d85

File tree

3 files changed

+19
-6
lines changed

3 files changed

+19
-6
lines changed

CHANGELOG.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
# Change Log
1+
# CHANGELOG
2+
3+
## [5.7.0](https://github.com/auth0/auth0-PHP/tree/5.7.0) (2019-12-09)
4+
[Full Changelog](https://github.com/auth0/auth0-PHP/compare/5.6.0...5.7.0)
5+
6+
**Added**
7+
- Add default scopes to Auth0 class [\#406](https://github.com/auth0/auth0-PHP/pull/406) ([joshcanhelp](https://github.com/joshcanhelp))
8+
- fix: add missing options for renewTokens method [\#405](https://github.com/auth0/auth0-PHP/pull/405) ([bkotrys](https://github.com/bkotrys))
9+
10+
**Deprecated**
11+
- Add deprecation notices for removals in v7 major release [\#407](https://github.com/auth0/auth0-PHP/pull/407) ([joshcanhelp](https://github.com/joshcanhelp))
12+
13+
**Fixed**
14+
- Fix mkdir race condition in FileSystemCacheHandler [\#375](https://github.com/auth0/auth0-PHP/pull/375) ([B-Galati](https://github.com/B-Galati))
215

316
## [5.6.0](https://github.com/auth0/auth0-PHP/tree/5.6.0) (2019-09-26)
417
[Full Changelog](https://github.com/auth0/auth0-PHP/compare/5.5.1...5.6.0)

src/API/Helpers/ApiClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class ApiClient
88
{
99

10-
const API_VERSION = '5.6.0';
10+
const API_VERSION = '5.7.0';
1111

1212
protected static $infoHeadersDataEnabled = true;
1313

tests/Auth0Test.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -268,15 +268,15 @@ public function testThatRenewTokensFailsIfNoAccessOrIdTokenReturned()
268268
*/
269269
public function testThatRenewTokensSucceeds()
270270
{
271-
$id_token = JWT::encode( ['sub' => uniqid()], '__test_client_secret__' );
271+
$id_token = JWT::encode( ['sub' => uniqid()], '__test_client_secret__' );
272272
$request_history = [];
273-
$mock = new MockHandler( [
273+
$mock = new MockHandler( [
274274
// Code exchange response.
275275
new Response( 200, self::$headers, '{"access_token":"1.2.3","refresh_token":"2.3.4"}' ),
276276
// Refresh token response.
277277
new Response( 200, self::$headers, '{"access_token":"__test_access_token__","id_token":"'.$id_token.'"}' ),
278278
] );
279-
$handler = HandlerStack::create($mock);
279+
$handler = HandlerStack::create($mock);
280280
$handler->push( Middleware::history($request_history) );
281281

282282
$add_config = [
@@ -295,7 +295,7 @@ public function testThatRenewTokensSucceeds()
295295
$this->assertEquals( $id_token, $auth0->getIdToken() );
296296

297297
$renew_request = $request_history[1]['request'];
298-
$renew_body = json_decode($renew_request->getBody(), true);
298+
$renew_body = json_decode($renew_request->getBody(), true);
299299
$this->assertEquals( 'openid', $renew_body['scope'] );
300300
$this->assertEquals( '__test_client_secret__', $renew_body['client_secret'] );
301301
$this->assertEquals( '__test_client_id__', $renew_body['client_id'] );

0 commit comments

Comments
 (0)