Skip to content

Commit 013ba4e

Browse files
committed
Release changes for v5.8.0
1 parent 79c9ec4 commit 013ba4e

3 files changed

Lines changed: 27 additions & 2 deletions

File tree

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.7.0
1+
5.8.0

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
# Change Log
22

3+
## [5.8.0](https://github.com/auth0/auth0-python/tree/5.8.0) (2026-06-29)
4+
[Full Changelog](https://github.com/auth0/auth0-python/compare/5.7.0...5.8.0)
5+
6+
### ⚠️ Breaking Changes
7+
8+
- **`clients.update()` social/FedCM request types changed**`native_social_login` and `fedcm_login` on `clients.update()` (`PATCH /api/v2/clients/{id}`) changed from `NativeSocialLogin` / `FedCmLogin` to `NativeSocialLoginPatch` / `FedCmLoginPatch`. `clients.create()` still uses the non-patch types, so create and update now require different types for the same logical field. Code passing the old types to `update()` must switch to the `*Patch` variants.
9+
- **`UserDateSchema` removed — user date fields now `datetime`** — the `UserDateSchema` type (`Union[str, Dict[str, Any]]`) is deleted and no longer exported from `auth0.management.types`. `created_at`, `updated_at`, `last_login`, `last_password_reset`, and `multifactor_last_modified` on `GetUserResponseContent`, `CreateUserResponseContent`, `UpdateUserResponseContent`, and `UserResponseSchema` are now `Optional[datetime.datetime]`. Code that read these as strings/dicts must update.
10+
11+
### Type Changes
12+
13+
- **Clients — FedCM / Google One Tap** — new `fedcm_login` (read: `FedCmLogin`/`FedCmLoginGoogle`; write: `FedCmLoginPatch`/`FedCmLoginGooglePatch`) on create/update/response, gating the Google One Tap prompt in New Universal Login via `fedcm_login.google.is_enabled`.
14+
- **Clients — Native Social Login patch types** — new `NativeSocialLoginPatch` wrapping `apple`/`facebook`/`google` patch variants (each `enabled: Optional[bool]`) for `clients.update()`.
15+
- **Clients — Token Vault Privileged Access** — new `token_vault_privileged_access` field on create/update/response, typed `ClientTokenVaultPrivilegedAccessWithPublicKey` (create) and `ClientTokenVaultPrivilegedAccessWithCredentialId` (update), each with `credentials` + `ip_allowlist`.
16+
- **Connections — Cross App Access** — new `cross_app_access_requesting_app` field (`CrossAppAccessRequestingApp{active: bool}`) on `connections.create()`/`update()`, OIDC/Okta request types, and all connection response types.
17+
- **Identity `user_id` widened to `Union[str, int]`** — on `UserIdentitySchema`, `UserIdentity`, and `DeleteUserIdentityResponseContentItem`, fixing Pydantic errors on numeric (e.g. GitHub) identity IDs.
18+
- **Email templates** — new `auth_email_by_code` value in `EmailTemplateNameEnum`.
19+
- **Attack Protection — Phone Provider Protection** — new `attack_protection.phone_provider_protection` sub-client with `get()` / `patch(type=...)` (`GET`/`PATCH /attack-protection/phone-provider-protection`); new `PhoneProviderProtectionBackoffStrategyEnum` (`exponential`/`none`) and response types.
20+
21+
### Bug Fixes
22+
23+
- **404 handling added across multiple raw clients**`keys.signing`, `organizations` (connections, enabled connections, members, member roles), `roles.permissions`, `self_service_profiles.sso_ticket`, `user_attribute_profiles`, and `users` (connected accounts, organizations, permissions, roles) now raise a typed `NotFoundError` on 404 instead of an unhandled parse error.
24+
- add `"CustomDomainHeader"` to `__all__`.
25+
- change `CustomDomainHeader` return type annotation from `Dict[str, Any]` to `RequestOptions`.
26+
27+
328
## [5.7.0](https://github.com/auth0/auth0-python/tree/5.7.0) (2026-06-10)
429
[Full Changelog](https://github.com/auth0/auth0-python/compare/5.6.0...5.7.0)
530

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "auth0-python"
33

44
[tool.poetry]
55
name = "auth0-python"
6-
version = "5.7.0"
6+
version = "5.8.0"
77
description = "Auth0 Python SDK - Management and Authentication APIs"
88
readme = "README.md"
99
authors = ["Auth0 <support@auth0.com>"]

0 commit comments

Comments
 (0)