-beta.* suffix, for example,
3.2.0-beta.1. For more information on how to use beta
versions, refer to the README in the GitHub repository.
⚠️ Breaking
listOrganizationMemberships, createOrganizationMembership, getOrganizationMembership, updateOrganizationMembership, deleteOrganizationMembership, deactivateOrganizationMembership, and reactivateOrganizationMembership methodsOrganizationMembershipServicegetAuthorizationUrl() parameter screenHint from UserManagementAuthenticationScreenHint to RadarStandaloneAssessRequestAction typeUserManagementAuthenticationScreenHint enumUserManagementOrganizationMembershipGroups service$workos->userManagementOrganizationMembershipGroups() accessorlistOrganizationMembershipGroups() has been moved to the new OrganizationMembershipServicedeviceFingerprint parameter from Radar.createAttempt() methodbotScore parameter from Radar.createAttempt() methoddeviceFingerprint and botScore fields from RadarStandaloneAssessRequest modelRadarStandaloneAssessRequestAction: Login, Signup, SignUp2, SignUp3, SignIn2, SignIn3RadarStandaloneAssessRequestAction: SignUp from 'sign up' to 'sign-up', SignIn from 'sign in' to 'sign-in'RadarStandaloneResponseControl: CredentialStuffing, IpSignUpRateLimitRadarAction to RadarListActionRadarType to RadarListTypeAuditLogActionJson to AuditLogActionAuditLogExportJson to AuditLogExportAuditLogExportJsonState to AuditLogExportStateAuditLogSchemaJson to AuditLogSchemaAuditLogSchemaJsonActor to AuditLogSchemaActorInputAuditLogSchemaJsonTarget to AuditLogSchemaTargetInputAuditLogsRetentionJson to AuditLogsRetentioncreateSchema() method parameter types changed: AuditLogSchemaActor → AuditLogSchemaActorInput, AuditLogSchemaTarget → AuditLogSchemaTargetInputWebhookEndpointJson to WebhookEndpointWebhookEndpointJsonStatus to WebhookEndpointStatusUpdateWebhookEndpoint.status field type from WebhookEndpointJsonStatus to WebhookEndpointStatusPIPES_CONNECTED_ACCOUNT_CONNECTED, PIPES_CONNECTED_ACCOUNT_DISCONNECTED, PIPES_CONNECTED_ACCOUNT_REAUTHORIZATION_NEEDED eventsresourceId, resourceExternalId, resourceTypeSlug filter parameters to listRoleAssignments()roleSlug filter parameter to listRoleAssignmentsForResourceByExternalId() and listRoleAssignmentsForResource()search parameter from listResources() methodWorkOS\Vault class with generated WorkOS\Service\VaultWorkOS\Vault class (lib/Vault.php) with client-side encrypt/decrypt helpers has been removed$workos->vault() now returns WorkOS\Service\Vault with a different API surfacecreateDataKey(), createDecrypt(), createRekey(), listKv(), createKv(), getName(), getKv(), updateKv(), deleteKv(), listKvMetadata(), listKvVersions()Features
OrganizationMembershipService with methods: listOrganizationMemberships(), createOrganizationMembership(), getOrganizationMembership(), updateOrganizationMembership(), deleteOrganizationMembership(), deactivateOrganizationMembership(), reactivateOrganizationMembership(), and listOrganizationMembershipGroups()$workos->organizationMembership()UserManagement and UserManagementOrganizationMembershipGroups servicesVault service with methods: createDataKey(), createDecrypt(), createRekey(), listKv(), createKv(), getName(), getKv(), updateKv(), deleteKv(), listKvMetadata(), and listKvVersions()CreateDataKeyResponse, DecryptResponse, ObjectMetadata, ObjectModel, ObjectSummary, ObjectWithoutValue, ObjectVersion, VersionListResponseVaultOrder for sort direction$workos->vault()expires_at field to ApiKey, OrganizationApiKey, OrganizationApiKeyWithValue, UserApiKey, UserApiKeyWithValue modelsexpires_at field to ApiKeyCreatedData and ApiKeyRevokedData event data modelsexpiresAt parameter to createOrganizationApiKey() and createUserApiKey() methodsApplicationCredentialsListItem.lastUsedAt field type from ?string to ?\DateTimeImmutableNewConnectApplicationSecret.lastUsedAt field type from ?string to ?\DateTimeImmutablePipeConnectedAccount, PipesConnectedAccountConnected, PipesConnectedAccountDisconnected, PipesConnectedAccountReauthorizationNeededPipeConnectedAccountState with values connected and needs_reauthorization@throws to PHPDoc when appropriate (https://github.com/workos/workos-php/issues/360" rel="noreferrer" target="_blank">#360) (https://github.com/workos/workos-php/commit/ed68872bce0c62486f05890e464b1f8adfbdb6de" rel="noreferrer" target="_blank">ed68872)@oagen-ignore-start/end (https://github.com/workos/workos-php/issues/354" rel="noreferrer" target="_blank">#354) (https://github.com/workos/workos-php/commit/084d0d125f7f7cfcf0cbc9530063009831c303a1" rel="noreferrer" target="_blank">084d0d1)WorkOS client with service accessors like $workos->sso(), $workos->userManagement(), and $workos->authorization(). Direct use of many legacy top-level service classes and transport internals has been removed or renamed.guzzlehttp/guzzle:^7, paragonie/halite:^5.1, and ext-curl:^8.2.PaginatedResponse, and named arguments are strongly recommended because many method signatures changed in v5.connection to getAuthorizationUrl (https://github.com/workos/workos-php/issues/29" rel="noreferrer" target="_blank">#29) (https://github.com/workos/workos-php/commit/ade7019c5549a91bab0021420bcc9115eefeabee" rel="noreferrer" target="_blank">ade7019)Full Changelog: 4.30.0...4.30.1
Full Changelog: v4.29.0...4.30.0
roles to directory user and SSO profile by @kendallstrautman in #311Full Changelog: v4.28.0...v4.29.0
Full Changelog: v4.27.0...v4.28.0
Full Changelog: v4.26.0...v4.27.0
Full Changelog: v4.25.0...v4.26.0
permissions attribute to Role by @MrCrayfish in #287Full Changelog: v4.24.0...v4.25.0
Full Changelog: v4.22.0...v4.23.0
metadata support (https://github.com/workos/workos-php/pull/268" rel="noreferrer" target="_blank">#268)email standard attribute to DirectoryUser (https://github.com/workos/workos-php/pull/261" rel="noreferrer" target="_blank">#261)emails, job_title, and username standard attributes as deprecated. Enable the equivalent auto-mapped custom attributes instead (https://github.com/workos/workos-php/pull/261" rel="noreferrer" target="_blank">#261)Full Changelog: v4.21.0...v4.22.0
Full Changelog: v4.19.0...v4.20.0
lastSignInAt to user (https://github.com/workos/workos-php/pull/257)Full Changelog: v4.18.0...v4.19.0
return_to option to getLogoutUrl (https://github.com/workos/workos-php/pull/254" rel="noreferrer" target="_blank">#254)Full Changelog: v4.17.0...v4.18.0
Full Changelog: v4.16.0...v4.17.0
stripeCustomerId Parameter to Organization Methods by @Hannes-Kruger in #250Full Changelog: v4.15.0...v4.16.0
Full Changelog: v4.14.0...v4.15.0