Release PR for v6.0.0#875
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Changes
Note: As this is a major release it is recommended to understand the
Breaking Changessection before upgrading. The UPGRADING.md contains details on version upgrade.ConnectionAttributeIdentifierremoved (no compatibility alias); split into three types. Theidentifierfield on each attribute now points to its own type:EmailAttribute.identifier:EmailAttributeIdentifier—{active?, default_method?: DefaultMethodEmailIdentifierEnum}(same shape as the old type; use this as the drop-in replacement).PhoneAttribute.identifier:PhoneAttributeIdentifier—{active?, default_method?: DefaultMethodPhoneNumberIdentifierEnum}.UsernameAttribute.identifier:UsernameAttributeIdentifier—{active?}(nodefault_method).PhoneProviderProtectionBackoffStrategyEnum:Literal["exponential", "none"]→Literal["exponential", "default"]. Replace the value"none"with"default".ListRolesOffsetPaginatedResponseContent.start/.limit/.total:Optional[float] = None→ requiredfloat. Deserializing a role-list response missing any of these now raisespydantic.ValidationError.users.federated_connections_tokensetsclient and itslist/deletemethods are removed, along with theFederatedConnectionTokenSetandConnectionFederatedConnectionsAccessTokenstypes.federated_connections_access_tokensfield removed — this optional field is no longer present onConnectionOptionsAzureAd,ConnectionOptionsCommonOidc,ConnectionOptionsGoogleApps,ConnectionPropertiesOptions, andUpdateConnectionOptions.read:federated_connections_tokensanddelete:federated_connections_tokensare no longer valid values ofOauthScope.ClientSessionTransferDelegationDeviceBindingEnumnarrowed — the"asn"value is removed; the enum now only accepts"ip".New Endpoints
organizations.roles.members.list(id=..., role_id=...)(sync + async) →GET /api/v2/organizations/{id}/roles/{role_id}/members. New sub-clientsorganizations.rolesandorganizations.roles.members; response typeListOrganizationRoleMembersResponseContent, item typeRoleMember.Type Changes/Features
third_party_client_access: Optional[OrganizationThirdPartyClientAccessEnum](Literal["block", "allow"]) oncreate()/update()and all organization response types.ListOrganizationRoleMembersResponseContentandRoleMember(returned by the role-members endpoint above).UserGrant.organization_id: Optional[str](read-only), viaGET /grants.discovery_url/oidc_metadataextended tosamlpconnections (previously OIDC-only), via newConnectionsDiscoveryUrl/ConnectionsOidcMetadataonConnectionPropertiesOptionsandUpdateConnectionOptions.connection.created,connection.deleted,connection.updatedonEventStreamEventTypeEnum,EventStreamDeliveryEventTypeEnum,EventStreamSubscribeEventsEventTypeEnum,EventStreamTestEventTypeEnum; newEventStreamCloudEventConnection{Created,Deleted,Updated}*payload types; newEventStreamSubscribeEventsResponseContent.grants: Optional[List[TokenVaultPrivilegedAccessGrant]]on the privileged-access credential/public-key types.TokenVaultPrivilegedAccessGrant:{connection: str, scopes: List[str]}.NotFoundErrorBody/NotFoundErrorBodyError,TooManyRequestsErrorBody/TooManyRequestsErrorBodyError.specversion:str→EventStreamCloudEventSpecVersionEnum(Literal["1.0"]+Anyfallback) across group/org/user CloudEvent types.NetworkAclMatch— new optionalauth0_managed: Optional[List[str]]field (serialized asauth0_managed), available on both thematchandnot_matchrule blocks. This lets network ACL rules reference Auth0-managed lists when matching or excluding traffic.