Releases: accounts-js/accounts
@accounts/[email protected]
@accounts/[email protected]
Patch Changes
-
#1228
2afcb843
Thanks @pozylon! - Fix critical issue with "Two-Factor" not validating TOTP codes correctly due to a flawed version of @levminer/speakeasy -
Updated dependencies [
2afcb843
]:- @accounts/[email protected]
@accounts/[email protected]
Patch Changes
- #1220
fb49d62a
Thanks @abhishekk-raj! - MongoDB 5 compatability in all mongo-password methods
@accounts/[email protected]
Minor Changes
-
#1205
dc13f582
Thanks @mrcleanandfresh! - ChangedidProvider
toidSessionProvider
in@mongo-sessions
. This change was made to give more granular control when creating custom identifiers for both sessions and users. The new option generates the _id for new Session objects. Going forward, theidProvider
will only be used for the creation of user identifiers.Updated
AccountsMongoOptions
in@mongo
to have the newidSessionProvider
.Migration: If you are using
idProvider
for the creation of a custom identifier for sessions, then you will need to move that logic to the newidSessionProvider
function in the configuration.
Patch Changes
- Updated dependencies [
dc13f582
,dc13f582
]:- @accounts/[email protected]
@accounts/[email protected]
Minor Changes
-
#1205
dc13f582
Thanks @mrcleanandfresh! - ChangedidProvider
toidSessionProvider
in@mongo-sessions
. This change was made to give more granular control when creating custom identifiers for both sessions and users. The new option generates the _id for new Session objects. Going forward, theidProvider
will only be used for the creation of user identifiers.Updated
AccountsMongoOptions
in@mongo
to have the newidSessionProvider
.Migration: If you are using
idProvider
for the creation of a custom identifier for sessions, then you will need to move that logic to the newidSessionProvider
function in the configuration.
Patch Changes
- #1205
dc13f582
Thanks @mrcleanandfresh! - The configuration option of convertSessionIdToMongoObjectId is now checked when using idProvider
@accounts/[email protected]
Patch Changes
- #1196
c6b79add
Thanks @BarbecueSilver! - Add missingextraData
property to theSession
type.
@accounts/[email protected]
Patch Changes
-
#1182
4b6878fb
Thanks @pradel! - Add missing await to when unsetting two-factor -
Updated dependencies [
c6b79add
]:- @accounts/[email protected]
@accounts/[email protected]
Patch Changes
-
#1209
5fa570d4
Thanks @gezquinndesign! - If users are currently using the Node Mongo Driver v4/Mongoose v6 (both are designed for use with MongoDB 5), this patch ensures no errors thrown when using these methods. -
Updated dependencies [
c6b79add
]:- @accounts/[email protected]
@accounts/[email protected]
Patch Changes
-
#1194
a4fd732d
Thanks @zenweasel! - Fix repo links in package.json -
#1203
0a402215
Thanks @mrcleanandfresh! - Added additional examples for how to authenticate with @accounts/graphql-api