Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: core db crash #152

Merged
merged 4 commits into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.0.1] - 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.0.1"
sattvikc marked this conversation as resolved.
Show resolved Hide resolved

repositories {
mavenCentral()
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/io/supertokens/pluginInterface/Storage.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ public interface Storage {
// load tables and create connection pools
void initStorage(boolean shouldWait) throws DbInitException;

void addTenantIdentifier(TenantIdentifier tenantIdentifier);

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

Expand Down
Loading