diff --git a/CHANGELOG.md b/CHANGELOG.md index d8f020d0..8f031e8e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,12 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [unreleased] -## [0.17.6] - 2024-03-18 - -- Fixes the passing of `tenantId` in `getAllSessionHandlesForUser` and `revokeAllSessionsForUser` based on `fetchAcrossAllTenants` and `revokeAcrossAllTenants` inputs respectively. ## [0.17.5] - 2024-03-14 - Adds a type uint64 to the `accessTokenCookiesExpiryDurationMillis` local variable in `recipe/session/utils.go`. It also removes the redundant `uint64` type forcing needed because of the untyped variable. +- Fixes the passing of `tenantId` in `getAllSessionHandlesForUser` and `revokeAllSessionsForUser` based on `fetchAcrossAllTenants` and `revokeAcrossAllTenants` inputs respectively. +- Updated fake email generation ## [0.17.4] - 2024-02-08 diff --git a/recipe/thirdparty/providers/custom.go b/recipe/thirdparty/providers/custom.go index fd6bf477..450b490c 100644 --- a/recipe/thirdparty/providers/custom.go +++ b/recipe/thirdparty/providers/custom.go @@ -51,7 +51,7 @@ func NewProvider(input tpmodels.ProviderInput) *tpmodels.TypeProvider { if input.Config.GenerateFakeEmail == nil { input.Config.GenerateFakeEmail = func(thirdPartyUserId string, tenantId string, userContext supertokens.UserContext) string { - return fmt.Sprintf("%s@%s.fakeemail.com", thirdPartyUserId, input.Config.ThirdPartyId) + return fmt.Sprintf("%s.%s@stfakeemail.supertokens.com", thirdPartyUserId, input.Config.ThirdPartyId) } } diff --git a/supertokens/constants.go b/supertokens/constants.go index edcb4303..200d0d49 100644 --- a/supertokens/constants.go +++ b/supertokens/constants.go @@ -21,7 +21,7 @@ const ( ) // VERSION current version of the lib -const VERSION = "0.17.6" +const VERSION = "0.17.5" var ( cdiSupported = []string{"3.0"}