diff --git a/.changelog-pending/2026-07-01T16-28-56-6557d444e056592bfe49fb14edac2dd1b9729c41.md b/.changelog-pending/2026-07-01T16-28-56-6557d444e056592bfe49fb14edac2dd1b9729c41.md deleted file mode 100644 index b2c34f58..00000000 --- a/.changelog-pending/2026-07-01T16-28-56-6557d444e056592bfe49fb14edac2dd1b9729c41.md +++ /dev/null @@ -1,11 +0,0 @@ -* [#681](https://github.com/workos/workos-python/pull/681) fix(generated): regenerate from spec - - **Features** - * **[pipes](https://workos.com/docs/reference/pipes)**: - * Added model `DataIntegrationCredentialsResponse` - * Added model `DataIntegrationCredentialsResponseCredential` - * Added model `DataIntegrationsUpsertApiKeyRequest` - * Added model `DataIntegrationsVendCredentialsRequest` - * Added enum `DataIntegrationCredentialsResponseError` - * Added endpoint `PUT /data-integrations/{slug}/api-key` - * Added endpoint `POST /data-integrations/{slug}/credentials` diff --git a/.changelog-pending/2026-07-01T18-19-26-704603f99d7258ac681b157d7c84bbefc43529ae.md b/.changelog-pending/2026-07-01T18-19-26-704603f99d7258ac681b157d7c84bbefc43529ae.md deleted file mode 100644 index 81a00d1f..00000000 --- a/.changelog-pending/2026-07-01T18-19-26-704603f99d7258ac681b157d7c84bbefc43529ae.md +++ /dev/null @@ -1,49 +0,0 @@ -* [#683](https://github.com/workos/workos-python/pull/683) fix(generated): regenerate from spec - - **⚠️ Breaking** - * **[user_management](https://workos.com/docs/reference/authkit/user)**: - * Removed model `SessionReauthenticated` - * Removed model `SessionReauthenticatedData` - * Removed model `SessionReauthenticatedDataImpersonator` - * Removed enum `SessionReauthenticatedDataAuthMethod` - * Removed enum `SessionReauthenticatedDataStatus` - - **Features** - * **[webhooks](https://workos.com/docs/reference/webhooks)**: - * Added `agent.registration.created` to `CreateWebhookEndpointEvents` - * Added `agent.registration.claim.attempt.created` to `CreateWebhookEndpointEvents` - * Added `agent.registration.claim.completed` to `CreateWebhookEndpointEvents` - * Added `agent.registration.credential.issued` to `CreateWebhookEndpointEvents` - * Added `agent.registration.organization.switched` to `CreateWebhookEndpointEvents` - * Added `authentication.reauthentication_succeeded` to `CreateWebhookEndpointEvents` - * Added `agent.registration.created` to `UpdateWebhookEndpointEvents` - * Added `agent.registration.claim.attempt.created` to `UpdateWebhookEndpointEvents` - * Added `agent.registration.claim.completed` to `UpdateWebhookEndpointEvents` - * Added `agent.registration.credential.issued` to `UpdateWebhookEndpointEvents` - * Added `agent.registration.organization.switched` to `UpdateWebhookEndpointEvents` - * Added `authentication.reauthentication_succeeded` to `UpdateWebhookEndpointEvents` - * **[webhooks](https://workos.com/docs/reference/webhooks)**: - * Added `session.reauthenticated` to `CreateWebhookEndpointEvents` - * Added `session.reauthenticated` to `UpdateWebhookEndpointEvents` - * **[webhooks](https://workos.com/docs/reference/webhooks)**: - * Added `pipes.connected_account.connection_failed` to `CreateWebhookEndpointEvents` - * Added `pipes.connected_account.connection_failed` to `UpdateWebhookEndpointEvents` - * **[user_management](https://workos.com/docs/reference/authkit/user)**: - * Added model `UserRoleAssignmentSource` - * Added `source` to `UserRoleAssignment` - * Added enum `UserRoleAssignmentSourceType` - * Added parameter `UserManagementAuthentication.authorize.max_age` - * Added endpoint `GET /user_management/cors_origins` - * Added endpoint `GET /user_management/redirect_uris` - * **[audit_logs](https://workos.com/docs/reference/audit-logs)**: - * Changed the format of `AuditLogExportCreation.range_start` - * Changed the format of `AuditLogExportCreation.range_end` - * **[audit_logs](https://workos.com/docs/reference/audit-logs)**: - * Added `expired` to `AuditLogExportState` - - **Fixes** - * **[admin_portal](https://workos.com/docs/reference/admin-portal)**: - * Removed `intent_options` from `GenerateLink` - * **[webhooks](https://workos.com/docs/reference/webhooks)**: - * Removed `session.reauthenticated` from `CreateWebhookEndpointEvents` - * Removed `session.reauthenticated` from `UpdateWebhookEndpointEvents` diff --git a/.changelog-pending/2026-07-02T14-59-02-e350eb0b1521b954c25625b4858b2fd14a506cd2.md b/.changelog-pending/2026-07-02T14-59-02-e350eb0b1521b954c25625b4858b2fd14a506cd2.md deleted file mode 100644 index 660337bb..00000000 --- a/.changelog-pending/2026-07-02T14-59-02-e350eb0b1521b954c25625b4858b2fd14a506cd2.md +++ /dev/null @@ -1,27 +0,0 @@ -* [#685](https://github.com/workos/workos-python/pull/685) feat(generated): regenerate from spec (1 change) - - **Features** - * **[pipes](https://workos.com/docs/reference/pipes)**: - * Added model `DataIntegrationCredentialsDto` - * Added model `CustomProviderDefinition` - * Added model `CreateDataIntegration` - * Added model `UpdateCustomProviderDefinition` - * Added model `UpdateDataIntegration` - * Added model `DataIntegration` - * Added model `DataIntegrationList` - * Added model `DataIntegrationListListMetadata` - * Added model `DataIntegrationCredential` - * Added model `DataIntegrationCustomProvider` - * Added enum `DataIntegrationCredentialsType` - * Added enum `CustomProviderDefinitionAuthenticateVia` - * Added enum `UpdateCustomProviderDefinitionAuthenticateVia` - * Added enum `DataIntegrationState` - * Added enum `DataIntegrationCredentialType` - * Added enum `DataIntegrationCustomProviderAuthenticateVia` - * Added endpoint `GET /data-integrations` - * Added endpoint `POST /data-integrations` - * Added endpoint `GET /data-integrations/{slug}` - * Added endpoint `PUT /data-integrations/{slug}` - * Added endpoint `DELETE /data-integrations/{slug}` - * Added endpoint `POST /user_management/users/{user_id}/connected_accounts/{slug}` - * Added endpoint `PUT /user_management/users/{user_id}/connected_accounts/{slug}` diff --git a/.changelog-pending/2026-07-02T17-30-14-71b13e04b6092eeef8253b4bfbcda055ceb2f35a.md b/.changelog-pending/2026-07-02T17-30-14-71b13e04b6092eeef8253b4bfbcda055ceb2f35a.md deleted file mode 100644 index ddc5991f..00000000 --- a/.changelog-pending/2026-07-02T17-30-14-71b13e04b6092eeef8253b4bfbcda055ceb2f35a.md +++ /dev/null @@ -1,30 +0,0 @@ -* [#686](https://github.com/workos/workos-python/pull/686) feat(generated)!: regenerate from spec (3 changes) - - **Features** - * **[user_management](https://workos.com/docs/reference/authkit/user)**: - * Added model `SendRadarSmsChallenge` - * Added model `SendRadarSmsChallengeResponse` - * Added model `UrnWorkosOAuthGrantTypeRadarEmailChallengeCodeSessionAuthenticateRequest` - * Added model `UrnWorkosOAuthGrantTypeRadarSmsChallengeCodeSessionAuthenticateRequest` - * Added model `MagicAuthSendMagicAuthCodeAndReturnResponse` - * Added model `UserCreateResponse` - * Added `ip_address` to `CreateMagicCodeAndReturn` - * Added `user_agent` to `CreateMagicCodeAndReturn` - * Added `radar_auth_attempt_id` to `CreateMagicCodeAndReturn` - * Added `signals_id` to `CreateMagicCodeAndReturn` - * Added `ip_address` to `CreateUser` - * Added `user_agent` to `CreateUser` - * Added `signals_id` to `CreateUser` - * Added `signals_id` to `AuthorizationCodeSessionAuthenticateRequest` - * Added `signals_id` to `PasswordSessionAuthenticateRequest` - * Added `radar_auth_attempt_id` to `PasswordSessionAuthenticateRequest` - * Added `radar_auth_attempt_id` to `UrnWorkosOAuthGrantTypeMagicAuthCodeSessionAuthenticateRequest` - * Added endpoint `POST /user_management/radar_challenges` - * **[radar](https://workos.com/docs/reference/radar)**: - * Added `signals_id` to `RadarStandaloneAssessRequest` - - **Fixes** - * **[user_management](https://workos.com/docs/reference/authkit/user)**: - * Changed request body for `UserManagementAuthentication.authenticate` - * Changed response of `UserManagementUsers.create` from `User` to `UserCreateResponse` - * Changed response of `UserManagementMagicAuth.sendMagicAuthCodeAndReturn` from `MagicAuth` to `MagicAuthSendMagicAuthCodeAndReturnResponse` diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 8d48393b..92856693 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "8.3.0" + ".": "9.0.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 2440d189..2c90c81a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,128 @@ # Changelog +## [9.0.0](https://github.com/workos/workos-python/compare/v8.3.0...v9.0.0) (2026-07-02) + +* [#681](https://github.com/workos/workos-python/pull/681) fix(generated): regenerate from spec + + **Features** + * **[pipes](https://workos.com/docs/reference/pipes)**: + * Added model `DataIntegrationCredentialsResponse` + * Added model `DataIntegrationCredentialsResponseCredential` + * Added model `DataIntegrationsUpsertApiKeyRequest` + * Added model `DataIntegrationsVendCredentialsRequest` + * Added enum `DataIntegrationCredentialsResponseError` + * Added endpoint `PUT /data-integrations/{slug}/api-key` + * Added endpoint `POST /data-integrations/{slug}/credentials` + +* [#683](https://github.com/workos/workos-python/pull/683) fix(generated): regenerate from spec + + **⚠️ Breaking** + * **[user_management](https://workos.com/docs/reference/authkit/user)**: + * Removed model `SessionReauthenticated` + * Removed model `SessionReauthenticatedData` + * Removed model `SessionReauthenticatedDataImpersonator` + * Removed enum `SessionReauthenticatedDataAuthMethod` + * Removed enum `SessionReauthenticatedDataStatus` + + **Features** + * **[webhooks](https://workos.com/docs/reference/webhooks)**: + * Added `agent.registration.created` to `CreateWebhookEndpointEvents` + * Added `agent.registration.claim.attempt.created` to `CreateWebhookEndpointEvents` + * Added `agent.registration.claim.completed` to `CreateWebhookEndpointEvents` + * Added `agent.registration.credential.issued` to `CreateWebhookEndpointEvents` + * Added `agent.registration.organization.switched` to `CreateWebhookEndpointEvents` + * Added `authentication.reauthentication_succeeded` to `CreateWebhookEndpointEvents` + * Added `agent.registration.created` to `UpdateWebhookEndpointEvents` + * Added `agent.registration.claim.attempt.created` to `UpdateWebhookEndpointEvents` + * Added `agent.registration.claim.completed` to `UpdateWebhookEndpointEvents` + * Added `agent.registration.credential.issued` to `UpdateWebhookEndpointEvents` + * Added `agent.registration.organization.switched` to `UpdateWebhookEndpointEvents` + * Added `authentication.reauthentication_succeeded` to `UpdateWebhookEndpointEvents` + * **[webhooks](https://workos.com/docs/reference/webhooks)**: + * Added `session.reauthenticated` to `CreateWebhookEndpointEvents` + * Added `session.reauthenticated` to `UpdateWebhookEndpointEvents` + * **[webhooks](https://workos.com/docs/reference/webhooks)**: + * Added `pipes.connected_account.connection_failed` to `CreateWebhookEndpointEvents` + * Added `pipes.connected_account.connection_failed` to `UpdateWebhookEndpointEvents` + * **[user_management](https://workos.com/docs/reference/authkit/user)**: + * Added model `UserRoleAssignmentSource` + * Added `source` to `UserRoleAssignment` + * Added enum `UserRoleAssignmentSourceType` + * Added parameter `UserManagementAuthentication.authorize.max_age` + * Added endpoint `GET /user_management/cors_origins` + * Added endpoint `GET /user_management/redirect_uris` + * **[audit_logs](https://workos.com/docs/reference/audit-logs)**: + * Changed the format of `AuditLogExportCreation.range_start` + * Changed the format of `AuditLogExportCreation.range_end` + * **[audit_logs](https://workos.com/docs/reference/audit-logs)**: + * Added `expired` to `AuditLogExportState` + + **Fixes** + * **[admin_portal](https://workos.com/docs/reference/admin-portal)**: + * Removed `intent_options` from `GenerateLink` + * **[webhooks](https://workos.com/docs/reference/webhooks)**: + * Removed `session.reauthenticated` from `CreateWebhookEndpointEvents` + * Removed `session.reauthenticated` from `UpdateWebhookEndpointEvents` + +* [#685](https://github.com/workos/workos-python/pull/685) feat(generated): regenerate from spec (1 change) + + **Features** + * **[pipes](https://workos.com/docs/reference/pipes)**: + * Added model `DataIntegrationCredentialsDto` + * Added model `CustomProviderDefinition` + * Added model `CreateDataIntegration` + * Added model `UpdateCustomProviderDefinition` + * Added model `UpdateDataIntegration` + * Added model `DataIntegration` + * Added model `DataIntegrationList` + * Added model `DataIntegrationListListMetadata` + * Added model `DataIntegrationCredential` + * Added model `DataIntegrationCustomProvider` + * Added enum `DataIntegrationCredentialsType` + * Added enum `CustomProviderDefinitionAuthenticateVia` + * Added enum `UpdateCustomProviderDefinitionAuthenticateVia` + * Added enum `DataIntegrationState` + * Added enum `DataIntegrationCredentialType` + * Added enum `DataIntegrationCustomProviderAuthenticateVia` + * Added endpoint `GET /data-integrations` + * Added endpoint `POST /data-integrations` + * Added endpoint `GET /data-integrations/{slug}` + * Added endpoint `PUT /data-integrations/{slug}` + * Added endpoint `DELETE /data-integrations/{slug}` + * Added endpoint `POST /user_management/users/{user_id}/connected_accounts/{slug}` + * Added endpoint `PUT /user_management/users/{user_id}/connected_accounts/{slug}` + +* [#686](https://github.com/workos/workos-python/pull/686) feat(generated)!: regenerate from spec (3 changes) + + **Features** + * **[user_management](https://workos.com/docs/reference/authkit/user)**: + * Added model `SendRadarSmsChallenge` + * Added model `SendRadarSmsChallengeResponse` + * Added model `UrnWorkosOAuthGrantTypeRadarEmailChallengeCodeSessionAuthenticateRequest` + * Added model `UrnWorkosOAuthGrantTypeRadarSmsChallengeCodeSessionAuthenticateRequest` + * Added model `MagicAuthSendMagicAuthCodeAndReturnResponse` + * Added model `UserCreateResponse` + * Added `ip_address` to `CreateMagicCodeAndReturn` + * Added `user_agent` to `CreateMagicCodeAndReturn` + * Added `radar_auth_attempt_id` to `CreateMagicCodeAndReturn` + * Added `signals_id` to `CreateMagicCodeAndReturn` + * Added `ip_address` to `CreateUser` + * Added `user_agent` to `CreateUser` + * Added `signals_id` to `CreateUser` + * Added `signals_id` to `AuthorizationCodeSessionAuthenticateRequest` + * Added `signals_id` to `PasswordSessionAuthenticateRequest` + * Added `radar_auth_attempt_id` to `PasswordSessionAuthenticateRequest` + * Added `radar_auth_attempt_id` to `UrnWorkosOAuthGrantTypeMagicAuthCodeSessionAuthenticateRequest` + * Added endpoint `POST /user_management/radar_challenges` + * **[radar](https://workos.com/docs/reference/radar)**: + * Added `signals_id` to `RadarStandaloneAssessRequest` + + **Fixes** + * **[user_management](https://workos.com/docs/reference/authkit/user)**: + * Changed request body for `UserManagementAuthentication.authenticate` + * Changed response of `UserManagementUsers.create` from `User` to `UserCreateResponse` + * Changed response of `UserManagementMagicAuth.sendMagicAuthCodeAndReturn` from `MagicAuth` to `MagicAuthSendMagicAuthCodeAndReturnResponse` + ## [8.3.0](https://github.com/workos/workos-python/compare/v8.2.0...v8.3.0) (2026-06-30) * [#676](https://github.com/workos/workos-python/pull/676) fix(generated): regenerate from spec diff --git a/pyproject.toml b/pyproject.toml index 21a435b6..f34e63f0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "workos" -version = "8.3.0" +version = "9.0.0" description = "WorkOS Python Client" readme = "README.md" license = "MIT" diff --git a/uv.lock b/uv.lock index 10c9fe59..f8860f13 100644 --- a/uv.lock +++ b/uv.lock @@ -591,7 +591,7 @@ name = "exceptiongroup" version = "1.3.1" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "typing-extensions", marker = "python_full_version < '3.13'" }, + { name = "typing-extensions" }, ] sdist = { url = "https://files.pythonhosted.org/packages/50/79/66800aadf48771f6b62f7eb014e352e5d06856655206165d775e675a02c9/exceptiongroup-1.3.1.tar.gz", hash = "sha256:8b412432c6055b0b7d14c310000ae93352ed6754f70fa8f7c34141f91c4e3219", size = 30371, upload-time = "2025-11-21T23:01:54.787Z" } wheels = [ @@ -1324,7 +1324,7 @@ wheels = [ [[package]] name = "workos" -version = "8.3.0" +version = "9.0.0" source = { editable = "." } dependencies = [ { name = "cryptography" },