From 270059e62ff1828a31de452687bd74a1363587b3 Mon Sep 17 00:00:00 2001 From: "workos-sdk-automation[bot]" <255426317+workos-sdk-automation[bot]@users.noreply.github.com> Date: Mon, 19 Oct 2026 13:56:36 +0000 Subject: [PATCH 1/2] chore(main): release 9.5.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 30 ++++++++++++++++++++++++++++++ lib/Version.php | 2 +- 3 files changed, 32 insertions(+), 2 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index b7ef03eb..b681d9a9 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "9.4.0" + ".": "9.5.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index a5123e85..d65a5744 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,35 @@ # Changelog +## [9.5.0](https://github.com/workos/workos-php/compare/v9.4.0...v9.5.0) (2026-10-19) + + +### Features + +* **admin_portal:** SDK surface change: `AdminPortal.createRevokeLink` was renamed to `AdminPortal.revokeLink` ([#454](https://github.com/workos/workos-php/issues/454)) ([67a1067](https://github.com/workos/workos-php/commit/67a10676f11a1f3bbd735139d91e20388a792cb8)) +* **admin_portal:** Update admin portal API surface ([#452](https://github.com/workos/workos-php/issues/452)) ([d873585](https://github.com/workos/workos-php/commit/d8735850145ab0adf5d7b5a47614e659dd7437b0)) +* **audit_logs:** Update audit log API surface ([#452](https://github.com/workos/workos-php/issues/452)) ([d873585](https://github.com/workos/workos-php/commit/d8735850145ab0adf5d7b5a47614e659dd7437b0)) +* **authorization:** Update authorization API surface ([#452](https://github.com/workos/workos-php/issues/452)) ([d873585](https://github.com/workos/workos-php/commit/d8735850145ab0adf5d7b5a47614e659dd7437b0)) +* **feature_flags:** Update feature flag API surface ([#452](https://github.com/workos/workos-php/issues/452)) ([d873585](https://github.com/workos/workos-php/commit/d8735850145ab0adf5d7b5a47614e659dd7437b0)) +* **generated:** AdminPortal, Agents, ApiKeys, AuditLogs, Authorization, ClientApi, Connect, DirectorySync, Events, FeatureFlags, Groups, MultiFactorAuth, OrganizationDomains, OrganizationMembership, Organizations, Pipes, PipesProvider, PlatformTeams, Radar, SSO, UserManagement, Vault, Webhooks, Widgets (batch aeefef11) ([#456](https://github.com/workos/workos-php/issues/456)) ([b7d396a](https://github.com/workos/workos-php/commit/b7d396a2291a96590749abc7133d5f0d3b7362d2)) +* **generated:** Authorization (batch c64ce1e7) ([#447](https://github.com/workos/workos-php/issues/447)) ([75c1393](https://github.com/workos/workos-php/commit/75c139313c09d787ba78efea021b06211835ad6b)) +* **organizations:** Update organization API surface ([#452](https://github.com/workos/workos-php/issues/452)) ([d873585](https://github.com/workos/workos-php/commit/d8735850145ab0adf5d7b5a47614e659dd7437b0)) +* **pipes:** Change Pipes API surface ([#452](https://github.com/workos/workos-php/issues/452)) ([d873585](https://github.com/workos/workos-php/commit/d8735850145ab0adf5d7b5a47614e659dd7437b0)) +* **pipes:** Update Pipes API surface ([#452](https://github.com/workos/workos-php/issues/452)) ([d873585](https://github.com/workos/workos-php/commit/d8735850145ab0adf5d7b5a47614e659dd7437b0)) +* **radar:** Update radar API surface ([#452](https://github.com/workos/workos-php/issues/452)) ([d873585](https://github.com/workos/workos-php/commit/d8735850145ab0adf5d7b5a47614e659dd7437b0)) +* **user_management:** Update user management API surface ([#452](https://github.com/workos/workos-php/issues/452)) ([d873585](https://github.com/workos/workos-php/commit/d8735850145ab0adf5d7b5a47614e659dd7437b0)) +* **user_management:** Update user management API surface ([#454](https://github.com/workos/workos-php/issues/454)) ([67a1067](https://github.com/workos/workos-php/commit/67a10676f11a1f3bbd735139d91e20388a792cb8)) + + +### Bug Fixes + +* **user_management:** Change errors for endpoint `POST /user_management/authenticate` ([#454](https://github.com/workos/workos-php/issues/454)) ([67a1067](https://github.com/workos/workos-php/commit/67a10676f11a1f3bbd735139d91e20388a792cb8)) + + +### Miscellaneous Chores + +* **deps:** update github-actions versions ([#453](https://github.com/workos/workos-php/issues/453)) ([35c9dd2](https://github.com/workos/workos-php/commit/35c9dd2f4acd6cfb2d23d7531b84015689815ad1)) +* use American spelling and add agent spelling rule ([#455](https://github.com/workos/workos-php/issues/455)) ([68cd9ea](https://github.com/workos/workos-php/commit/68cd9eabd5cb2b4dd7ce9fe071307d274ce9a5cb)) + ## [9.4.0](https://github.com/workos/workos-php/compare/v9.3.0...v9.4.0) (2026-09-18) ### Features diff --git a/lib/Version.php b/lib/Version.php index 8d7d956b..de084847 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 = '9.4.0'; // x-release-please-version + public const SDK_VERSION = '9.5.0'; // x-release-please-version } From 93c8217f5a2596b926112a2e1111e4295bee9a3b Mon Sep 17 00:00:00 2001 From: "workos-sdk-automation[bot]" <255426317+workos-sdk-automation[bot]@users.noreply.github.com> Date: Mon, 19 Oct 2026 13:56:47 +0000 Subject: [PATCH 2/2] chore: inline release notes from .changelog-pending --- ...2873c2f2c846fa33dcbdadaba761c23faaf2cbd.md | 6 - ...47ddc7441c12b312c7308b3d470da87d04bf729.md | 186 -------------- ...828c87a2b14abbb0f0127a6cb0b3a52f3dfc76f.md | 10 - ...6ae9d6780ace6ef8419c462017f93619d5367b2.md | 6 - CHANGELOG.md | 227 ++++++++++++++++-- 5 files changed, 208 insertions(+), 227 deletions(-) delete mode 100644 .changelog-pending/2026-09-24T14-13-55-e2873c2f2c846fa33dcbdadaba761c23faaf2cbd.md delete mode 100644 .changelog-pending/2026-10-14T21-32-02-247ddc7441c12b312c7308b3d470da87d04bf729.md delete mode 100644 .changelog-pending/2026-10-15T16-01-16-f828c87a2b14abbb0f0127a6cb0b3a52f3dfc76f.md delete mode 100644 .changelog-pending/2026-10-19T13-23-52-26ae9d6780ace6ef8419c462017f93619d5367b2.md diff --git a/.changelog-pending/2026-09-24T14-13-55-e2873c2f2c846fa33dcbdadaba761c23faaf2cbd.md b/.changelog-pending/2026-09-24T14-13-55-e2873c2f2c846fa33dcbdadaba761c23faaf2cbd.md deleted file mode 100644 index bd7c55aa..00000000 --- a/.changelog-pending/2026-09-24T14-13-55-e2873c2f2c846fa33dcbdadaba761c23faaf2cbd.md +++ /dev/null @@ -1,6 +0,0 @@ -* [#447](https://github.com/workos/workos-php/pull/447) feat(generated): regenerate from spec - - **Features** - * **[user_management](https://workos.com/docs/reference/authkit/user)**: - * Added model `UserRoleAssignmentSourceGroup` - * Added `group` to `UserRoleAssignmentSource` diff --git a/.changelog-pending/2026-10-14T21-32-02-247ddc7441c12b312c7308b3d470da87d04bf729.md b/.changelog-pending/2026-10-14T21-32-02-247ddc7441c12b312c7308b3d470da87d04bf729.md deleted file mode 100644 index 246c8149..00000000 --- a/.changelog-pending/2026-10-14T21-32-02-247ddc7441c12b312c7308b3d470da87d04bf729.md +++ /dev/null @@ -1,186 +0,0 @@ -* [#452](https://github.com/workos/workos-php/pull/452) feat(generated)!: regenerate from spec (9 changes) - - **⚠️ Breaking** - * **[pipes](https://workos.com/docs/reference/pipes)**: - * Removed model `AddDataIntegrationsUpsertApiKeyRequest` - * Removed model `AddDataIntegrationsUpsertClientCredentialsRequest` - * Removed enum `AddDataIntegrationsUpsertApiKeyRequestConnectionOwner` - * Removed enum `AddDataIntegrationsUpsertClientCredentialsRequestConnectionOwner` - - **Features** - * **[admin_portal](https://workos.com/docs/reference/admin-portal)**: - * Added model `RevokeLink` - * Added `external_user_id` to `GenerateLink` - * Added endpoint `POST /portal/revoke_link` - * Changed errors for endpoint `POST /portal/generate_link` - * **[agents](https://workos.com/docs/reference/agents)**: - * Added model `AgentBlueprintInvocableAs` - * Added model `AgentBlueprintsCreateRequestInvocableAs` - * Added model `AgentBlueprintsUpdateRequestInvocableAs` - * Added `invocable_as` to `AgentBlueprint` - * Added `invocable_as` to `AgentBlueprintsCreateRequest` - * Added `invocable_as` to `AgentBlueprintsUpdateRequest` - * Added enum `AgentBlueprintInvocableAsInstanceTypes` - * Added enum `AgentBlueprintsCreateRequestInvocableAsInstanceTypes` - * Added enum `AgentBlueprintsUpdateRequestInvocableAsInstanceTypes` - * **[audit_logs](https://workos.com/docs/reference/audit-logs)**: - * Changed errors for endpoint `GET /audit_logs/actions` - * Changed errors for endpoint `GET /audit_logs/actions/{actionName}/schemas` - * Changed errors for endpoint `POST /audit_logs/actions/{actionName}/schemas` - * Changed errors for endpoint `POST /audit_logs/events` - * Changed errors for endpoint `POST /audit_logs/exports` - * Changed errors for endpoint `GET /audit_logs/exports/{auditLogExportId}` - * **[authorization](https://workos.com/docs/reference/fga)**: - * Changed errors for endpoint `GET /authorization/organization_memberships/{organization_membership_id}/role_assignments` - * Changed errors for endpoint `POST /authorization/groups/{group_id}/role_assignments` - * Changed errors for endpoint `PUT /authorization/groups/{group_id}/role_assignments` - * Changed errors for endpoint `GET /authorization/groups/{group_id}/role_assignments/{role_assignment_id}` - * Changed errors for endpoint `POST /authorization/organization_memberships/{organization_membership_id}/check` - * Changed errors for endpoint `GET /authorization/organization_memberships/{organization_membership_id}/resources` - * Changed errors for endpoint `GET /authorization/organization_memberships/{organization_membership_id}/resources/{resource_id}/permissions` - * Changed errors for endpoint `GET /authorization/organization_memberships/{organization_membership_id}/resources/{resource_type_slug}/{external_id}/permissions` - * Changed errors for endpoint `POST /authorization/organization_memberships/{organization_membership_id}/role_assignments` - * Changed errors for endpoint `GET /authorization/organizations/{organization_id}/resources/{resource_type_slug}/{external_id}` - * Changed errors for endpoint `PATCH /authorization/organizations/{organization_id}/resources/{resource_type_slug}/{external_id}` - * Changed errors for endpoint `GET /authorization/organizations/{organization_id}/resources/{resource_type_slug}/{external_id}/organization_memberships` - * Changed errors for endpoint `GET /authorization/organizations/{organization_id}/resources/{resource_type_slug}/{external_id}/role_assignments` - * Changed errors for endpoint `GET /authorization/resources` - * Changed errors for endpoint `POST /authorization/resources` - * Changed errors for endpoint `GET /authorization/resources/{resource_id}` - * Changed errors for endpoint `PATCH /authorization/resources/{resource_id}` - * Changed errors for endpoint `GET /authorization/resources/{resource_id}/organization_memberships` - * Changed errors for endpoint `GET /authorization/resources/{resource_id}/role_assignments` - * **[directory_sync](https://workos.com/docs/reference/directory-sync)**: - * Added model `DirectorySyncResponse` - * Added model `DirectorySyncRateLimitError` - * Added endpoint `POST /directories/{id}/sync` - * **[feature_flags](https://workos.com/docs/reference/feature-flags)**: - * Changed errors for endpoint `PUT /feature-flags/{slug}/disable` - * Changed errors for endpoint `PUT /feature-flags/{slug}/enable` - * **[organization_membership](https://workos.com/docs/reference/authkit/organization-membership)**: - * Changed errors for endpoint `DELETE /user_management/organization_memberships/{id}` - * **[organizations](https://workos.com/docs/reference/organization)**: - * Changed errors for endpoint `GET /organizations/{id}/audit_logs_retention` - * Changed errors for endpoint `PUT /organizations/{id}/audit_logs_retention` - * Changed errors for endpoint `POST /organizations/{organization_id}/it_contacts/{contact_id}/invite` - * **[pipes](https://workos.com/docs/reference/pipes)**: - * Added `established_by_user_id` to `ConnectedAccountWriteResponse` - * Added `state_reason` to `ConnectedAccountWriteResponse` - * Added `established_by_user_id` to `ConnectedAccount` - * Added `state_reason` to `ConnectedAccount` - * Added `established_by_user_id` to `DataIntegrationsListResponseDataConnectedAccount` - * Added `state_reason` to `DataIntegrationsListResponseDataConnectedAccount` - * Changed idempotency-key contract for endpoint `POST /data-integrations/{slug}/api-key` - * Changed idempotency-key contract for endpoint `POST /data-integrations/{slug}/client-credentials` - * Changed idempotency-key contract for endpoint `POST /organizations/{organization_id}/connected_accounts/{slug}` - * Changed idempotency-key contract for endpoint `POST /user_management/users/{user_id}/connected_accounts/{slug}` - * Added model `ConnectedAccountWriteResponse` - * Added model `ConnectedAccountWriteResponseWarning` - * Added `account_display_name` to `CreateOrganizationConnectedAccount` - * Added `account_identifier` to `CreateOrganizationConnectedAccount` - * Added `account_display_name` to `OrganizationConnectedAccount` - * Added `account_identifier` to `OrganizationConnectedAccount` - * Added `account_display_name` to `CreateConnectedAccount` - * Added `account_identifier` to `CreateConnectedAccount` - * Added `account_display_name` to `ConnectedAccountInput` - * Added `account_identifier` to `ConnectedAccountInput` - * Added `account_display_name` to `DataIntegrationsCreateApiKeyConnectionRequest` - * Added `account_identifier` to `DataIntegrationsCreateApiKeyConnectionRequest` - * Added `account_display_name` to `DataIntegrationsUpsertApiKeyRequest` - * Added `account_identifier` to `DataIntegrationsUpsertApiKeyRequest` - * Added `account_display_name` to `ReauthorizeDataIntegrationsUpsertApiKeyRequest` - * Added `account_identifier` to `ReauthorizeDataIntegrationsUpsertApiKeyRequest` - * Added `account_display_name` to `DataIntegrationsUpsertApiKeyRequest2` - * Added `account_identifier` to `DataIntegrationsUpsertApiKeyRequest2` - * Added `account_display_name` to `DataIntegrationsGetDataIntegrationAuthorizeUrlRequest` - * Added `account_display_name` to `AddDataIntegrationsGetDataIntegrationAuthorizeUrlRequest` - * Added `account_display_name` to `ReauthorizeDataIntegrationsGetDataIntegrationAuthorizeUrlRequest` - * Added `account_display_name` to `DataIntegrationsCreateClientCredentialsConnectionRequest` - * Added `account_identifier` to `DataIntegrationsCreateClientCredentialsConnectionRequest` - * Added `account_display_name` to `DataIntegrationsUpsertClientCredentialsRequest` - * Added `account_identifier` to `DataIntegrationsUpsertClientCredentialsRequest` - * Added `account_display_name` to `ReauthorizeDataIntegrationsUpsertClientCredentialsRequest` - * Added `account_identifier` to `ReauthorizeDataIntegrationsUpsertClientCredentialsRequest` - * Added `account_display_name` to `DataIntegrationsUpsertClientCredentialsRequest2` - * Added `account_identifier` to `DataIntegrationsUpsertClientCredentialsRequest2` - * Added enum `ConnectedAccountWriteResponseConnectionRole` - * Added enum `ConnectedAccountWriteResponseAuthMethod` - * Added enum `ConnectedAccountWriteResponseState` - * Changed errors for endpoint `POST /data-integrations/{slug}/api-key` - * Changed errors for endpoint `POST /data-integrations/{slug}/authorize` - * Changed errors for endpoint `POST /data-integrations/{slug}/client-credentials` - * Added model `AddDataIntegrationsGetDataIntegrationAuthorizeUrlRequest` - * Added model `ReauthorizeDataIntegrationsGetDataIntegrationAuthorizeUrlRequest` - * Added enum `AddDataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner` - * Added enum `ReauthorizeDataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner` - * Added model `DataIntegrationsCreateApiKeyConnectionRequest` - * Added model `DataIntegrationsCreateClientCredentialsConnectionRequest` - * Added enum `DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner` - * Added enum `DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner` - * Added endpoint `POST /data-integrations/{slug}/api-key` - * Added endpoint `POST /data-integrations/{slug}/client-credentials` - * Added `config` to `DataIntegrationVendedCredential` - * Added model `DataIntegrationVendedCredential` - * Added model `CreateOrganizationConnectedAccount` - * Added model `CreateConnectedAccount` - * Added model `AddDataIntegrationsUpsertApiKeyRequest` - * Added model `ReauthorizeDataIntegrationsUpsertApiKeyRequest` - * Added model `DataIntegrationsUpsertApiKeyRequest2` - * Added model `AddDataIntegrationsUpsertClientCredentialsRequest` - * Added model `ReauthorizeDataIntegrationsUpsertClientCredentialsRequest` - * Added model `DataIntegrationsUpsertClientCredentialsRequest2` - * Added enum `CreateOrganizationConnectedAccountState` - * Added enum `CreateConnectedAccountState` - * Added enum `AddDataIntegrationsUpsertApiKeyRequestConnectionOwner` - * Added enum `ReauthorizeDataIntegrationsUpsertApiKeyRequestConnectionOwner` - * Added enum `DataIntegrationsUpsertApiKeyRequest2ConnectionOwner` - * Added enum `AddDataIntegrationsUpsertClientCredentialsRequestConnectionOwner` - * Added enum `ReauthorizeDataIntegrationsUpsertClientCredentialsRequestConnectionOwner` - * Added enum `DataIntegrationsUpsertClientCredentialsRequest2ConnectionOwner` - * Added parameter `OrganizationsDataProviders.updateOrganizationDataInstallation.connection_intent` - * Added parameter `UserManagementDataProviders.updateUserDataInstallation.connection_intent` - * Added model `OrganizationConnectedAccount` - * Added enum `OrganizationConnectedAccountState` - * **[radar](https://workos.com/docs/reference/radar)**: - * Changed errors for endpoint `POST /radar/attempts` - * Changed errors for endpoint `PUT /radar/attempts/{id}` - * Changed errors for endpoint `POST /radar/lists/{type}/{action}` - * **[sso](https://workos.com/docs/reference/sso)**: - * Added `code_verifier` to `TokenQuery` - * **[user_management](https://workos.com/docs/reference/authkit/user)**: - * Changed errors for endpoint `POST /user_management/invitations` - * Changed errors for endpoint `POST /user_management/invitations/{id}/resend` - * Changed errors for endpoint `POST /user_management/waitlist_entries/{id}/approve` - * Changed errors for endpoint `PUT /user_management/users/{id}` - - **Fixes** - * **[agents](https://workos.com/docs/reference/agents)**: - * Changed errors for endpoint `POST /agents/blueprints/{agent_blueprint_id}/tokens` - * **[pipes](https://workos.com/docs/reference/pipes)**: - * Changed response of `Pipes.createApiKeyConnection` from `ConnectedAccount` to `ConnectedAccountWriteResponse` - * Changed response of `Pipes.upsertApiKey` from `ConnectedAccount` to `ConnectedAccountWriteResponse` - * Changed response of `Pipes.createClientCredentialsConnection` from `ConnectedAccount` to `ConnectedAccountWriteResponse` - * Changed response of `Pipes.upsertClientCredentials` from `ConnectedAccount` to `ConnectedAccountWriteResponse` - * Changed response of `OrganizationsDataProviders.createOrganizationDataInstallation` from `ConnectedAccount` to `ConnectedAccountWriteResponse` - * Changed response of `OrganizationsDataProviders.updateOrganizationDataInstallation` from `ConnectedAccount` to `ConnectedAccountWriteResponse` - * Changed response of `UserManagementDataProviders.createUserDataInstallation` from `ConnectedAccount` to `ConnectedAccountWriteResponse` - * Changed response of `UserManagementDataProviders.updateUserDataInstallation` from `ConnectedAccount` to `ConnectedAccountWriteResponse` - * Changed errors for endpoint `POST /organizations/{organization_id}/connected_accounts/{slug}` - * Changed errors for endpoint `POST /user_management/users/{user_id}/connected_accounts/{slug}` - * Changed errors for endpoint `PUT /data-integrations/{slug}/api-key` - * Changed request body for `Pipes.getDataIntegrationAuthorizeUrl` - * Changed errors for endpoint `POST /data-integrations/{slug}/authorize` - * Changed errors for endpoint `PUT /data-integrations/{slug}/client-credentials` - * Changed request body for `Pipes.upsertApiKey` - * Changed request body for `Pipes.upsertClientCredentials` - * Changed the type of `DataIntegrationCredentialsResponse.credential` - * Removed `connected_account_id` from `DataIntegrationsUpsertApiKeyRequest` - * Removed `connected_account_id` from `DataIntegrationsUpsertClientCredentialsRequest` - * Changed request body of `OrganizationsDataProviders.createOrganizationDataInstallation` from `OrganizationConnectedAccount` to `CreateOrganizationConnectedAccount` - * Changed request body of `UserManagementDataProviders.createUserDataInstallation` from `ConnectedAccountInput` to `CreateConnectedAccount` - * Changed request body of `OrganizationsDataProviders.createOrganizationDataInstallation` from `ConnectedAccountInput` to `OrganizationConnectedAccount` - * Changed request body of `OrganizationsDataProviders.updateOrganizationDataInstallation` from `ConnectedAccountInput` to `OrganizationConnectedAccount` - * Changed errors for endpoint `PUT /organizations/{organization_id}/connected_accounts/{slug}` - * **[sso](https://workos.com/docs/reference/sso)**: - * Changed errors for endpoint `POST /connections` - * Changed errors for endpoint `POST /connections/{connectionId}/saml_sp_signing_cert` diff --git a/.changelog-pending/2026-10-15T16-01-16-f828c87a2b14abbb0f0127a6cb0b3a52f3dfc76f.md b/.changelog-pending/2026-10-15T16-01-16-f828c87a2b14abbb0f0127a6cb0b3a52f3dfc76f.md deleted file mode 100644 index 5c3aa27c..00000000 --- a/.changelog-pending/2026-10-15T16-01-16-f828c87a2b14abbb0f0127a6cb0b3a52f3dfc76f.md +++ /dev/null @@ -1,10 +0,0 @@ -* [#454](https://github.com/workos/workos-php/pull/454) feat(generated)!: regenerate from spec (3 changes) - - **Features** - * **[user_management](https://workos.com/docs/reference/authkit/user)**: - * Changed errors for endpoint `POST /user_management/users` - * Changed errors for endpoint `POST /user_management/magic_auth` - - **Fixes** - * **[user_management](https://workos.com/docs/reference/authkit/user)**: - * Changed errors for endpoint `POST /user_management/authenticate` diff --git a/.changelog-pending/2026-10-19T13-23-52-26ae9d6780ace6ef8419c462017f93619d5367b2.md b/.changelog-pending/2026-10-19T13-23-52-26ae9d6780ace6ef8419c462017f93619d5367b2.md deleted file mode 100644 index 56fb94f0..00000000 --- a/.changelog-pending/2026-10-19T13-23-52-26ae9d6780ace6ef8419c462017f93619d5367b2.md +++ /dev/null @@ -1,6 +0,0 @@ -* [#456](https://github.com/workos/workos-php/pull/456) fix(generated): regenerate from spec - - **Features** - * **[agents](https://workos.com/docs/reference/agents)**: - * Added `revoked_at` to `AgentRegistration` - * Added endpoint `POST /agents/registrations/{id}/revoke` diff --git a/CHANGELOG.md b/CHANGELOG.md index d65a5744..7d85496a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,33 +2,222 @@ ## [9.5.0](https://github.com/workos/workos-php/compare/v9.4.0...v9.5.0) (2026-10-19) +### Miscellaneous Chores -### Features +* **deps:** update github-actions versions ([#453](https://github.com/workos/workos-php/issues/453)) ([35c9dd2](https://github.com/workos/workos-php/commit/35c9dd2f4acd6cfb2d23d7531b84015689815ad1)) +* use American spelling and add agent spelling rule ([#455](https://github.com/workos/workos-php/issues/455)) ([68cd9ea](https://github.com/workos/workos-php/commit/68cd9eabd5cb2b4dd7ce9fe071307d274ce9a5cb)) + +* [#447](https://github.com/workos/workos-php/pull/447) feat(generated): regenerate from spec + + **Features** + * **[user_management](https://workos.com/docs/reference/authkit/user)**: + * Added model `UserRoleAssignmentSourceGroup` + * Added `group` to `UserRoleAssignmentSource` -* **admin_portal:** SDK surface change: `AdminPortal.createRevokeLink` was renamed to `AdminPortal.revokeLink` ([#454](https://github.com/workos/workos-php/issues/454)) ([67a1067](https://github.com/workos/workos-php/commit/67a10676f11a1f3bbd735139d91e20388a792cb8)) -* **admin_portal:** Update admin portal API surface ([#452](https://github.com/workos/workos-php/issues/452)) ([d873585](https://github.com/workos/workos-php/commit/d8735850145ab0adf5d7b5a47614e659dd7437b0)) -* **audit_logs:** Update audit log API surface ([#452](https://github.com/workos/workos-php/issues/452)) ([d873585](https://github.com/workos/workos-php/commit/d8735850145ab0adf5d7b5a47614e659dd7437b0)) -* **authorization:** Update authorization API surface ([#452](https://github.com/workos/workos-php/issues/452)) ([d873585](https://github.com/workos/workos-php/commit/d8735850145ab0adf5d7b5a47614e659dd7437b0)) -* **feature_flags:** Update feature flag API surface ([#452](https://github.com/workos/workos-php/issues/452)) ([d873585](https://github.com/workos/workos-php/commit/d8735850145ab0adf5d7b5a47614e659dd7437b0)) -* **generated:** AdminPortal, Agents, ApiKeys, AuditLogs, Authorization, ClientApi, Connect, DirectorySync, Events, FeatureFlags, Groups, MultiFactorAuth, OrganizationDomains, OrganizationMembership, Organizations, Pipes, PipesProvider, PlatformTeams, Radar, SSO, UserManagement, Vault, Webhooks, Widgets (batch aeefef11) ([#456](https://github.com/workos/workos-php/issues/456)) ([b7d396a](https://github.com/workos/workos-php/commit/b7d396a2291a96590749abc7133d5f0d3b7362d2)) -* **generated:** Authorization (batch c64ce1e7) ([#447](https://github.com/workos/workos-php/issues/447)) ([75c1393](https://github.com/workos/workos-php/commit/75c139313c09d787ba78efea021b06211835ad6b)) -* **organizations:** Update organization API surface ([#452](https://github.com/workos/workos-php/issues/452)) ([d873585](https://github.com/workos/workos-php/commit/d8735850145ab0adf5d7b5a47614e659dd7437b0)) -* **pipes:** Change Pipes API surface ([#452](https://github.com/workos/workos-php/issues/452)) ([d873585](https://github.com/workos/workos-php/commit/d8735850145ab0adf5d7b5a47614e659dd7437b0)) -* **pipes:** Update Pipes API surface ([#452](https://github.com/workos/workos-php/issues/452)) ([d873585](https://github.com/workos/workos-php/commit/d8735850145ab0adf5d7b5a47614e659dd7437b0)) -* **radar:** Update radar API surface ([#452](https://github.com/workos/workos-php/issues/452)) ([d873585](https://github.com/workos/workos-php/commit/d8735850145ab0adf5d7b5a47614e659dd7437b0)) -* **user_management:** Update user management API surface ([#452](https://github.com/workos/workos-php/issues/452)) ([d873585](https://github.com/workos/workos-php/commit/d8735850145ab0adf5d7b5a47614e659dd7437b0)) -* **user_management:** Update user management API surface ([#454](https://github.com/workos/workos-php/issues/454)) ([67a1067](https://github.com/workos/workos-php/commit/67a10676f11a1f3bbd735139d91e20388a792cb8)) +* [#452](https://github.com/workos/workos-php/pull/452) feat(generated)!: regenerate from spec (9 changes) + **⚠️ Breaking** + * **[pipes](https://workos.com/docs/reference/pipes)**: + * Removed model `AddDataIntegrationsUpsertApiKeyRequest` + * Removed model `AddDataIntegrationsUpsertClientCredentialsRequest` + * Removed enum `AddDataIntegrationsUpsertApiKeyRequestConnectionOwner` + * Removed enum `AddDataIntegrationsUpsertClientCredentialsRequestConnectionOwner` -### Bug Fixes + **Features** + * **[admin_portal](https://workos.com/docs/reference/admin-portal)**: + * Added model `RevokeLink` + * Added `external_user_id` to `GenerateLink` + * Added endpoint `POST /portal/revoke_link` + * Changed errors for endpoint `POST /portal/generate_link` + * **[agents](https://workos.com/docs/reference/agents)**: + * Added model `AgentBlueprintInvocableAs` + * Added model `AgentBlueprintsCreateRequestInvocableAs` + * Added model `AgentBlueprintsUpdateRequestInvocableAs` + * Added `invocable_as` to `AgentBlueprint` + * Added `invocable_as` to `AgentBlueprintsCreateRequest` + * Added `invocable_as` to `AgentBlueprintsUpdateRequest` + * Added enum `AgentBlueprintInvocableAsInstanceTypes` + * Added enum `AgentBlueprintsCreateRequestInvocableAsInstanceTypes` + * Added enum `AgentBlueprintsUpdateRequestInvocableAsInstanceTypes` + * **[audit_logs](https://workos.com/docs/reference/audit-logs)**: + * Changed errors for endpoint `GET /audit_logs/actions` + * Changed errors for endpoint `GET /audit_logs/actions/{actionName}/schemas` + * Changed errors for endpoint `POST /audit_logs/actions/{actionName}/schemas` + * Changed errors for endpoint `POST /audit_logs/events` + * Changed errors for endpoint `POST /audit_logs/exports` + * Changed errors for endpoint `GET /audit_logs/exports/{auditLogExportId}` + * **[authorization](https://workos.com/docs/reference/fga)**: + * Changed errors for endpoint `GET /authorization/organization_memberships/{organization_membership_id}/role_assignments` + * Changed errors for endpoint `POST /authorization/groups/{group_id}/role_assignments` + * Changed errors for endpoint `PUT /authorization/groups/{group_id}/role_assignments` + * Changed errors for endpoint `GET /authorization/groups/{group_id}/role_assignments/{role_assignment_id}` + * Changed errors for endpoint `POST /authorization/organization_memberships/{organization_membership_id}/check` + * Changed errors for endpoint `GET /authorization/organization_memberships/{organization_membership_id}/resources` + * Changed errors for endpoint `GET /authorization/organization_memberships/{organization_membership_id}/resources/{resource_id}/permissions` + * Changed errors for endpoint `GET /authorization/organization_memberships/{organization_membership_id}/resources/{resource_type_slug}/{external_id}/permissions` + * Changed errors for endpoint `POST /authorization/organization_memberships/{organization_membership_id}/role_assignments` + * Changed errors for endpoint `GET /authorization/organizations/{organization_id}/resources/{resource_type_slug}/{external_id}` + * Changed errors for endpoint `PATCH /authorization/organizations/{organization_id}/resources/{resource_type_slug}/{external_id}` + * Changed errors for endpoint `GET /authorization/organizations/{organization_id}/resources/{resource_type_slug}/{external_id}/organization_memberships` + * Changed errors for endpoint `GET /authorization/organizations/{organization_id}/resources/{resource_type_slug}/{external_id}/role_assignments` + * Changed errors for endpoint `GET /authorization/resources` + * Changed errors for endpoint `POST /authorization/resources` + * Changed errors for endpoint `GET /authorization/resources/{resource_id}` + * Changed errors for endpoint `PATCH /authorization/resources/{resource_id}` + * Changed errors for endpoint `GET /authorization/resources/{resource_id}/organization_memberships` + * Changed errors for endpoint `GET /authorization/resources/{resource_id}/role_assignments` + * **[directory_sync](https://workos.com/docs/reference/directory-sync)**: + * Added model `DirectorySyncResponse` + * Added model `DirectorySyncRateLimitError` + * Added endpoint `POST /directories/{id}/sync` + * **[feature_flags](https://workos.com/docs/reference/feature-flags)**: + * Changed errors for endpoint `PUT /feature-flags/{slug}/disable` + * Changed errors for endpoint `PUT /feature-flags/{slug}/enable` + * **[organization_membership](https://workos.com/docs/reference/authkit/organization-membership)**: + * Changed errors for endpoint `DELETE /user_management/organization_memberships/{id}` + * **[organizations](https://workos.com/docs/reference/organization)**: + * Changed errors for endpoint `GET /organizations/{id}/audit_logs_retention` + * Changed errors for endpoint `PUT /organizations/{id}/audit_logs_retention` + * Changed errors for endpoint `POST /organizations/{organization_id}/it_contacts/{contact_id}/invite` + * **[pipes](https://workos.com/docs/reference/pipes)**: + * Added `established_by_user_id` to `ConnectedAccountWriteResponse` + * Added `state_reason` to `ConnectedAccountWriteResponse` + * Added `established_by_user_id` to `ConnectedAccount` + * Added `state_reason` to `ConnectedAccount` + * Added `established_by_user_id` to `DataIntegrationsListResponseDataConnectedAccount` + * Added `state_reason` to `DataIntegrationsListResponseDataConnectedAccount` + * Changed idempotency-key contract for endpoint `POST /data-integrations/{slug}/api-key` + * Changed idempotency-key contract for endpoint `POST /data-integrations/{slug}/client-credentials` + * Changed idempotency-key contract for endpoint `POST /organizations/{organization_id}/connected_accounts/{slug}` + * Changed idempotency-key contract for endpoint `POST /user_management/users/{user_id}/connected_accounts/{slug}` + * Added model `ConnectedAccountWriteResponse` + * Added model `ConnectedAccountWriteResponseWarning` + * Added `account_display_name` to `CreateOrganizationConnectedAccount` + * Added `account_identifier` to `CreateOrganizationConnectedAccount` + * Added `account_display_name` to `OrganizationConnectedAccount` + * Added `account_identifier` to `OrganizationConnectedAccount` + * Added `account_display_name` to `CreateConnectedAccount` + * Added `account_identifier` to `CreateConnectedAccount` + * Added `account_display_name` to `ConnectedAccountInput` + * Added `account_identifier` to `ConnectedAccountInput` + * Added `account_display_name` to `DataIntegrationsCreateApiKeyConnectionRequest` + * Added `account_identifier` to `DataIntegrationsCreateApiKeyConnectionRequest` + * Added `account_display_name` to `DataIntegrationsUpsertApiKeyRequest` + * Added `account_identifier` to `DataIntegrationsUpsertApiKeyRequest` + * Added `account_display_name` to `ReauthorizeDataIntegrationsUpsertApiKeyRequest` + * Added `account_identifier` to `ReauthorizeDataIntegrationsUpsertApiKeyRequest` + * Added `account_display_name` to `DataIntegrationsUpsertApiKeyRequest2` + * Added `account_identifier` to `DataIntegrationsUpsertApiKeyRequest2` + * Added `account_display_name` to `DataIntegrationsGetDataIntegrationAuthorizeUrlRequest` + * Added `account_display_name` to `AddDataIntegrationsGetDataIntegrationAuthorizeUrlRequest` + * Added `account_display_name` to `ReauthorizeDataIntegrationsGetDataIntegrationAuthorizeUrlRequest` + * Added `account_display_name` to `DataIntegrationsCreateClientCredentialsConnectionRequest` + * Added `account_identifier` to `DataIntegrationsCreateClientCredentialsConnectionRequest` + * Added `account_display_name` to `DataIntegrationsUpsertClientCredentialsRequest` + * Added `account_identifier` to `DataIntegrationsUpsertClientCredentialsRequest` + * Added `account_display_name` to `ReauthorizeDataIntegrationsUpsertClientCredentialsRequest` + * Added `account_identifier` to `ReauthorizeDataIntegrationsUpsertClientCredentialsRequest` + * Added `account_display_name` to `DataIntegrationsUpsertClientCredentialsRequest2` + * Added `account_identifier` to `DataIntegrationsUpsertClientCredentialsRequest2` + * Added enum `ConnectedAccountWriteResponseConnectionRole` + * Added enum `ConnectedAccountWriteResponseAuthMethod` + * Added enum `ConnectedAccountWriteResponseState` + * Changed errors for endpoint `POST /data-integrations/{slug}/api-key` + * Changed errors for endpoint `POST /data-integrations/{slug}/authorize` + * Changed errors for endpoint `POST /data-integrations/{slug}/client-credentials` + * Added model `AddDataIntegrationsGetDataIntegrationAuthorizeUrlRequest` + * Added model `ReauthorizeDataIntegrationsGetDataIntegrationAuthorizeUrlRequest` + * Added enum `AddDataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner` + * Added enum `ReauthorizeDataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner` + * Added model `DataIntegrationsCreateApiKeyConnectionRequest` + * Added model `DataIntegrationsCreateClientCredentialsConnectionRequest` + * Added enum `DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner` + * Added enum `DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner` + * Added endpoint `POST /data-integrations/{slug}/api-key` + * Added endpoint `POST /data-integrations/{slug}/client-credentials` + * Added `config` to `DataIntegrationVendedCredential` + * Added model `DataIntegrationVendedCredential` + * Added model `CreateOrganizationConnectedAccount` + * Added model `CreateConnectedAccount` + * Added model `AddDataIntegrationsUpsertApiKeyRequest` + * Added model `ReauthorizeDataIntegrationsUpsertApiKeyRequest` + * Added model `DataIntegrationsUpsertApiKeyRequest2` + * Added model `AddDataIntegrationsUpsertClientCredentialsRequest` + * Added model `ReauthorizeDataIntegrationsUpsertClientCredentialsRequest` + * Added model `DataIntegrationsUpsertClientCredentialsRequest2` + * Added enum `CreateOrganizationConnectedAccountState` + * Added enum `CreateConnectedAccountState` + * Added enum `AddDataIntegrationsUpsertApiKeyRequestConnectionOwner` + * Added enum `ReauthorizeDataIntegrationsUpsertApiKeyRequestConnectionOwner` + * Added enum `DataIntegrationsUpsertApiKeyRequest2ConnectionOwner` + * Added enum `AddDataIntegrationsUpsertClientCredentialsRequestConnectionOwner` + * Added enum `ReauthorizeDataIntegrationsUpsertClientCredentialsRequestConnectionOwner` + * Added enum `DataIntegrationsUpsertClientCredentialsRequest2ConnectionOwner` + * Added parameter `OrganizationsDataProviders.updateOrganizationDataInstallation.connection_intent` + * Added parameter `UserManagementDataProviders.updateUserDataInstallation.connection_intent` + * Added model `OrganizationConnectedAccount` + * Added enum `OrganizationConnectedAccountState` + * **[radar](https://workos.com/docs/reference/radar)**: + * Changed errors for endpoint `POST /radar/attempts` + * Changed errors for endpoint `PUT /radar/attempts/{id}` + * Changed errors for endpoint `POST /radar/lists/{type}/{action}` + * **[sso](https://workos.com/docs/reference/sso)**: + * Added `code_verifier` to `TokenQuery` + * **[user_management](https://workos.com/docs/reference/authkit/user)**: + * Changed errors for endpoint `POST /user_management/invitations` + * Changed errors for endpoint `POST /user_management/invitations/{id}/resend` + * Changed errors for endpoint `POST /user_management/waitlist_entries/{id}/approve` + * Changed errors for endpoint `PUT /user_management/users/{id}` -* **user_management:** Change errors for endpoint `POST /user_management/authenticate` ([#454](https://github.com/workos/workos-php/issues/454)) ([67a1067](https://github.com/workos/workos-php/commit/67a10676f11a1f3bbd735139d91e20388a792cb8)) + **Fixes** + * **[agents](https://workos.com/docs/reference/agents)**: + * Changed errors for endpoint `POST /agents/blueprints/{agent_blueprint_id}/tokens` + * **[pipes](https://workos.com/docs/reference/pipes)**: + * Changed response of `Pipes.createApiKeyConnection` from `ConnectedAccount` to `ConnectedAccountWriteResponse` + * Changed response of `Pipes.upsertApiKey` from `ConnectedAccount` to `ConnectedAccountWriteResponse` + * Changed response of `Pipes.createClientCredentialsConnection` from `ConnectedAccount` to `ConnectedAccountWriteResponse` + * Changed response of `Pipes.upsertClientCredentials` from `ConnectedAccount` to `ConnectedAccountWriteResponse` + * Changed response of `OrganizationsDataProviders.createOrganizationDataInstallation` from `ConnectedAccount` to `ConnectedAccountWriteResponse` + * Changed response of `OrganizationsDataProviders.updateOrganizationDataInstallation` from `ConnectedAccount` to `ConnectedAccountWriteResponse` + * Changed response of `UserManagementDataProviders.createUserDataInstallation` from `ConnectedAccount` to `ConnectedAccountWriteResponse` + * Changed response of `UserManagementDataProviders.updateUserDataInstallation` from `ConnectedAccount` to `ConnectedAccountWriteResponse` + * Changed errors for endpoint `POST /organizations/{organization_id}/connected_accounts/{slug}` + * Changed errors for endpoint `POST /user_management/users/{user_id}/connected_accounts/{slug}` + * Changed errors for endpoint `PUT /data-integrations/{slug}/api-key` + * Changed request body for `Pipes.getDataIntegrationAuthorizeUrl` + * Changed errors for endpoint `POST /data-integrations/{slug}/authorize` + * Changed errors for endpoint `PUT /data-integrations/{slug}/client-credentials` + * Changed request body for `Pipes.upsertApiKey` + * Changed request body for `Pipes.upsertClientCredentials` + * Changed the type of `DataIntegrationCredentialsResponse.credential` + * Removed `connected_account_id` from `DataIntegrationsUpsertApiKeyRequest` + * Removed `connected_account_id` from `DataIntegrationsUpsertClientCredentialsRequest` + * Changed request body of `OrganizationsDataProviders.createOrganizationDataInstallation` from `OrganizationConnectedAccount` to `CreateOrganizationConnectedAccount` + * Changed request body of `UserManagementDataProviders.createUserDataInstallation` from `ConnectedAccountInput` to `CreateConnectedAccount` + * Changed request body of `OrganizationsDataProviders.createOrganizationDataInstallation` from `ConnectedAccountInput` to `OrganizationConnectedAccount` + * Changed request body of `OrganizationsDataProviders.updateOrganizationDataInstallation` from `ConnectedAccountInput` to `OrganizationConnectedAccount` + * Changed errors for endpoint `PUT /organizations/{organization_id}/connected_accounts/{slug}` + * **[sso](https://workos.com/docs/reference/sso)**: + * Changed errors for endpoint `POST /connections` + * Changed errors for endpoint `POST /connections/{connectionId}/saml_sp_signing_cert` +* [#454](https://github.com/workos/workos-php/pull/454) feat(generated)!: regenerate from spec (3 changes) -### Miscellaneous Chores + **Features** + * **[user_management](https://workos.com/docs/reference/authkit/user)**: + * Changed errors for endpoint `POST /user_management/users` + * Changed errors for endpoint `POST /user_management/magic_auth` -* **deps:** update github-actions versions ([#453](https://github.com/workos/workos-php/issues/453)) ([35c9dd2](https://github.com/workos/workos-php/commit/35c9dd2f4acd6cfb2d23d7531b84015689815ad1)) -* use American spelling and add agent spelling rule ([#455](https://github.com/workos/workos-php/issues/455)) ([68cd9ea](https://github.com/workos/workos-php/commit/68cd9eabd5cb2b4dd7ce9fe071307d274ce9a5cb)) + **Fixes** + * **[user_management](https://workos.com/docs/reference/authkit/user)**: + * Changed errors for endpoint `POST /user_management/authenticate` + +* [#456](https://github.com/workos/workos-php/pull/456) fix(generated): regenerate from spec + + **Features** + * **[agents](https://workos.com/docs/reference/agents)**: + * Added `revoked_at` to `AgentRegistration` + * Added endpoint `POST /agents/registrations/{id}/revoke` ## [9.4.0](https://github.com/workos/workos-php/compare/v9.3.0...v9.4.0) (2026-09-18)