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 the emailpassword_users table from VARCHAR(128) to VARCHAR(256) to support more password hash lengths.
    • Updates the third_party_user_id column in the thirdparty_users table from VARCHAR(128) to VARCHAR(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);