-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
UserManagement to new OrganizationMembershipService classcreate_organization_membership, get_organization_membership, update_organization_membership, delete_organization_membership, deactivate_organization_membership, reactivate_organization_membership, list_organization_memberships, and list_organization_membership_groups now accessed via client.organization_membership instead of client.user_managementUserManagement::RoleSingle and UserManagement::RoleMultiple data classes (moved to OrganizationMembershipService)expires_at optional field to ApiKey, OrganizationApiKey, OrganizationApiKeyWithValue, UserApiKey, and UserApiKeyWithValue modelsexpires_at field to CreateOrganizationApiKey and CreateUserApiKey request modelscreate_organization_api_key and create_user_api_key methods to accept expires_at parameterdevice_fingerprint and bot_score parameters from Radar.create_attempt methoddevice_fingerprint and bot_score fields from RadarStandaloneAssessRequest modelRadarStandaloneAssessRequestAction: removed LOGIN, SIGNUP, SIGN_UP_2, SIGN_IN_2, SIGN_IN_3, SIGN_UP_3; standardized to SIGN_UP and SIGN_INCREDENTIAL_STUFFING and IP_SIGN_UP_RATE_LIMIT from RadarStandaloneResponseControl enumAuditLogSchemaJson fields into AuditLogSchema; removed AuditLogSchemaJson classAuditLogSchemaInput class (write-side schema without read-only fields)AuditLogSchemaJsonActor to AuditLogSchemaActorInputAuditLogSchemaJsonTarget to AuditLogSchemaTargetInputAuditLogActionJson; AuditLogAction now extends BaseModelAuditLogExportJson to AuditLogExport (now extends BaseModel)AuditLogsRetentionJson to AuditLogsRetention (now extends BaseModel)AuditLogExportJsonState type; replaced with AuditLogExportStatelist_actions method return type from AuditLogActionJson to AuditLogActioncreate_export and get_export method return types from AuditLogExportJson to AuditLogExportWebhookEndpointJson to WebhookEndpointlist_webhook_endpoints, create_webhook_endpoint, and update_webhook_endpoint method return typesWebhookEndpointStatus is now an alias for UpdateWebhookEndpointStatus (no longer a standalone class); removed WebhookEndpointJsonStatus aliasWebhookEndpoint to extend BaseModel for consistencyresource_id, resource_external_id, resource_type_slug filter parameters to list_role_assignments methodrole_slug filter parameter to list_role_assignments_for_resource_by_external_id and list_role_assignments_for_resource methodssearch parameter from list_resources methodFeatures
Vault service class with methods: create_data_key, create_decrypt, create_rekey, list_kv, create_kv, get_name, get_kv, update_kv, delete_kv, list_kv_metadata, list_kv_versionsActor, CreateDataKeyRequest, CreateDataKeyResponse, CreateObjectRequest, DecryptRequest, DecryptResponse, DeleteObjectResponse, ObjectModel, ObjectMetadata, ObjectSummary, ObjectVersion, ObjectWithoutValue, RekeyRequest, UpdateObjectRequestVaultOrder enum for sorting operationsclient.vault accessor to access the new servicePipeConnectedAccount model for representing connected accountsPipesConnectedAccountConnected, PipesConnectedAccountDisconnected, PipesConnectedAccountReauthorizationNeededPipeConnectedAccountState enum with CONNECTED and NEEDS_REAUTHORIZATION valuesCreateWebhookEndpointEvents and UpdateWebhookEndpointEventsError model in shared module for error responsesActor model in vault module representing user/actor information--- This PR was generated with Release Please. See documentation.
This is a major release that introduces a fully redesigned SDK architecture. The SDK is now generated from the WorkOS OpenAPI spec, bringing type safety, consistent interfaces, and improved developer ergonomics.
WorkOS::Client rather than module-level service calls. All product areas are accessed through client methods (e.g., client.organizations, client.user_management, client.sso).Hash — use accessor methods instead of bracket notation.request_options: for per-request API key, timeout, base URL, and retry overrides — useful for multi-tenant setups.WorkOS::Portal → client.admin_portal, WorkOS::MFA → client.multi_factor_auth). Method signatures now use explicit keyword arguments.SessionManager on the client instance.auto_paging_each pagination, and last_response observability on all responses.For detailed instructions on updating your application, see the https://github.com/workos/workos-ruby/blob/main/docs/V7_MIGRATION_GUIDE.md" rel="noreferrer" target="_blank">v7 Migration Guide.
See CHANGELOG.md for details
invitation_token parameter to authentication methods by @gjtorikian in #438Full Changelog: v6.0.0...v6.1.0
Full Changelog: v5.31.1...v6.0.0
Full Changelog: v5.31.0...v5.31.1
Full Changelog: v5.30.1...v5.31.0
roles to SSO profile and directory user by @kendallstrautman in #411Full Changelog: v5.29.0...v5.30.1
In this version, the package semver was not updated properly and still references v5.29.0
roles to SSO profile and directory user by @kendallstrautman in #411Full Changelog: v5.29.0...v5.30.0
Full Changelog: v5.28.0...v5.29.0
Full Changelog: v5.27.0...v5.28.0
Full Changelog: v5.26.0...v5.27.0
Full Changelog: v5.25.0...v5.26.0
Full Changelog: v5.24.0...v5.25.0
Full Changelog: v5.23.0...v5.24.0
Full Changelog: v5.21.0...v5.22.0
external_id, add to User object by @mxlje in #378permissions to Role by @andrewhampton in #382Full Changelog: v5.20.0...v5.21.0
Full Changelog: v5.19.0...v5.20.0
Full Changelog: v5.18.0...v5.19.0
email in UserManagement.update_user (#365)Full Changelog: v5.17.0...v5.17.1
custom_attributes field to SSO Profile (https://github.com/workos/workos-ruby/pull/360" rel="noreferrer" target="_blank">#360)Full Changelog: v5.16.1...v5.17.0
Full Changelog: v5.16.0...v5.16.1
email standard attribute to DirectoryUseremails, job_title, and username standard attributes as deprecated. Enable the equivalent auto-mapped custom attributes instead (https://github.com/workos/workos-ruby/pull/355" rel="noreferrer" target="_blank">#413)Full Changelog: v5.15.0...v5.16.0