diff --git a/.version b/.version index b7c75422..8a7e834d 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -5.6.1 +6.0.0-beta.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 96f8d652..91cb415b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,29 @@ # Change Log +## [6.0.0-beta.0](https://github.com/auth0/wp-auth0/tree/6.0.0-beta.0) (2026-08-07) +[Full Changelog](https://github.com/auth0/wp-auth0/compare/5.6.1...6.0.0-beta.0) + +This is a pre-release for the upcoming 6.x major. It moves the plugin onto auth0-php v9, which rewrites the Management API. The authentication flow is unchanged, and the migration is confined to the Management API surface used by background user sync. + +**Breaking Changes** + +- Bumped the `auth0/auth0-php` dependency from `^8.19` to `^9.0`, which rewrites the Management API +- Raised the minimum PHP version from `8.1` to `8.2` +- `getSdk()->management()` is non-functional with auth0-php v9 and throws a `TypeError`. Use the new `getManagement()` accessor instead + +**Added** + +- `Plugin::getManagement()` accessor returning a v9 `ManagementClient` built from the existing plugin configuration, with automatic client credentials token management and caching +- `UPGRADING.md` 5.x to 6.x migration guide + +**Fixed** + +- Background user sync now retries transient Management API failures (429, 5xx) on the next cron pass instead of dropping the queued event + +**Unchanged** + +- The authentication flow (login, logout, callback, session handling) behaves exactly as in 5.x + ## [5.6.1](https://github.com/auth0/wp-auth0/tree/5.6.1) (2026-05-05) ### Fixed diff --git a/wpAuth0.php b/wpAuth0.php index 79024e30..f225cb09 100644 --- a/wpAuth0.php +++ b/wpAuth0.php @@ -4,10 +4,10 @@ * Plugin Name: Auth0 * Plugin URL: https://github.com/auth0/wordpress * Description: Supercharge your WordPress website with Auth0. Improve account security, add support for multifactor, enable social, passwordless and enterprise connections, and much more. - * Version: 5.6.1 + * Version: 6.0.0-beta.0 * Requires at least: 6.0 * Tested up to: 7.0 - * Stable tag: 5.6.1 + * Stable tag: 6.0.0-beta.0 * Requires PHP: 8.2 * Author: Auth0 * Author URI: https://auth0.com @@ -22,7 +22,7 @@ use Auth0\SDK\Auth0 as Sdk; use Auth0\SDK\Configuration\SdkConfiguration as Configuration; -define('WP_AUTH0_VERSION', '5.6.1'); +define('WP_AUTH0_VERSION', '6.0.0-beta.0'); // Require loading through WordPress if (! defined('ABSPATH')) {