rp
04/16/2021, 1:12 PMsupertokens-node (v4.3.0):
- Added a method for optionally doing session verification on a per API basis (docs: https://supertokens.io/docs/session/common-customizations/sessions/session-verification#optionally-verify-a-session)
supertokens-auth-react (v0.9.0) (breaking change because of breaking changes in supertokens-website):
- When using an auth wrapper around your route components, it now provides a session context to all the children components which makes it easy for them to get session information (docs: https://supertokens.io/docs/session/common-customizations/sessions/user-information-front-end)
supertokens-website (v6.0.0) (breaking change) - this is also used within supertokens-auth-react:
- Bypassing cookies (that are set on the frontend set) restriction imposed by browsers like safari and brave - they capped cookie lifetime to 7 days, preventing sessions to be active for more than 7 days. We bypassed this by using localstorage instead (note that we still use httpOnly cookies for access and refresh tokens, so there is no compromise in security).
- (breaking change): getUserId and doesSessionExist now return Promises
I urge everyone to use the latest versions of the frontend SDK so that they their session lifetimes are not restricted by the browser's limitation.rp
04/19/2021, 9:17 AMrp
04/22/2021, 1:42 PMmongodb+srv
style URIs (https://github.com/supertokens/supertokens-core/issues/203)
- Allows you to change the names of the tables managed by SuperTokens by specifying a common prefix to the table names (https://github.com/supertokens/supertokens-core/issues/220)
- Support for ARM based architecture - so if you are running a Mac with the new M1 chip, the new docker images should work on them.rp
04/24/2021, 5:00 PMrp
04/26/2021, 6:10 AMrp
04/28/2021, 7:11 PMappInfo
object mean: https://supertokens.io/recipe-redirect?to=appinforp
05/02/2021, 3:38 PMrp
05/03/2021, 2:44 PMsupertokens-node (v5.0.0):
- Changes: https://github.com/supertokens/supertokens-node/blob/master/CHANGELOG.md#500---2021-05-02
- If using `enableAntiCsrf`, please use `antiCsrf` instead. Please see https://supertokens.io/recipe-redirect?to=/common-customizations/sessions/anti-csrf for more information.
supertokens-auth-react (v0.11.0):
- Changes: https://github.com/supertokens/supertokens-auth-react/blob/master/CHANGELOG.md#0110---2020-05-02
- Fixes sharing of session across sub domain on Safari + bypasses some of the restrictions imposed by Safari due to their privacy features.
supertokens-website (v7.0.0):
- Changes: https://github.com/supertokens/supertokens-website/blob/master/CHANGELOG.md#700---2021-05-01
- Fixes sharing of session across sub domain on Safari + bypasses some of the restrictions imposed by Safari due to their privacy features.
- Please note that if you are upgrading either supertokens-auth-react
or supertokens-website
, you will need to upgrade supertokens-node
too and vice versa.
- If you need to share a session across sub domains, you will want to use this new version.rp
05/13/2021, 2:54 PM^
for all dependencies to fix https://github.com/supertokens/supertokens-auth-react/issues/248
Note that it has no breaking changes.rp
05/15/2021, 1:00 PMrp
05/17/2021, 7:10 AMrp
05/31/2021, 2:14 PMrp
06/03/2021, 2:41 PMrp
06/05/2021, 12:23 PMrp
06/17/2021, 2:13 PMrp
06/23/2021, 6:17 AMrp
06/28/2021, 4:47 PM/auth/session/refresh POST
endpoint without providing anti-csrf protection. More info about this here: https://github.com/supertokens/supertokens-node/issues/141.
If you are using an older version of the supertokens-node SDK, that can't easily be upgraded to 6.0.1, then please DM me so that we can provide this fix for your version as well.rp
07/12/2021, 3:01 PMemailVerificationAuth
, queries is email verified only if session exists
- redirectTo
query param will be respected when visiting auth page, if session exists
- Remove UI rendering lag when using auth recipe components (EmailPasswordAuth
, ThirdPartyAuth
, ThirdPartyEmailPasswordAuth
)
- Fix component overrides rerendering
Features:
- SessionAuth
can be nested inside another SessionAuth
- SessionAuth
will automatically update context with new data when session changes
- onSessionExpired
prop on SessionAuth
, EmailPasswordAuth
, ThirdPartyAuth
and ThirdPartyEmailPasswordAuth
- SESSION_CREATED
event can be listened to in onHandleEvent
hook.
Breaking changes:
- The components override API has changed from (DefaultComponent) => (props) => React.Element
to ({ DefaultComponent, β¦props }) => React.Element
.
- If a component is wrapped in an auth wrapper with requireAuth={true}
, and onSessionExpired
prop is not provided, then the user will be automatically redirected to the login screen when session expires.
supertokens-website@8.1.0
Features:
- SESSION_CREATED
event is fired whenever new session is established (going from state with no session to state with session)rp
08/23/2021, 2:49 PMrp
09/08/2021, 2:15 PMrp
09/21/2021, 8:17 AMrp
09/23/2021, 2:12 PMsession_access_token_signing_keys
b) New table called jwt_signing_keys
c) For users of postgresql, there is a change in the type of user_id
column in the emailverification_verified_emails
and emailverification_tokens
tables -> from varchar(255)
to varchar(128)
The db schema changes should happen on their own when you start the new core version, except for change in (c). But that is not a necessary change to make πrp
09/25/2021, 11:35 AMrp
09/26/2021, 3:18 PMrp
10/19/2021, 7:23 AMrp
10/25/2021, 10:12 AMrp
11/03/2021, 1:48 PMrp
11/21/2021, 6:24 AMrp
11/26/2021, 2:42 PMrp
12/20/2021, 11:29 AMrp
12/20/2021, 11:29 AM