From 8d3b1f32a81b1c79adaffc2e54c030ca1502a375 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:09 +0000 Subject: [PATCH 1/2] chore(main): release 8.0.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 19 +++++++++++++++++++ lib/Version.php | 2 +- 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index c575a162..32ac6588 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "7.3.0" + ".": "8.0.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bc58803..bc2a8efe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # Changelog +## [8.0.0](https://github.com/workos/workos-php/compare/v7.3.0...v8.0.0) (2026-07-02) + + +### ⚠ BREAKING CHANGES + +* **audit_logs:** SDK surface change: Parameter type changed for "rangeStart" on "AuditLogs.createExport" ([#411](https://github.com/workos/workos-php/issues/411)) + +### Features + +* **audit_logs:** SDK surface change: Parameter type changed for "rangeStart" on "AuditLogs.createExport" ([#411](https://github.com/workos/workos-php/issues/411)) ([6d966dc](https://github.com/workos/workos-php/commit/6d966dce92126d41963fde752c3afdc51325c28c)) +* **generated:** Pipes (batch 77e46600) ([#409](https://github.com/workos/workos-php/issues/409)) ([d21501e](https://github.com/workos/workos-php/commit/d21501ed0e4b45f605eec77766d80218e4001c34)) +* **pipes:** Add Pipes operations and models ([#413](https://github.com/workos/workos-php/issues/413)) ([d9237b0](https://github.com/workos/workos-php/commit/d9237b0ec7704c9224e7c1420e06d5256b8310e8)) +* **user_management:** Add user management operations and models ([#414](https://github.com/workos/workos-php/issues/414)) ([d619668](https://github.com/workos/workos-php/commit/d619668f81994220a13e6184a4dee94b9c4f378a)) + + +### Bug Fixes + +* **user_management:** Update user management API surface ([#414](https://github.com/workos/workos-php/issues/414)) ([d619668](https://github.com/workos/workos-php/commit/d619668f81994220a13e6184a4dee94b9c4f378a)) + ## [7.3.0](https://github.com/workos/workos-php/compare/v7.2.0...v7.3.0) (2026-06-30) * [#405](https://github.com/workos/workos-php/pull/405) fix(generated): regenerate from spec diff --git a/lib/Version.php b/lib/Version.php index 6ea3aa9e..43ac762a 100644 --- a/lib/Version.php +++ b/lib/Version.php @@ -9,5 +9,5 @@ final class Version { public const SDK_IDENTIFIER = 'WorkOS PHP'; - public const SDK_VERSION = '7.3.0'; // x-release-please-version + public const SDK_VERSION = '8.0.0'; // x-release-please-version } From 9354dba12f62b7c9f274daef67b750773c8604be 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:19 +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, 113 insertions(+), 126 deletions(-) delete mode 100644 .changelog-pending/2026-07-01T16-29-07-6557d444e056592bfe49fb14edac2dd1b9729c41.md delete mode 100644 .changelog-pending/2026-07-01T18-19-33-704603f99d7258ac681b157d7c84bbefc43529ae.md delete mode 100644 .changelog-pending/2026-07-02T14-59-12-e350eb0b1521b954c25625b4858b2fd14a506cd2.md delete mode 100644 .changelog-pending/2026-07-02T17-30-17-71b13e04b6092eeef8253b4bfbcda055ceb2f35a.md diff --git a/.changelog-pending/2026-07-01T16-29-07-6557d444e056592bfe49fb14edac2dd1b9729c41.md b/.changelog-pending/2026-07-01T16-29-07-6557d444e056592bfe49fb14edac2dd1b9729c41.md deleted file mode 100644 index faaf7af1..00000000 --- a/.changelog-pending/2026-07-01T16-29-07-6557d444e056592bfe49fb14edac2dd1b9729c41.md +++ /dev/null @@ -1,11 +0,0 @@ -* [#409](https://github.com/workos/workos-php/pull/409) 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-33-704603f99d7258ac681b157d7c84bbefc43529ae.md b/.changelog-pending/2026-07-01T18-19-33-704603f99d7258ac681b157d7c84bbefc43529ae.md deleted file mode 100644 index 0b4870ca..00000000 --- a/.changelog-pending/2026-07-01T18-19-33-704603f99d7258ac681b157d7c84bbefc43529ae.md +++ /dev/null @@ -1,49 +0,0 @@ -* [#411](https://github.com/workos/workos-php/pull/411) feat(generated)!: regenerate from spec (1 change) - - **⚠️ 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-12-e350eb0b1521b954c25625b4858b2fd14a506cd2.md b/.changelog-pending/2026-07-02T14-59-12-e350eb0b1521b954c25625b4858b2fd14a506cd2.md deleted file mode 100644 index 73302038..00000000 --- a/.changelog-pending/2026-07-02T14-59-12-e350eb0b1521b954c25625b4858b2fd14a506cd2.md +++ /dev/null @@ -1,27 +0,0 @@ -* [#413](https://github.com/workos/workos-php/pull/413) 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-17-71b13e04b6092eeef8253b4bfbcda055ceb2f35a.md b/.changelog-pending/2026-07-02T17-30-17-71b13e04b6092eeef8253b4bfbcda055ceb2f35a.md deleted file mode 100644 index f42a2185..00000000 --- a/.changelog-pending/2026-07-02T17-30-17-71b13e04b6092eeef8253b4bfbcda055ceb2f35a.md +++ /dev/null @@ -1,30 +0,0 @@ -* [#414](https://github.com/workos/workos-php/pull/414) 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 bc2a8efe..fecd73b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,22 +2,126 @@ ## [8.0.0](https://github.com/workos/workos-php/compare/v7.3.0...v8.0.0) (2026-07-02) +* [#409](https://github.com/workos/workos-php/pull/409) fix(generated): regenerate from spec -### ⚠ BREAKING CHANGES + **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` -* **audit_logs:** SDK surface change: Parameter type changed for "rangeStart" on "AuditLogs.createExport" ([#411](https://github.com/workos/workos-php/issues/411)) +* [#411](https://github.com/workos/workos-php/pull/411) feat(generated)!: regenerate from spec (1 change) -### Features + **⚠️ 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` -* **audit_logs:** SDK surface change: Parameter type changed for "rangeStart" on "AuditLogs.createExport" ([#411](https://github.com/workos/workos-php/issues/411)) ([6d966dc](https://github.com/workos/workos-php/commit/6d966dce92126d41963fde752c3afdc51325c28c)) -* **generated:** Pipes (batch 77e46600) ([#409](https://github.com/workos/workos-php/issues/409)) ([d21501e](https://github.com/workos/workos-php/commit/d21501ed0e4b45f605eec77766d80218e4001c34)) -* **pipes:** Add Pipes operations and models ([#413](https://github.com/workos/workos-php/issues/413)) ([d9237b0](https://github.com/workos/workos-php/commit/d9237b0ec7704c9224e7c1420e06d5256b8310e8)) -* **user_management:** Add user management operations and models ([#414](https://github.com/workos/workos-php/issues/414)) ([d619668](https://github.com/workos/workos-php/commit/d619668f81994220a13e6184a4dee94b9c4f378a)) + **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` +* [#413](https://github.com/workos/workos-php/pull/413) feat(generated): regenerate from spec (1 change) -### Bug Fixes + **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}` + +* [#414](https://github.com/workos/workos-php/pull/414) feat(generated): regenerate from spec (2 changes) -* **user_management:** Update user management API surface ([#414](https://github.com/workos/workos-php/issues/414)) ([d619668](https://github.com/workos/workos-php/commit/d619668f81994220a13e6184a4dee94b9c4f378a)) + **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` ## [7.3.0](https://github.com/workos/workos-php/compare/v7.2.0...v7.3.0) (2026-06-30)