·
113 commits
to master
since this release
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