Skip to content

Commit d9a7f16

Browse files
Release 6.0.0-beta.0 (#722)
2 parents 5124b88 + bb1052c commit d9a7f16

6 files changed

Lines changed: 36 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
uses: ./.github/workflows/ruby-release.yml
3232
# needs: rl-scanner
3333
with:
34-
ruby-version: 3.2
34+
ruby-version: 3.3
3535
secrets:
3636
github-token: ${{ secrets.GITHUB_TOKEN }}
3737
rubygems-token: ${{ secrets.RUBYGEMS_AUTH_TOKEN }}

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v5.18.1
1+
v6.0.0.beta.0

CHANGELOG.md

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

3+
## 6.0.0-beta.0 (2026-04-30)
4+
5+
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.18.1...v6.0.0.beta.0)
6+
7+
This beta release completely rewrites the Management API client using [Fern](https://buildwithfern.com/) code generation from the Auth0 OpenAPI specification. The Authentication API is ported from v5 and maintains full feature parity.
8+
9+
**Breaking Changes**
10+
- Management API client rewritten using Fern code generation
11+
- `Auth0Client` replaced by `Auth0::Client` (unified client for Auth + Management APIs)
12+
- Management API methods accessed via namespaced sub-clients (`client.users.list` instead of `client.users`)
13+
- API methods return strongly-typed response objects instead of raw hashes
14+
- List methods return paginated iterators instead of arrays
15+
- Non-2xx responses raise typed exceptions (`Auth0::Errors::NotFoundError`, etc.) instead of returning error hashes
16+
- `rest-client` dependency removed; uses `net/http` internally
17+
- Minimum Ruby version raised to 3.3
18+
19+
**Added**
20+
- Auto-generated Management API with complete endpoint coverage from Auth0 OpenAPI spec
21+
- Automatic OAuth 2.0 client credentials token management
22+
- Built-in retry with exponential backoff for rate-limited (429) responses
23+
- Configurable timeouts per request via `request_options`
24+
- Offset-based pagination with `each` iterators for all list endpoints
25+
- Telemetry headers on Management API requests
26+
- Wire tests (WireMock-based) for all Management API endpoints
27+
- New examples (Sinatra API and Rails 7 API)
28+
- `v6_MIGRATION_GUIDE.md` for upgrading from v5
29+
30+
**Unchanged**
31+
- Authentication API (login, signup, token exchange, passwordless, MFA) — ported from v5 with identical interface
32+
333
## [v5.18.1](https://github.com/auth0/ruby-auth0/tree/v5.18.1) (2026-03-13)
434
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.18.0...v5.18.1)
535

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
auth0 (0.0.0)
4+
auth0 (6.0.0.beta.0)
55
addressable (~> 2.8)
66
jwt (~> 2.7)
77
rest-client (~> 2.1)

lib/auth0/internal/http/raw_client.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ def initialize(base_url:, max_retries: 2, timeout: 60.0, headers: {})
2929
@max_retries = max_retries
3030
@timeout = timeout
3131

32-
# Auth0 telemetry in standard format (matches auth0-python pattern)
32+
# Auth0 telemetry in standard format
3333
telemetry = {
34-
name: "auth0-ruby",
34+
name: "ruby-auth0",
3535
version: Auth0::VERSION,
3636
env: { ruby: RUBY_VERSION }
3737
}

lib/auth0/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module Auth0
4-
VERSION = "0.0.0"
4+
VERSION = "6.0.0.beta.0"
55
end

0 commit comments

Comments
 (0)