Skip to content

Commit 105891a

Browse files
committed
fix: backport 8.0.3
1 parent 9023c76 commit 105891a

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
## [Unreleased]
99

10+
## [1.26.2] - 2024-04-22
11+
12+
- Compatible with plugin interface version 5.1
13+
1014
## [1.26.1] - 2024-03-21
1115

1216
- Adds a new `useStaticKey` param to `updateSessionInfo_Transaction`

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ plugins {
22
id 'java-library'
33
}
44

5-
version = "1.26.1"
5+
version = "1.26.2"
66

77
repositories {
88
mavenCentral()

pluginInterfaceSupported.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"_comment": "contains a list of plugin interfaces branch names that this core supports",
33
"versions": [
4-
"5.0"
4+
"5.1"
55
]
66
}

src/main/java/io/supertokens/storage/mongodb/Start.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
import io.supertokens.storage.mongodb.queries.JWTSigningQueries;
3939
import org.slf4j.LoggerFactory;
4040

41+
import java.util.ArrayList;
4142
import java.util.List;
4243
import java.util.Set;
4344

@@ -60,7 +61,7 @@ public class Start implements SessionNoSQLStorage_1, JWTRecipeNoSQLStorage_1 {
6061
@Override
6162
public void deleteAllInformation() throws StorageQueryException {
6263
try {
63-
initStorage(false);
64+
initStorage(false, new ArrayList<>());
6465
enabled = true;
6566
Queries.deleteAllCollections(this);
6667
} catch (MongoException e) {
@@ -294,7 +295,7 @@ public void stopLogging() {
294295
}
295296

296297
@Override
297-
public void initStorage(boolean shouldWait) throws DbInitException {
298+
public void initStorage(boolean shouldWait, List<TenantIdentifier> tenantIdentifiers) throws DbInitException {
298299
ConnectionPool.initPool(this);
299300
}
300301

0 commit comments

Comments
 (0)