Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Release v5.0.0 🎉
Overview
This PR prepares the stable v5.0.0 release of the Auth0 Python SDK - a complete rewrite with significant improvements and breaking changes from v4.x.
Changes in this PR
.versionfile from5.0.0b0to5.0.0pyproject.tomlpackage version to5.0.0CHANGELOG.mdREADME.mdwith v5.0.0 installation instructionsWhat's New in v5.0.0
This is a complete rewrite of the Auth0 Python SDK with significant breaking changes from v4.x. Users will need to update their code when migrating from v4.x to v5.0.0.
Added Features
SyncPagerandAsyncPagerclasses for easy iteration over paginated resultsAsyncManagementClientKey Breaking Changes
from auth0.management import Auth0tofrom auth0.management import ManagementClientAuth0(domain, management_token)toManagementClient(domain, client_id, client_secret)with automatic token management.model_dump()to convert back to dict)client.users.list()) to hierarchical where applicableper_page, others usetakeAuth0ErrortoApiErrorbase classMigration Example
Before (v4):
After (v5):
Important Notes
authenticationpackage is NOT affected by these changes. Authentication APIs remain the same between v4 and v5.Testing