From 18056bd29f3dffc16aa62cf61fa839979a1c4180 Mon Sep 17 00:00:00 2001 From: "workos-sdk-automation[bot]" <255426317+workos-sdk-automation[bot]@users.noreply.github.com> Date: Mon, 20 Apr 2026 14:19:40 +0000 Subject: [PATCH 1/3] chore(main): release 7.0.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 17 +++++++++++++++++ Gemfile.lock | 2 +- lib/workos/version.rb | 2 +- 4 files changed, 20 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index e1e352c1..aeda91d8 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "6.2.0" + ".": "7.0.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index ced80f47..c81c771d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## [7.0.0](https://github.com/workos/workos-ruby/compare/v6.2.0...v7.0.0) (2026-04-20) + + +### ⚠ BREAKING CHANGES + +* Release OpenAPI spec generated Ruby SDK ([#454](https://github.com/workos/workos-ruby/issues/454)) + +### Features + +* Release OpenAPI spec generated Ruby SDK ([#454](https://github.com/workos/workos-ruby/issues/454)) ([fd45b9d](https://github.com/workos/workos-ruby/commit/fd45b9d37bb9df9609fb293bf611b889fd485ff7)) + + +### Bug Fixes + +* outdated gemfile.lock ([e69ddbd](https://github.com/workos/workos-ruby/commit/e69ddbd811a67f7a63631b97659903854c08a3c6)) +* Remove extractVersion from matchUpdateTypes rules ([#455](https://github.com/workos/workos-ruby/issues/455)) ([8132e48](https://github.com/workos/workos-ruby/commit/8132e48bfd25100df393be9fae21bc5c33ab6ae4)) + ## [6.2.0](https://github.com/workos/workos-ruby/compare/v6.1.0...v6.2.0) (2026-03-06) diff --git a/Gemfile.lock b/Gemfile.lock index 3fdc312e..ed59f62d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - workos (6.2.0) + workos (7.0.0) jwt (~> 3.1) logger (~> 1.7) zeitwerk (~> 2.6) diff --git a/lib/workos/version.rb b/lib/workos/version.rb index fff66459..8098fd55 100644 --- a/lib/workos/version.rb +++ b/lib/workos/version.rb @@ -2,5 +2,5 @@ # @oagen-ignore-file module WorkOS - VERSION = "6.2.0" + VERSION = "7.0.0" end From 9e4dc0e782599527383c32f0b3e557c21b292955 Mon Sep 17 00:00:00 2001 From: Garen Torikian Date: Mon, 20 Apr 2026 10:45:02 -0400 Subject: [PATCH 2/3] Update CHANGELOG.md --- CHANGELOG.md | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c81c771d..dc241aca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,20 +2,28 @@ ## [7.0.0](https://github.com/workos/workos-ruby/compare/v6.2.0...v7.0.0) (2026-04-20) +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. -### ⚠ BREAKING CHANGES +### High-Level Changes -* Release OpenAPI spec generated Ruby SDK ([#454](https://github.com/workos/workos-ruby/issues/454)) +- **Client-centric architecture**: The SDK now revolves around an instantiated `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`). -### Features +- **Generated request/response models**: Typed models replace raw hashes. Response models no longer inherit from `Hash` — use accessor methods instead of bracket notation. -* Release OpenAPI spec generated Ruby SDK ([#454](https://github.com/workos/workos-ruby/issues/454)) ([fd45b9d](https://github.com/workos/workos-ruby/commit/fd45b9d37bb9df9609fb293bf611b889fd485ff7)) +- **Per-request overrides**: The new runtime supports `request_options:` for per-request API key, timeout, base URL, and retry overrides — useful for multi-tenant setups. +- **Minimum Ruby 3.3+**: The minimum Ruby version has been raised to 3.3. -### Bug Fixes +- **Renamed services and methods**: Several top-level services were renamed (e.g., `WorkOS::Portal` → `client.admin_portal`, `WorkOS::MFA` → `client.multi_factor_auth`). Method signatures now use explicit keyword arguments. + +- **Session management refactor**: AuthKit session sealing, refresh, and authentication flows were overhauled with a dedicated `SessionManager` on the client instance. + +- **New capabilities**: Device code flow, public/PKCE clients, `auto_paging_each` pagination, and `last_response` observability on all responses. + +### Migration Guide + +For detailed instructions on updating your application, see the **[v7 Migration Guide](https://github.com/workos/workos-ruby/blob/main/docs/V7_MIGRATION_GUIDE.md)**. -* outdated gemfile.lock ([e69ddbd](https://github.com/workos/workos-ruby/commit/e69ddbd811a67f7a63631b97659903854c08a3c6)) -* Remove extractVersion from matchUpdateTypes rules ([#455](https://github.com/workos/workos-ruby/issues/455)) ([8132e48](https://github.com/workos/workos-ruby/commit/8132e48bfd25100df393be9fae21bc5c33ab6ae4)) ## [6.2.0](https://github.com/workos/workos-ruby/compare/v6.1.0...v6.2.0) (2026-03-06) From 6941808734623c24b590fbc497172f746a353fbd Mon Sep 17 00:00:00 2001 From: "Garen J. Torikian" Date: Mon, 20 Apr 2026 10:55:58 -0400 Subject: [PATCH 3/3] commit Gemfile.lock --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index ed59f62d..7163e5f4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -124,7 +124,7 @@ CHECKSUMS unicode-display_width (3.2.0) sha256=0cdd96b5681a5949cdbc2c55e7b420facae74c4aaf9a9815eee1087cb1853c42 unicode-emoji (4.2.0) sha256=519e69150f75652e40bf736106cfbc8f0f73aa3fb6a65afe62fefa7f80b0f80f webmock (3.26.2) sha256=774556f2ea6371846cca68c01769b2eac0d134492d21f6d0ab5dd643965a4c90 - workos (6.2.0) + workos (7.0.0) zeitwerk (2.7.5) sha256=d8da92128c09ea6ec62c949011b00ed4a20242b255293dd66bf41545398f73dd BUNDLED WITH