Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "8.0.1"
".": "9.0.0"
}
59 changes: 59 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,64 @@
# Changelog

## [9.0.0](https://github.com/workos/workos-ruby/compare/v8.0.1...v9.0.0) (2026-05-26)

### Bug Fixes

* **ci:** extract version from PR title in changelog inline step ([93768a1](https://github.com/workos/workos-ruby/commit/93768a1c00aab7f82c869f38bea5925f6e8cd933))

* [#491](https://github.com/workos/workos-ruby/pull/491) feat(generated)!: regenerate from spec (9 changes)

**⚠️ Breaking**
* **organization_membership:** Migrate organization membership to dedicated service
* Moved organization membership methods from `UserManagement` to new `OrganizationMembershipService` class
* Methods `create_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_management`
* Removed `UserManagement::RoleSingle` and `UserManagement::RoleMultiple` data classes (moved to `OrganizationMembershipService`)
* **api_keys:** Add expires_at field to API key models
* Added `expires_at` optional field to `ApiKey`, `OrganizationApiKey`, `OrganizationApiKeyWithValue`, `UserApiKey`, and `UserApiKeyWithValue` models
* Added `expires_at` field to `CreateOrganizationApiKey` and `CreateUserApiKey` request models
* Updated `create_organization_api_key` and `create_user_api_key` methods to accept `expires_at` parameter
* **radar:** Remove device_fingerprint and bot_score fields from Radar
* Removed `device_fingerprint` and `bot_score` parameters from `Radar.create_attempt` method
* Removed `device_fingerprint` and `bot_score` fields from `RadarStandaloneAssessRequest` model
* Updated enum values in `RadarStandaloneAssessRequestAction`: removed `LOGIN`, `SIGNUP`, `SIGN_UP_2`, `SIGN_IN_2`, `SIGN_IN_3`, `SIGN_UP_3`; standardized to `SIGN_UP` and `SIGN_IN`
* Removed `CREDENTIAL_STUFFING` and `IP_SIGN_UP_RATE_LIMIT` from `RadarStandaloneResponseControl` enum
* **audit_logs:** Refactor audit logs models and type names
* Merged `AuditLogSchemaJson` fields into `AuditLogSchema`; removed `AuditLogSchemaJson` class
* Added new `AuditLogSchemaInput` class (write-side schema without read-only fields)
* Renamed `AuditLogSchemaJsonActor` to `AuditLogSchemaActorInput`
* Renamed `AuditLogSchemaJsonTarget` to `AuditLogSchemaTargetInput`
* Removed `AuditLogActionJson`; `AuditLogAction` now extends `BaseModel`
* Renamed `AuditLogExportJson` to `AuditLogExport` (now extends `BaseModel`)
* Renamed `AuditLogsRetentionJson` to `AuditLogsRetention` (now extends `BaseModel`)
* Removed `AuditLogExportJsonState` type; replaced with `AuditLogExportState`
* Updated `list_actions` method return type from `AuditLogActionJson` to `AuditLogAction`
* Updated `create_export` and `get_export` method return types from `AuditLogExportJson` to `AuditLogExport`
* **webhooks:** Rename WebhookEndpointJson to WebhookEndpoint
* Renamed `WebhookEndpointJson` to `WebhookEndpoint`
* Updated `list_webhook_endpoints`, `create_webhook_endpoint`, and `update_webhook_endpoint` method return types
* `WebhookEndpointStatus` is now an alias for `UpdateWebhookEndpointStatus` (no longer a standalone class); removed `WebhookEndpointJsonStatus` alias
* Updated `WebhookEndpoint` to extend `BaseModel` for consistency
* **authorization:** Add filtering parameters to authorization list methods
* Added `resource_id`, `resource_external_id`, `resource_type_slug` filter parameters to `list_role_assignments` method
* Added `role_slug` filter parameter to `list_role_assignments_for_resource_by_external_id` and `list_role_assignments_for_resource` methods
* Removed `search` parameter from `list_resources` method

**Features**
* **vault:** Add new Vault service with key-value operations
* Added new `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_versions`
* Added vault model classes: `Actor`, `CreateDataKeyRequest`, `CreateDataKeyResponse`, `CreateObjectRequest`, `DecryptRequest`, `DecryptResponse`, `DeleteObjectResponse`, `ObjectModel`, `ObjectMetadata`, `ObjectSummary`, `ObjectVersion`, `ObjectWithoutValue`, `RekeyRequest`, `UpdateObjectRequest`
* Added `VaultOrder` enum for sorting operations
* Added `client.vault` accessor to access the new service
* **pipes:** Add Pipes connected account event models
* Added `PipeConnectedAccount` model for representing connected accounts
* Added three new event models: `PipesConnectedAccountConnected`, `PipesConnectedAccountDisconnected`, `PipesConnectedAccountReauthorizationNeeded`
* Added `PipeConnectedAccountState` enum with `CONNECTED` and `NEEDS_REAUTHORIZATION` values
* Added new webhook event types to `CreateWebhookEndpointEvents` and `UpdateWebhookEndpointEvents`
* **generated:** Add Error and Actor shared models
* Added `Error` model in shared module for error responses
* Added `Actor` model in vault module representing user/actor information
* Updated inflections to map 'object' to 'ObjectModel' to avoid conflicts

## [8.0.1](https://github.com/workos/workos-ruby/compare/v8.0.0...v8.0.1) (2026-05-12)


Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
workos (8.0.1)
workos (9.0.0)
jwt (~> 3.1)
logger (~> 1.7)
zeitwerk (~> 2.6)
Expand Down Expand Up @@ -153,7 +153,7 @@ CHECKSUMS
unicode-emoji (4.2.0) sha256=519e69150f75652e40bf736106cfbc8f0f73aa3fb6a65afe62fefa7f80b0f80f
webmock (3.26.2) sha256=774556f2ea6371846cca68c01769b2eac0d134492d21f6d0ab5dd643965a4c90
webrick (1.9.2) sha256=beb4a15fc474defed24a3bda4ffd88a490d517c9e4e6118c3edce59e45864131
workos (8.0.1)
workos (9.0.0)
yard (0.9.43) sha256=cf8733a8f0485df2a162927e9b5f182215a61f6d22de096b8f402c726a1c5821
yard-markdown (0.7.1) sha256=06c378632dfe7ba053be9ba469eb4701aa0470e36bcf7e5546f353eb90c1bfd1
zeitwerk (2.7.5) sha256=d8da92128c09ea6ec62c949011b00ed4a20242b255293dd66bf41545398f73dd
Expand Down
2 changes: 1 addition & 1 deletion lib/workos/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

# @oagen-ignore-file
module WorkOS
VERSION = "8.0.1"
VERSION = "9.0.0"
end