Skip to content

5.0.0

Latest
Compare
Choose a tag to compare
@stevenclouston stevenclouston released this 27 Nov 20:52
· 14 commits to main since this release
8f6712c

Release Notes

Changes have been made so that conventions used in the Ruby SDK align with Authsignal's general SDK conventions.

Breaking Changes

  1. update_user

    • Replaced the user parameter with attributes in the update_user function.
  2. track

    • Updated function signature:
      • Old:
        def track(event)
      • New:
        def track(:user_id, :action, :attributes)
  3. enroll_verified_authenticator

    • Updated to accept named parameters: user_id and attributes.
  4. get_user

    • Removed redirectUrl from the function signature.
  5. update_action_state

    • Renamed method update_action_state to update_action.
    • Replaced input parameter state with attributes.
  6. Parameter Renaming

    • Replaced base_uri with api_url to align with Authsignal conventions.
  7. Error Handling Updates

    • Error response changes:
      • status replaced with status_code.
      • error replaced with error_code.

Non-Breaking Changes

  1. get_authenticators
    • Added a new method: get_authenticators.