From 51c28325d5a6d42014edd7dd02e6e150d2ce5a48 Mon Sep 17 00:00:00 2001 From: Sattvik Chakravarthy Date: Wed, 13 Mar 2024 17:58:44 +0530 Subject: [PATCH] Remaining changes (#144) * fix: pass appId to getUserIdMappingForSuperTokensIds * fix: versions * fix: changelog --- CHANGELOG.md | 3 ++- build.gradle | 2 +- .../pluginInterface/useridmapping/UserIdMappingStorage.java | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e18558b4..73efa2e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] -## [6.0.0] - 2024-03-04 +## [6.0.0] - 2024-03-13 - Replace `TotpNotEnabledException` with `UnknownUserTotpIdException` - ActiveUsersSQLStorage interface changes @@ -25,6 +25,7 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - Adds a new `useStaticKey` param to `updateSessionInfo_Transaction` - This enables smooth switching between `useDynamicAccessTokenSigningKey` settings by allowing refresh calls to change the signing key type of a session + Adds `appIdentifier` parameter to `getUserIdMappingForSuperTokensIds` in `UserIdMappingStorage` ## [5.0.0] - 2024-03-05 diff --git a/build.gradle b/build.gradle index 188c2b13..72803d4c 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ plugins { id 'java-library' } -version = "5.0.0" +version = "6.0.0" repositories { mavenCentral() diff --git a/src/main/java/io/supertokens/pluginInterface/useridmapping/UserIdMappingStorage.java b/src/main/java/io/supertokens/pluginInterface/useridmapping/UserIdMappingStorage.java index 7b1ebd4c..eab19ae9 100644 --- a/src/main/java/io/supertokens/pluginInterface/useridmapping/UserIdMappingStorage.java +++ b/src/main/java/io/supertokens/pluginInterface/useridmapping/UserIdMappingStorage.java @@ -50,6 +50,7 @@ boolean updateOrDeleteExternalUserIdInfo(AppIdentifier appIdentifier, String use // This function will be used to retrieve the userId mapping for a list of userIds. The key of the HashMap will be // superTokensUserId and the value will be the externalUserId. If a mapping does not exist for an input userId, // it will not be in a part of the returned HashMap - HashMap getUserIdMappingForSuperTokensIds(ArrayList userIds) throws StorageQueryException; + HashMap getUserIdMappingForSuperTokensIds(AppIdentifier appIdentifier, + ArrayList userIds) throws StorageQueryException; }