diff --git a/CHANGELOG.md b/CHANGELOG.md index f5bbbaa..7c47fe8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,10 +7,25 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +## [7.0.0] - 2024-03-13 + +- Replace `TotpNotEnabledError` with `UnknownUserIdTotpError`. +- Support for MFA recipe +- Adds `firstFactors` and `requiredSecondaryFactors` for tenant config. - Adds a new `useStaticKey` param to `updateSessionInfo_Transaction` - This enables smooth switching between `useDynamicAccessTokenSigningKey` settings by allowing refresh calls to change the signing key type of a session +### Migration + +Make sure the core is already upgraded to version 8.0.0 before migrating + +```sql +ALTER TABLE totp_user_devices ADD COLUMN created_at BIGINT UNSIGNED default 0; +ALTER TABLE totp_user_devices + ALTER COLUMN created_at DROP DEFAULT; +``` + ## [6.0.0] - 2024-03-05 - Implements `deleteAllUserRoleAssociationsForRole` diff --git a/src/test/java/io/supertokens/storage/mysql/test/OneMillionUsersTest.java b/src/test/java/io/supertokens/storage/mysql/test/OneMillionUsersTest.java index c2bac81..694c74c 100644 --- a/src/test/java/io/supertokens/storage/mysql/test/OneMillionUsersTest.java +++ b/src/test/java/io/supertokens/storage/mysql/test/OneMillionUsersTest.java @@ -396,7 +396,7 @@ public void testCreatingOneMillionUsers() throws Exception { TestingProcessManager.TestingProcess process = TestingProcessManager.start(args, false); Utils.setValueInConfig("firebase_password_hashing_signer_key", "gRhC3eDeQOdyEn4bMd9c6kxguWVmcIVq/SKa0JDPFeM6TcEevkaW56sIWfx88OHbJKnCXdWscZx0l2WbCJ1wbg=="); - Utils.setValueInConfig("postgresql_connection_pool_size", "500"); + Utils.setValueInConfig("mysql_connection_pool_size", "500"); FeatureFlagTestContent.getInstance(process.getProcess()) .setKeyValue(FeatureFlagTestContent.ENABLED_FEATURES, new EE_FEATURES[]{ @@ -462,7 +462,7 @@ public void testCreatingOneMillionUsers() throws Exception { process = TestingProcessManager.start(args, false); Utils.setValueInConfig("firebase_password_hashing_signer_key", "gRhC3eDeQOdyEn4bMd9c6kxguWVmcIVq/SKa0JDPFeM6TcEevkaW56sIWfx88OHbJKnCXdWscZx0l2WbCJ1wbg=="); - Utils.setValueInConfig("postgresql_connection_pool_size", "500"); + Utils.setValueInConfig("mysql_connection_pool_size", "500"); FeatureFlagTestContent.getInstance(process.getProcess()) .setKeyValue(FeatureFlagTestContent.ENABLED_FEATURES, new EE_FEATURES[]{