All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Updated interfaces to interact with generic sql plugin
- Adds interfaces for Third Party tenant mapping functions
- Replace
TotpNotEnabledException
withUnknownUserTotpIdException
- ActiveUsersSQLStorage interface changes
- Adds
deleteUserActive_Transaction
function
- Adds
- ActiveUsersStorage interface changes
- Removes
countUsersEnabledTotp
,countUsersEnabledTotpAndActiveSince
anddeleteUserActive_Transaction
functions - Adds
countUsersThatHaveMoreThanOneLoginMethodOrTOTPEnabledAndActiveSince
function
- Removes
- AuthRecipeStorage interface changes
- Adds
getUsersCountWithMoreThanOneLoginMethodOrTOTPEnabled
function
- Adds
- TenantConfig changes
- Adds
firstFactors
andrequiredSecondaryFactors
fields
- Adds
- Adds
createdAt
field toTOTPDevice
- TOTPSQLStorage interface changes
- Adds
getDeviceByName_Transaction
andcreateDevice_Transaction
functions
- Adds
- Adds
InvalidConfigException
to throws list ofcanBeUsed
function
- Removes the error
Please use a CDI version that is greater than the one in which account linking feature was enabled
while querying users with linked accounts, but from an older version of CDI. We return details of the oldest login method in this case.
- Adds function to update userId to externalUserId for email verification
- Adds
InvalidConfigException
to throws list ofcanBeUsed
function
- Removes the error
Please use a CDI version that is greater than the one in which account linking feature was enabled
while querying users with linked accounts, but from an older version of CDI. We return details of the oldest login method in this case.
- Adds function to update userId to externalUserId for email verification
- Fixes serialization of thirdParty config
- Fixes cloning of
TenantConfig
object to includenull
values
- Adds support for account linking
- Adds
AuthRecipeUserInfo
class and removesUserInfo
from emailpassword, passwordless and thirdparty. - ActiveUsersStorage interface changes
- Removes
deleteUserActive
- Adds
deleteUserActive_Transaction
- Adds
countUsersThatHaveMoreThanOneLoginMethodAndActiveSince
- Removes
- EmailPasswordStorage interfaces changes
- Removes
deleteEmailPasswordUser
,getUserInfoUsingId
,getUserInfoUsingEmail
- Changes return type of
signUp
fromUserInfo
toAuthRecipeUserInfo
- Changes
PasswordResetTokenInfo
to accept additional paramemail
- Removes
- EmailPasswordSQLStorage interface changes
- Removes
getUserInfoUsingId_Transaction
- Adds
deleteEmailPasswordUser_Transaction
- Removes
- EmailVerificationStorage interface changes
- Removes
deleteEmailVerificationUserInfo
- Removes
- EmailVerificationSQLStorage interface changes
- Adds
deleteEmailVerificationUserInfo_Transaction
- Adds
- MultitenancyStorage interface changes
- Removes
addUserIdToTenant
- Removes
- MultitenancySQLStorage interface changes
- Adds
addUserIdToTenant_Transaction
- Adds
- PasswordlessStorage interface changes
- Changes return type of
createUser
fromUserInfo
toAuthRecipeUserInfo
- Removes
deletePasswordlessUser
,getUserById
,getUserByEmail
,getUserByPhoneNumber
- Changes return type of
- PasswordlessSQLStorage interface changes
- Adds
deletePasswordlessUser_Transaction
- Adds
- SessionInfo accepts additional parameter
recipeUserId
- SessionSQLStorage interface changes
- Adds
deleteSessionsOfUser_Transaction
- Adds
- ThirdPartyStorage interface changes
- Removes
deleteThirdPartyUser
,getThirdPartyUserInfoUsingId
,getThirdPartyUserInfoUsingId
,getThirdPartyUsersByEmail
- Changes return type of
signUp
fromUserInfo
toAuthRecipeUserInfo
- Removes
- ThirdPartySQLStorage interface changes
- Adds
deleteThirdPartyUser_Transaction
- Removes
getUserInfoUsingId_Transaction
- Adds
- UserIdMappingSQLStorage interface changes
- Adds
getUserIdMapping_Transaction
,getUserIdMapping_Transaction
- Adds
- UserMetadataSQLStorage interface changes
- Adds
deleteUserMetadata_Transaction
- Adds
- UserRolesStorage interface changes
- Removes
deleteAllRolesForUser
- Removes
- UserRolesSQLStorage interface changes
- Adds
deleteAllRolesForUser_Transaction
- Adds
- Updates
TenantConfig
toJson function to protect core config as well.
- Adds support for multi-tenancy
- Added
useStaticKey
into session info classes - Added
hashCode
override for JWTSigningKeyInfo
- Adds Support for Dashboard Search
- Introduce TOTP Recipe plugin interface
- Introduce Active users storage plugin interface
- Dashboard Recipe Interface
- Updates version so that new plugin versions can only be used by new core versions due to dependency changes.
- Updates ThirdParty recipe errors to now extend
ThirdPartyException
- Adds
LOG_LEVEL
enum, and changesinitFileLogging
interface function to accept a log level.
- Adds
getUserIdMappingForSuperTokensIds
to the UserIdMapping Interface - Adds
isUserIdBeingUsedInNonAuthRecipe
andaddInfoToNonAuthRecipesBasedOnUserId
to the Storage Interface - Adds
NonAuthRecipeStorage
Interface - All non-auth recipes now extend the
NonAuthRecipeStorage
Interface
- UserId Mapping interface
- Changes name of
getAllSessionHandlesForUser
togetAllNonExpiredSessionHandlesForUser
.
- User Roles interface
- usermetadata recipe functions
- Allow starting transactions with lower isolation level (the default is SERIALIZABLE) through an optional flag in startTransaction
- add workflow to verify if pr title follows conventional commits
- Passwordless interface
- User deletion methods
- JWT recipe related changes
- Multiple access token signing key related changes: supertokens/supertokens-core#305
- Pagination and count functions for all recipes: supertokens/supertokens-core#259
- GetUsersByEmail function for ThirdParty recipe: supertokens/supertokens-core#277
- 2 email verification functions:
unverifyEmail
andrevokeAllTokens
for EmailVerification: https ://github.com/supertokens/supertokens-core/issues/270 - Add change email interface method within transaction: supertokens/supertokens-core#275
- Extracted email verification into its own recipe
- ThirdParty interface
- Added RowMapper interface for db queries
- Email verification related changes
- User pagination related queries