Skip to content

Commit

Permalink
fix: backport 8.0.3 (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
sattvikc authored Apr 22, 2024
1 parent 3f41cc8 commit 56d259b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [5.1.0] - 2024-04-22

- Adds `addTenantIdentifier` to the storage interface.

## [5.0.1] - 2024-03-21

- Adds `appIdentifier` param to `getUserIdMappingForSuperTokensIds`
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
id 'java-library'
}

version = "5.0.1"
version = "5.1.0"

repositories {
mavenCentral()
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/io/supertokens/pluginInterface/Storage.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import io.supertokens.pluginInterface.multitenancy.TenantIdentifier;
import io.supertokens.pluginInterface.multitenancy.exceptions.TenantOrAppNotFoundException;

import java.util.List;
import java.util.Set;

public interface Storage {
Expand Down Expand Up @@ -52,7 +53,7 @@ public interface Storage {
void stopLogging();

// load tables and create connection pools
void initStorage(boolean shouldWait) throws DbInitException;
void initStorage(boolean shouldWait, List<TenantIdentifier> tenantIdentifiers) throws DbInitException;

// used by the core to do transactions the right way.
STORAGE_TYPE getType();
Expand Down

0 comments on commit 56d259b

Please sign in to comment.