Skip to content

Releases: authsignal/authsignal-ruby

4.1.0

05 Nov 22:00
da15137
Compare
Choose a tag to compare

✨ New Feature: update_action_state method

We’ve introduced a new method, update_action_state, in the Authsignal SDK. This method allows you to update the state of an action directly through the SDK, making it easier to integrate action state management into your application.

4.0.0

25 Oct 02:48
6fa5b4a
Compare
Choose a tag to compare

Release Notes

Enhancements

  • Omit null values by default in all API requests: Updated the API to automatically exclude null values from requests to ensure consistency with Authsignal's other SDKs.

Breaking Changes

  • Rename delete_user_authenticator to delete_authenticator: Renamed the delete_user_authenticator method to delete_authenticator across the codebase to maintain a consistent naming convention for related functions. This change will break existing integrations if they are referencing the old method name. Please update your codebase to use the new method name.

3.0.1

15 Oct 04:00
3a1a143
Compare
Choose a tag to compare

✨ New Features & Improvements

  • success? in responses: Added success? to provide clear response status indicators.
  • Bang methods to raise errors: Introduced bang versions of methods to immediately raise exceptions when operations fail.
  • action option in validate_challenge method: Ensures that the validated action matches the tracked action when the action parameter is provided.
  • Remove deprecated action_code from validate_challenge response: Cleaned up outdated response structure to avoid confusion.

3.0.0

14 Oct 05:15
8f6ee23
Compare
Choose a tag to compare

✨ New Features & Improvements

  • Camelize keys in JSON request bodies to align with API expectations.
  • Snakecase keys in JSON response bodies to ensure Ruby-friendly object structures.
  • Handles text/plain responses gracefully for more flexible API interactions.
  • Basic retry mechanism added to handle transient errors.

🐛 Fixes

  • Relative URI prefix fix: Use /v1 for API paths, ensuring proper resolution with relative URIs.

🔧 Chores & Maintenance

  • Added debug and retry configuration options for better control and troubleshooting.

2.1.3

02 Oct 23:41
f083d5c
Compare
Choose a tag to compare
  • Adds Delete User Authenticator

2.1.2

02 Oct 22:58
a5c5870
Compare
Choose a tag to compare
  • Adds Delete User

2.1.1

12 Jul 02:02
5c0e2b7
Compare
Choose a tag to compare
  • Adds Update User method
  • Breaking change to align action_code parameter in get_user

v2.0.0

15 Apr 01:41
c1a13ec
Compare
Choose a tag to compare

This change simplifies the validate_challenge method by calling Authsignal's API to validate a challenge.

Breaking changes:

validate_challenge now returns is_valid instead of success

Make user_id optional in validate_challenge method

30 Nov 00:45
e78e1d2
Compare
Choose a tag to compare
  • Make user_id optional in validate_challenge method

Standardise functions to match with other Authsignal SDKs

21 Nov 05:15
c9d14ea
Compare
Choose a tag to compare

Breaking changes:

track_action method:
track_action method changed to track

action_code field in track method changed to action

enrol_authenticator method:
enrol_authenticator changed to enroll_verified_authenticator

identify method
Identify method has been removed