Supertokens-python

Latest version: v0.25.1

Safety actively analyzes 681844 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 18 of 20

0.5.2

Fixes
- https://github.com/supertokens/supertokens-python/issues/90
- Thirdpartypasswordless recipe + tests

Changed:
- Added new function to BaseRequest class called `set_session_as_none` to set session object to None.

0.5.1

Fixes:
- Bug where a user had to add dependencies on all frameworks when using the SDK: https://github.com/supertokens/supertokens-python/issues/82

0.5.0

Breaking Change
- User context property added for all recipes' apis and functions
- Removes deprecated functions in recipe for user pagination and user count
- Changed email verification input functions' user type in emailpassword to be equal to emailpassword's user and not emailverification user.
- All session recipe's error handler not need to return `BaseResponse`.
- Session's recipe `get_session_information` returns a `SessionInformationResult` class object instead of a `dict` for easier consumption.
- `get_link_domain_and_path` config in passwordless recipe now takes a class type input as opposed to a string input as the first param
- Renamed `Session` to `SessionContainer` in session
- Upgrades `typing_extensions` to version 4.1.1
- Renames functions in ThirdPartyEmailPassword recipe (https://github.com/supertokens/supertokens-node/issues/219):
- Recipe Interface:
- `sign_in_up` -> `thirdparty_sign_in_up`
- `sign_up` -> `emailpassword_sign_up`
- `sign_in` -> `emailpassword_sign_in`
- API Interface:
- `email_exists_get` -> `emailpassword_email_exists_get`
- User exposed functions (in `recipe/thirdpartyemailpassword/asyncio` and `recipe/thirdpartyemailpassword/syncio`)
- `sign_in_up` -> `thirdparty_sign_in_up`
- `sign_up` -> `emailpassword_sign_up`
- `sign_in` -> `emailpassword_sign_in`

Added
- Returns session from all APIs where a session is created
- Added `regenerate_access_token` as a new recipe function for the session recipe.
- Strong typings.

Change
- Changed async_to_sync_wrapper.py file to make it simpler
- Remove default `= None` for functions internal to the package

Bug fix:
- If logging in via social login and the email is already verified from the provider's side, it marks the email as verified in SuperTokens core.
- Corrects how override is done in thirdpartyemailpassword recipe and API implementation

0.4.1

Added
- add workflow to verify if pr title follows conventional commits

Changed
- Added userId as an optional property to the response of `recipe/user/password/reset` (compatibility with CDI 2.12).
- Adds ability to give a path for each of the hostnames in the connectionURI: https://github.com/supertokens/supertokens-node/issues/252

Fixed
- Bug fixes in Literal import which caused issues when using the sdk with python version 3.7.
- Fixes https://github.com/supertokens/supertokens-node/issues/244 - throws an error if a user tries to update email / password of a third party login user.

0.4.0

Added
- Adds passwordless recipe
- Adds compatibility with FDI 1.12 and CDI 2.11

0.3.1

Fixes
- Bug in ThirdpartyEmailpassword recipe init function when InputSignUpFeature is not passed.

Added
- delete_user function
- Compatibility with CDI 2.10

Page 18 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.