Skip to content

0.9.1

Compare
Choose a tag to compare
@yaelt47 yaelt47 released this 08 Feb 08:55
· 291 commits to main since this release
ec5fcd7

Breaking changes

  • 🚨 Session and Refresh token split 🚨: Session validation and refresh have been split in order to allow more control over session management.
    3 new functions have been added with a more predictable and straightforward behavior; the new functions have no optional parameters.
* `validate_session` - only validates the session.
* `refresh_session` - refreshes a session.
* `validate_and_refresh_session` - combines the two, validate and refresh as needed.

These function replace the following which have been removed:

* `validate_session_request` - replaced by `validate_and_refresh_session` with the change of requiring both tokens, and the two new functions added for more granular control.
* `refresh_token`: replaced by `refresh_session`, behavior remains with more consistent naming and input validation.

Enhancements

  • Documentation enhancements: Additional explanations were added to our SDK's README.
  • Rate limiting: In order to maintain our stable performance, and provide a good experience to all of our customers, we added SDK and API rate limits. You can read more in our documentation.