Releases: authsignal/authsignal-ruby
Releases · authsignal/authsignal-ruby
4.1.0
4.0.0
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
todelete_authenticator
: Renamed thedelete_user_authenticator
method todelete_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
✨ New Features & Improvements
success?
in responses: Addedsuccess?
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 invalidate_challenge
method: Ensures that the validated action matches the tracked action when theaction
parameter is provided.- Remove deprecated
action_code
fromvalidate_challenge
response: Cleaned up outdated response structure to avoid confusion.
3.0.0
✨ 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
- Adds Delete User Authenticator
2.1.2
- Adds Delete User
2.1.1
- Adds Update User method
- Breaking change to align
action_code
parameter inget_user
v2.0.0
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
- Make user_id optional in validate_challenge method
Standardise functions to match with other Authsignal SDKs
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