You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -11,10 +11,16 @@ Check our docs page to get a complete guide on how to install it in an existing
11
11
12
12
## News
13
13
14
-
The version 1.x of the PHP SDK now works with the Auth API v2 which adds lots of new [features and changes](https://auth0.com/docs/apiv2Changes).
14
+
- The version 2.x of the PHP SDK was updated to work with Guzzle 6.1. For compatibility fith Guzzle 5, you should use 1.x branch.
15
+
- The version 1.x of the PHP SDK now works with the Auth API v2 which adds lots of new [features and changes](https://auth0.com/docs/apiv2Changes).
15
16
16
17
### Backward compatibility breaks
17
18
19
+
2.x
20
+
- Session storage now returns null (and null is expected by the sdk) if there is no info stored (this change was made since false is a valid value to be stored in session).
21
+
- Guzzle 6.1 required
22
+
23
+
1.x
18
24
- Now, all the SDK is under the namespace `\Auth0\SDK`
19
25
- The exceptions were moved to the namespace `\Auth0\SDK\Exceptions`
20
26
- The method `Auth0::getUserInfo` is deprecated and soon to be removed. We encourage to use `Auth0::getUser` to enforce the adoption of the API v2
@@ -55,6 +61,11 @@ $ composer install
55
61
$ php -S localhost:3000
56
62
```
57
63
64
+
## Migration guide from 1.x
65
+
66
+
1. If you use Guzzle (or some other dependency does), you will need to update it to work with Guzzle 6.1.
67
+
2.
68
+
58
69
## Migration guide from 0.6.6
59
70
60
71
1. First is important to read the [API v2 changes document](https://auth0.com/docs/apiv2Changes) to catch up the latest changes to the API.
0 commit comments