Skip to content

1.7.0

Latest
Compare
Choose a tag to compare
@yaelt47 yaelt47 released this 25 Nov 14:11
8dee0de

Breaking changes

  • Support dropped for python 3.7: Python 3.7 has been deprecated for over a year now, and after thorough checks and validations we came to the conclusions that our customers don't use it either - so we decided to drop the support for it.
    If you are using this version, it is highly advised to upgrade to a later version.

Enhancements

  • Revoke other user sessions: We added a new configuration in LoginOptions called revoke_other_sessions. This new configuration will expire all JWTs created other than the one in the request. This is useful for signing the user out of all their sessions, except for the current one.
  • Test user searching: We added a new function named search_all_test_users, to filter over test users. Learn more from our SDK's README.
  • Template ID configuration: We added a new parameter named template_id to all 'sign up' / 'sign in' / 'sign up or in' functions, to allow controlling which custom email/sms template should be used by the function. This will override the default configuration set in the project's 'Authentication Methods' page.
  • Enhanced functionality for adding user roles: With this new version of the add_role function, you can add a role to an existing user not just on the project level, but also on the tenant level. If the tenant isn't already associated with the user, it will happen as part of this command.

Full Changelog: 1.6.10...1.7.0