|
1 | 1 | # CHANGELOG
|
2 | 2 |
|
| 3 | +## [8.0.0-BETA3](https://github.com/auth0/auth0-PHP/tree/8.0.0-BETA3) (2021-09-03) |
| 4 | + |
| 5 | +[Full Changelog](https://github.com/auth0/auth0-PHP/compare/7.9.0...8.0.0-BETA3) |
| 6 | + |
| 7 | +**BEFORE YOU UPGRADE** |
| 8 | + |
| 9 | +- This is a major release that includes breaking changes. Please see [UPGRADE.md](UPGRADE.md) before upgrading. This release will require changes to your application. |
| 10 | +- The SDK no longer specifically relies on Guzzle for network requests. Options for supplying your libraries of choice have been added through [PSR-18](https://www.php-fig.org/psr/psr-18/) and [PSR-17](https://www.php-fig.org/psr/psr-17/) configuration options. |
| 11 | +- PHP 7.4 is now the minimum supported PHP version, but we encourage using PHP 8.0. PHP 7.4 will be the last supported 7.x release. This library follows [the official support schedule for PHP](https://www.php.net/supported-versions.php). |
| 12 | + |
| 13 | +**Changes Since BETA2** |
| 14 | + |
| 15 | +- Cookie namespace prefixes are now configurable from `SdkConfiguration` interface. [#534](https://github.com/auth0/auth0-PHP/pull/534) ([Nyholm](https://github.com/Nyholm)) |
| 16 | +- Improvements to and standardization of variable filtering rules. [#535](https://github.com/auth0/auth0-PHP/pull/535) ([evansims](https://github.com/evansims)) |
| 17 | +- Fixed Management API calls incorrectly converted child arrays into objects. [#541](https://github.com/auth0/auth0-PHP/pull/541) ([evansims](https://github.com/evansims)) |
| 18 | +- Fixed explicit `SdkConfiguration` object reference passing on arguments. [#548](https://github.com/auth0/auth0-PHP/pull/548) ([Nyholm](https://github.com/Nyholm)) |
| 19 | +- Performance improvements to session/cookie transient storage. [#542](https://github.com/auth0/auth0-PHP/pull/542) ([evansims](https://github.com/evansims)) |
| 20 | +- Add new `MemoryStore` storage medium for tests. [#544](https://github.com/auth0/auth0-PHP/pull/544) ([Nyholm](https://github.com/Nyholm)) |
| 21 | +- Add new `Psr6Store` storage medium. [#549](https://github.com/auth0/auth0-PHP/pull/549) ([Nyholm](https://github.com/Nyholm)) |
| 22 | +- Delay restoring session state (no longer occurs during constructor initialization; now just-in-time.) [#550](https://github.com/auth0/auth0-PHP/pull/550) ([evansims](https://github.com/evansims)) |
| 23 | +- Improve support for custom domains with new `customDomain` option in `SdkConfiguration` [#554](https://github.com/auth0/auth0-PHP/pull/554) ([evansims](https://github.com/evansims)) |
| 24 | +- Support for Actions API endpoints in Management SDK [#551](https://github.com/auth0/auth0-PHP/pull/551) ([evansims](https://github.com/evansims)) |
| 25 | +- Expand test coverage to 100% and transition to PEST test framework [#552](https://github.com/auth0/auth0-PHP/pull/552) ([evansims](https://github.com/evansims)) |
| 26 | + |
| 27 | +**8.0 Highlights** |
| 28 | + |
| 29 | +- Updated SDK API for more intuitive use and improved usability. Now follows fluent interface principles. |
| 30 | +- Updated SDK API designed with PHP 8.0's named arguments as the encouraged interface method. |
| 31 | +- New configuration object, SdkConfiguration, allows for dynamic changes within your application. |
| 32 | +- Updated PHP language support, including typed properties and return types, are now used throughout the SDK. |
| 33 | +- Added support for the following PHP-FIG standards interfaces: |
| 34 | + - [PSR-6](https://www.php-fig.org/psr/psr-6/) caches are now used for caching JWKs and Management API tokens. |
| 35 | + - [PSR-7](https://www.php-fig.org/psr/psr-7/) HTTP messages are now returned by methods that initiate network requests. |
| 36 | + - [PSR-14](https://www.php-fig.org/psr/psr-14/) events are now raised, allowing for deeper integration into the SDK's behavior. |
| 37 | + - [PSR-17](https://www.php-fig.org/psr/psr-17/) HTTP factories are now used during network requests for generating PSR-7 messages. |
| 38 | + - [PSR-18](https://www.php-fig.org/psr/psr-18/) HTTP clients are now supported, allowing you to choose your network client. |
| 39 | +- Improved Token handling system. |
| 40 | +- Encrypted session cookies, with cookies being the default session handler. PHP sessions may be phased out in a future release. |
| 41 | +- New Management API auto-pagination helper for iterating through API results. |
| 42 | +- [PKCE](https://auth0.com/docs/flows/call-your-api-using-the-authorization-code-flow-with-pkce) is now enabled by default. |
| 43 | + |
| 44 | +For a complete overview of API changes, please see [UPGRADE.md](UPGRADE.md). |
| 45 | + |
| 46 | +For guidance on using the new configuration interface or SDK API, please see [README.md](README.md). |
| 47 | + |
3 | 48 | ## [8.0.0-BETA2](https://github.com/auth0/auth0-PHP/tree/8.0.0-BETA2) (2021-08-06)
|
4 | 49 |
|
5 | 50 | [Full Changelog](https://github.com/auth0/auth0-PHP/compare/7.9.0...8.0.0-BETA2)
|
|
0 commit comments