Skip to content

Releases: auth0/ruby-auth0

v5.1.2

15 Jul 18:49
c0a2bf6
Compare
Choose a tag to compare

Security

v5.1.0

09 Apr 22:57
Compare
Choose a tag to compare

v5.1.0 (2021-04-09)

Full Changelog

Added

v5.0.0

23 Oct 05:47
dfcf405
Compare
Choose a tag to compare

v5.0.0 (2020-10-22)

This release addresses some long standing issues with the library that could only be addressed in a major. We have also removed APIv1 endpoints and other deprecated methods.

Migration from v4 to v5

Top Level Structs

The following top level structs were colliding with other libraries, this was addressed in #183 and have been namespaced with ::Auth0::

  • ApiToken changed to ::Auth0::ApiToken
  • Permission changed to ::Auth0::Permission
  • AccessToken changed to ::AccessToken::AccessToken

Api2 Users create_user method

This method was requiring you send in a name, which was optional, but didn't require connection_name which isn't optional. This was fixed in #244.

Auth0::Api::V2::Users.create_user(name, options = {}) has changed to Auth0::Api::V2::Users.create_user(connection_name, options = {})

APIv1 End of Life

APIv1 endpoints were deprecated in 4.x and now have been removed in v5. They reached end-of-life in the Public Cloud on 13 July 2020. Migration from v1 to v2 has been documented here https://auth0.com/docs/product-lifecycle/deprecations-and-migrations/migrate-to-management-api-v2

Catching 429 Errors

In 4.x RateLimitEncountered was inheriting from Auth0::Unsupported in order for backwards compatibility. This class is now inheriting Auth0::HTTPError. If you are catching 429 errors with Auth0::Unsupported then you will need to migrate to catching with Auth0::HTTPError.

Changes

Full Changelog

Fixed

  • Don't define structs as top-level constants (breaking changes) #183 (makimoto)
  • Fix create_user implementation (breaking changes) #244 (davidpatrick)

Removed

v4.17.0

19 Oct 23:58
Compare
Choose a tag to compare

v4.17.0 (2020-10-19)

Full Changelog

Added

Deprecated

v4.16.0

03 Oct 15:01
Compare
Choose a tag to compare

v4.16.0 (2020-10-02)

Full Changelog

Added

Security

v4.14.0

27 Jul 13:41
56f037d
Compare
Choose a tag to compare

Full Changelog

Deprecated

Removed

Fixed

v4.13.0

19 Jun 15:13
b1353ac
Compare
Choose a tag to compare

Added

Fixed

v4.12.0

18 Jun 20:53
6c4d034
Compare
Choose a tag to compare

Added

Security

v4.11.0

06 May 19:23
6f2c451
Compare
Choose a tag to compare

Added

  • [SDK-1542] Add client secret to Passwordless flow since it is now required #217 (stevehobbsdev)

v4.10.0

24 Apr 20:40
6b9b20a
Compare
Choose a tag to compare

Added

  • Added support for name_filter parameter [SDK-1607] #214 (Widcket)
  • Pass client_id, audience at Auth0::Api::V2::ClientGrants#client_grants #209 (hkdnet)
  • Add rubocop-rails #200 (tknzk)

Security