Skip to content

Commit

Permalink
fix: core db crash (#152)
Browse files Browse the repository at this point in the history
* fix: core db crash

* fix: version

* fix: version

* fix: pr comments
  • Loading branch information
sattvikc authored Apr 19, 2024
1 parent d529692 commit 1300409
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]

## [6.1.0] - 2024-04-17

- Adds `addTenantIdentifier` to the storage interface.

## [6.0.0] - 2024-03-13

- Replace `TotpNotEnabledException` with `UnknownUserTotpIdException`
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 = "6.0.0"
version = "6.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 1300409

Please sign in to comment.