From d8a082e53463b197c5ddba46cf7da824206b0b08 Mon Sep 17 00:00:00 2001 From: "workos-sdk-automation[bot]" <255426317+workos-sdk-automation[bot]@users.noreply.github.com> Date: Thu, 2 Jul 2026 17:35:07 +0000 Subject: [PATCH 1/2] chore(main): release 2.4.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 15 +++++++++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- 4 files changed, 18 insertions(+), 3 deletions(-) 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..654d745d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,21 @@ 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) + + +### Features + +* **generated:** AdminPortal, Authorization, Webhooks, UserManagement, AuditLogs (batch 08085e9d) ([#120](https://github.com/workos/workos-rust/issues/120)) ([791a73b](https://github.com/workos/workos-rust/commit/791a73b26b1154048831ec426aad35f7a19daf72)) +* **generated:** Pipes (batch 77e46600) ([#118](https://github.com/workos/workos-rust/issues/118)) ([2a96e97](https://github.com/workos/workos-rust/commit/2a96e9752762768ece7b3ce2153f8a0c3956c715)) +* **pipes:** Add Pipes operations and models ([#122](https://github.com/workos/workos-rust/issues/122)) ([889e6af](https://github.com/workos/workos-rust/commit/889e6af11dfe05a699ec65315445d4fd4663cbf8)) +* **user_management:** Add user management operations and models ([#123](https://github.com/workos/workos-rust/issues/123)) ([0ed9dc6](https://github.com/workos/workos-rust/commit/0ed9dc6989de04a0197163761345541c29dd7287)) + + +### Bug Fixes + +* **user_management:** Update user management API surface ([#123](https://github.com/workos/workos-rust/issues/123)) ([0ed9dc6](https://github.com/workos/workos-rust/commit/0ed9dc6989de04a0197163761345541c29dd7287)) + ## [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" From 3d312d7355f4a69c16a4cbfe84d513ec90d085cd Mon Sep 17 00:00:00 2001 From: "workos-sdk-automation[bot]" <255426317+workos-sdk-automation[bot]@users.noreply.github.com> Date: Thu, 2 Jul 2026 17:35:18 +0000 Subject: [PATCH 2/2] chore: inline release notes from .changelog-pending --- ...557d444e056592bfe49fb14edac2dd1b9729c41.md | 11 -- ...04603f99d7258ac681b157d7c84bbefc43529ae.md | 49 ------- ...350eb0b1521b954c25625b4858b2fd14a506cd2.md | 27 ---- ...1b13e04b6092eeef8253b4bfbcda055ceb2f35a.md | 30 ----- CHANGELOG.md | 122 +++++++++++++++++- 5 files changed, 115 insertions(+), 124 deletions(-) delete mode 100644 .changelog-pending/2026-07-01T16-29-12-6557d444e056592bfe49fb14edac2dd1b9729c41.md delete mode 100644 .changelog-pending/2026-07-01T18-19-30-704603f99d7258ac681b157d7c84bbefc43529ae.md delete mode 100644 .changelog-pending/2026-07-02T14-59-23-e350eb0b1521b954c25625b4858b2fd14a506cd2.md delete mode 100644 .changelog-pending/2026-07-02T17-30-16-71b13e04b6092eeef8253b4bfbcda055ceb2f35a.md 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/CHANGELOG.md b/CHANGELOG.md index 654d745d..27d03996 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,18 +7,126 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [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 + **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` -* **generated:** AdminPortal, Authorization, Webhooks, UserManagement, AuditLogs (batch 08085e9d) ([#120](https://github.com/workos/workos-rust/issues/120)) ([791a73b](https://github.com/workos/workos-rust/commit/791a73b26b1154048831ec426aad35f7a19daf72)) -* **generated:** Pipes (batch 77e46600) ([#118](https://github.com/workos/workos-rust/issues/118)) ([2a96e97](https://github.com/workos/workos-rust/commit/2a96e9752762768ece7b3ce2153f8a0c3956c715)) -* **pipes:** Add Pipes operations and models ([#122](https://github.com/workos/workos-rust/issues/122)) ([889e6af](https://github.com/workos/workos-rust/commit/889e6af11dfe05a699ec65315445d4fd4663cbf8)) -* **user_management:** Add user management operations and models ([#123](https://github.com/workos/workos-rust/issues/123)) ([0ed9dc6](https://github.com/workos/workos-rust/commit/0ed9dc6989de04a0197163761345541c29dd7287)) +* [#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` -### Bug Fixes + **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` -* **user_management:** Update user management API surface ([#123](https://github.com/workos/workos-rust/issues/123)) ([0ed9dc6](https://github.com/workos/workos-rust/commit/0ed9dc6989de04a0197163761345541c29dd7287)) +* [#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)