diff --git a/.changelog-pending/2026-07-01T16-29-12-6557d444e056592bfe49fb14edac2dd1b9729c41.md b/.changelog-pending/2026-07-01T16-29-12-6557d444e056592bfe49fb14edac2dd1b9729c41.md deleted file mode 100644 index d170caf6..00000000 --- a/.changelog-pending/2026-07-01T16-29-12-6557d444e056592bfe49fb14edac2dd1b9729c41.md +++ /dev/null @@ -1,11 +0,0 @@ -* [#118](https://github.com/workos/workos-rust/pull/118) 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-30-704603f99d7258ac681b157d7c84bbefc43529ae.md b/.changelog-pending/2026-07-01T18-19-30-704603f99d7258ac681b157d7c84bbefc43529ae.md deleted file mode 100644 index d6642eed..00000000 --- a/.changelog-pending/2026-07-01T18-19-30-704603f99d7258ac681b157d7c84bbefc43529ae.md +++ /dev/null @@ -1,49 +0,0 @@ -* [#120](https://github.com/workos/workos-rust/pull/120) 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-23-e350eb0b1521b954c25625b4858b2fd14a506cd2.md b/.changelog-pending/2026-07-02T14-59-23-e350eb0b1521b954c25625b4858b2fd14a506cd2.md deleted file mode 100644 index a1b3b217..00000000 --- a/.changelog-pending/2026-07-02T14-59-23-e350eb0b1521b954c25625b4858b2fd14a506cd2.md +++ /dev/null @@ -1,27 +0,0 @@ -* [#122](https://github.com/workos/workos-rust/pull/122) 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-16-71b13e04b6092eeef8253b4bfbcda055ceb2f35a.md b/.changelog-pending/2026-07-02T17-30-16-71b13e04b6092eeef8253b4bfbcda055ceb2f35a.md deleted file mode 100644 index 9cbec7da..00000000 --- a/.changelog-pending/2026-07-02T17-30-16-71b13e04b6092eeef8253b4bfbcda055ceb2f35a.md +++ /dev/null @@ -1,30 +0,0 @@ -* [#123](https://github.com/workos/workos-rust/pull/123) feat(generated): regenerate from spec (2 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 9965a341..a549f59d 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "2.3.0" + ".": "2.4.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 34f3c5a1..27d03996 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,129 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.4.0](https://github.com/workos/workos-rust/compare/v2.3.0...v2.4.0) (2026-07-02) + +* [#118](https://github.com/workos/workos-rust/pull/118) 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` + +* [#120](https://github.com/workos/workos-rust/pull/120) 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` + +* [#122](https://github.com/workos/workos-rust/pull/122) 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}` + +* [#123](https://github.com/workos/workos-rust/pull/123) feat(generated): regenerate from spec (2 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` + ## [2.3.0](https://github.com/workos/workos-rust/compare/v2.2.0...v2.3.0) (2026-06-30) * [#114](https://github.com/workos/workos-rust/pull/114) fix(generated): regenerate from spec diff --git a/Cargo.lock b/Cargo.lock index 67b87285..79449b01 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1895,7 +1895,7 @@ checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" [[package]] name = "workos" -version = "2.3.0" +version = "2.4.0" dependencies = [ "aes-gcm", "async-trait", diff --git a/Cargo.toml b/Cargo.toml index 970497fc..9f3e900f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ # @oagen-ignore-file [package] name = "workos" -version = "2.3.0" +version = "2.4.0" edition = "2024" rust-version = "1.88" description = "Official Rust SDK for the WorkOS API"