Skip to content

Releases: clerk/clerk-sdk-ruby

3.0.0

09 Jan 09:38
v3.0.0
Compare
Choose a tag to compare

Added

  • Add org role/permission helpers #40

Removed

  • drop create sms endpoint #39

2.11.1

06 Nov 08:52
Compare
Choose a tag to compare

This is a bugfix release to address a regression introduced in v2.11.0.

Fixed

  • Properly set Clerk API key (secret) when using Faraday v2 [#38]

Faraday v2 support

27 Oct 13:27
v2.11.0
Compare
Choose a tag to compare

⚠️ This version contains a bug that causes the Clerk API key to not be set properly, when using Faraday v2. We strongly recommend to skip this version and go straight to https://github.com/clerkinc/clerk-sdk-ruby/releases/tag/v2.11.1 or later.

Changes

  • Added support for Faraday v2 [#37]

2.9.0

28 Feb 15:51
v2.9.0
Compare
Choose a tag to compare

Fixes

  • Proper caching of JWKS responses [#27]

Changes

  • All requests to the Backend API now use application/json payloads. This also fixes particular calls to endpoints like the user.update request when passing in backup codes [#29]

Additions

  • The API key can now be set using the CLERK_SECRET_KEY environment variable [#28]

v2.9.0.beta3

17 Jan 19:45
v2.9.0.beta3
Compare
Choose a tag to compare
v2.9.0.beta3 Pre-release
Pre-release

Changed

  • internal: Change request payloads to application/json content type [#29]

Secret Key support

05 Jan 11:43
v2.9.0.beta2
Compare
Choose a tag to compare
Secret Key support Pre-release
Pre-release

Added

  • Support setting the secret key (previously called Backend API key) using the CLERK_SECRET_KEY environment variable [#28]

In-memory shared JWKS cache

23 Dec 08:32
v2.9.0.beta1
Compare
Choose a tag to compare
Pre-release

This is a bugfix release that fixes the JWKS cache to actually be re-used across incoming requests that the auth middleware processes. Previously, the cache wasn't working as intended after 1123911, since the middleware was always constructing a new SDK instance.

That said, since this is significant change in behavior, make sure to test this release in your development environment before upgrading in production.

Users/VerifyTOTP

29 Nov 18:26
v2.8.0
Compare
Choose a tag to compare

Added

  • Support for the users.verify_totp operation

Organization Metadata update & Current Organization helpers

02 Nov 13:31
v2.7.0
Compare
Choose a tag to compare

Added

  • Add #clerk_organization and #clerk_organization_id helpers to fetch the current user's active organization [#22]
  • Implement Organization Metadata update endpoint [#21]

Organization endpoints

01 Nov 15:56
v2.6.0
Compare
Choose a tag to compare

Added

  • Implement Organization endpoints [#20]