diff --git a/CHANGELOG.md b/CHANGELOG.md index 04e2a0a..fd3f79a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +## [1.27.1] - 2024-04-19 + +- Compatible with plugin interface version 6.1 + ## [1.27.0] - 2024-03-13 - Compatibility with plugin interface 6.0.0 diff --git a/build.gradle b/build.gradle index 2c1fb52..79e26d7 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ plugins { id 'java-library' } -version = "1.27.0" +version = "1.27.1" repositories { mavenCentral() diff --git a/pluginInterfaceSupported.json b/pluginInterfaceSupported.json index f9d5be7..476e2b8 100644 --- a/pluginInterfaceSupported.json +++ b/pluginInterfaceSupported.json @@ -1,6 +1,6 @@ { "_comment": "contains a list of plugin interfaces branch names that this core supports", "versions": [ - "6.0" + "6.1" ] } \ No newline at end of file diff --git a/src/main/java/io/supertokens/storage/mongodb/Start.java b/src/main/java/io/supertokens/storage/mongodb/Start.java index 1bce5c9..110128a 100644 --- a/src/main/java/io/supertokens/storage/mongodb/Start.java +++ b/src/main/java/io/supertokens/storage/mongodb/Start.java @@ -38,6 +38,7 @@ import io.supertokens.storage.mongodb.queries.JWTSigningQueries; import org.slf4j.LoggerFactory; +import java.util.ArrayList; import java.util.List; import java.util.Set; @@ -60,7 +61,7 @@ public class Start implements SessionNoSQLStorage_1, JWTRecipeNoSQLStorage_1 { @Override public void deleteAllInformation() throws StorageQueryException { try { - initStorage(false); + initStorage(false, new ArrayList<>()); enabled = true; Queries.deleteAllCollections(this); } catch (MongoException e) { @@ -294,7 +295,7 @@ public void stopLogging() { } @Override - public void initStorage(boolean shouldWait) throws DbInitException { + public void initStorage(boolean shouldWait, List tenantIdentifiers) throws DbInitException { ConnectionPool.initPool(this); }