SuperTokens Community v4.0.0 Release Notes
Release Date: 2022-09-19 // over 1 year ago-
โ Added
- EmailPassword User migration API which allows you to import users with their email and password hashes.
- ๐ Support to import users with password hashes from Firebase
- ๐ Support with CDI version
2.16
- Hello API on
/
route.
Database Changes
- Updates the
password_hash
column in theemailpassword_users
table fromVARCHAR(128)
toVARCHAR(256)
to support more password hash lengths. Updates the
third_party_user_id
column in thethirdparty_users
table fromVARCHAR(128)
toVARCHAR(256)
to resolve https://github.com/supertokens/supertokens-core/issues/306โก๏ธ For legacy users who are self hosting the SuperTokens core run the following command to update your database with the changes:
- With MySql:
ALTER TABLE thirdparty_users MODIFY third_party_user_id VARCHAR(256); ALTER TABLE emailpassword_users MODIFY password_hash VARCHAR(256);
- With PostgreSQL:
ALTER TABLE thirdparty_users ALTER COLUMN third_party_user_id TYPE VARCHAR(256); ALTER TABLE emailpassword_users ALTER COLUMN password_hash TYPE VARCHAR(256);
- With MySql: