Skip to content

Commit 5aaca34

Browse files
chore(main): release 7.0.0 (#456)
Co-authored-by: workos-sdk-automation[bot] <255426317+workos-sdk-automation[bot]@users.noreply.github.com> Co-authored-by: Garen Torikian <gjtorikian@users.noreply.github.com>
1 parent e69ddbd commit 5aaca34

4 files changed

Lines changed: 29 additions & 4 deletions

File tree

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "6.2.0"
2+
".": "7.0.0"
33
}

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
# Changelog
22

3+
## [7.0.0](https://github.com/workos/workos-ruby/compare/v6.2.0...v7.0.0) (2026-04-20)
4+
5+
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.
6+
7+
### High-Level Changes
8+
9+
- **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`).
10+
11+
- **Generated request/response models**: Typed models replace raw hashes. Response models no longer inherit from `Hash` — use accessor methods instead of bracket notation.
12+
13+
- **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.
14+
15+
- **Minimum Ruby 3.3+**: The minimum Ruby version has been raised to 3.3.
16+
17+
- **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.
18+
19+
- **Session management refactor**: AuthKit session sealing, refresh, and authentication flows were overhauled with a dedicated `SessionManager` on the client instance.
20+
21+
- **New capabilities**: Device code flow, public/PKCE clients, `auto_paging_each` pagination, and `last_response` observability on all responses.
22+
23+
### Migration Guide
24+
25+
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)**.
26+
27+
328
## [6.2.0](https://github.com/workos/workos-ruby/compare/v6.1.0...v6.2.0) (2026-03-06)
429

530

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
workos (6.2.0)
4+
workos (7.0.0)
55
jwt (~> 3.1)
66
logger (~> 1.7)
77
zeitwerk (~> 2.6)
@@ -124,7 +124,7 @@ CHECKSUMS
124124
unicode-display_width (3.2.0) sha256=0cdd96b5681a5949cdbc2c55e7b420facae74c4aaf9a9815eee1087cb1853c42
125125
unicode-emoji (4.2.0) sha256=519e69150f75652e40bf736106cfbc8f0f73aa3fb6a65afe62fefa7f80b0f80f
126126
webmock (3.26.2) sha256=774556f2ea6371846cca68c01769b2eac0d134492d21f6d0ab5dd643965a4c90
127-
workos (6.2.0)
127+
workos (7.0.0)
128128
zeitwerk (2.7.5) sha256=d8da92128c09ea6ec62c949011b00ed4a20242b255293dd66bf41545398f73dd
129129

130130
BUNDLED WITH

lib/workos/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
# @oagen-ignore-file
44
module WorkOS
5-
VERSION = "6.2.0"
5+
VERSION = "7.0.0"
66
end

0 commit comments

Comments
 (0)