Skip to content

Releases: auth0/auth0-PHP

8.3.2

19 Oct 01:37
e35111c
Compare
Choose a tag to compare

Fixed

  • Fix PHP 8.0+ SdkConfiguration named arguments usage #654 (evansims)

8.3.1

27 Sep 09:10
848c702
Compare
Choose a tag to compare

Full Changelog

Changed

  • [SDK-3647] Add PHP 8.2.0-dev to test matrix #650 (evansims)

Fixed

  • [SDK-3646] Reliability and performance improvements to CookieStore #649 (evansims)

Note: Previously in some circumstances, cookie secrets were not always being required in strategies where they should have been required. This has been resolved as part of the fixes in this release. If you are suddenly prompted to configure a cookie secret in an app that doesn't use sessions/cookies, please ensure you are using the correct strategy: https://github.com/auth0/auth0-PHP/tree/8.3.1#configuration-strategies

8.3.0

22 Sep 13:23
d30526e
Compare
Choose a tag to compare

Full Changelog

Added

  • Add PSR-14 Event Dispatcher, for highly customizable session storage mediums #646 (evansims)

Changed

  • Treat passing an empty string to SdkConfiguration as the default undefined value type of NULL #643 (evansims)
  • Enable configuration of SessionStore and CookieStore samesite property #645 (evansims)
  • Add hardcoded debugging flag to CookieStore to disable encryption of session cookies #644 (evansims)
  • Update getRequestParameter() filter to use FILTER_SANITIZE_FULL_SPECIAL_CHARS and allow passing extra filter options #642 (evansims)
  • Defer/batch "Set-Cookie" headers at login() for transient cookies, and clear() #641 (evansims)

8.2.1

07 Jun 14:13
c6a628f
Compare
Choose a tag to compare

Full Changelog

Fixed

  • Fixed an issue in Auth0\SDK\Configuration\SdkConfiguration where customDomain was not properly formatted in some configurations, leading to inconsistencies in certain SDK functions, such as Token validation. customDomain is now formatted identically to domain. #633 (evansims)

Closed Issues

8.2.0

26 Apr 13:37
610873f
Compare
Choose a tag to compare

Full Changelog

Many thanks to our community contributors for this release: elbebass, fullstackfool, jeromefitzpatrick, marko-ilic and sepiariver.

Added

  • Add bearer token extraction helper, Auth0\SDK\Auth0::getBearerToken() #620 (evansims)
  • Add configuration strategy constants, e.g. Auth0\SDK\Configuration\SdkConfiguration::STRATEGY_API #619 (evansims)

Changed

  • Throw Auth0\SDK\Exception\InvalidTokenException on JsonException #614 (marko-ilic)
  • Throw Auth0\SDK\Exception\NetworkException when Management API credential exchange fails #608 (sepiariver)

Documentation Contributions

Other Improvements

  • Relax pestphp/pest-plugin-parallel dev dependency from ^0.2 to ^0.2 || ^1.0 #617
  • Bump firebase/php-jwt dev dependency to ^6.0 #613 (evansims)
  • Add Semgrep to continous integration test suite #616 (evansims)

8.1.0

17 Feb 18:46
1ea5be4
Compare
Choose a tag to compare

Full Changelog

Added

8.0.6

25 Jan 21:03
21abc95
Compare
Choose a tag to compare

Full Changelog

Fixed

  • Auth0->renew(): now updates additional session details after a successful token refresh #593 (evansims)

8.0.5

05 Jan 20:15
5350fb9
Compare
Choose a tag to compare

Full Changelog

Fixed

  • Auth0->exchange(): optimize setcookie() calls #591 (Nebual)

8.0.4

13 Dec 19:28
8c4aba4
Compare
Choose a tag to compare

Full Changelog

Fixed

  • Require domain configuration for management strategy #589 (evansims)

Documentation

  • Update UPGRADE.md with additional notes about Auth0::login() changes from v7. #585 (BGehrels)
  • Update UPGRADE.md with additional notes about Auth0::exchange() changes from v7. #584 (BGehrels)

Tests

8.0.3

02 Nov 14:26
3749db6
Compare
Choose a tag to compare

Full Changelog

Changes