Skip to main content

Changelog

0.34.1

Patch Changes

  • Updated dependencies [3f1c4945]:
    • @accounts/mongo-password@0.33.0
    • @accounts/mongo-sessions@0.34.0

0.34.0

Minor Changes

  • #1205 dc13f582 Thanks @mrcleanandfresh! - Changed idProvider to idSessionProvider 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, the idProvider will only be used for the creation of user identifiers.

    Updated AccountsMongoOptions in @mongo to have the new idSessionProvider.

    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 new idSessionProvider function in the configuration.

Patch Changes

0.33.5

Patch Changes

  • #1170 e81eb578 Thanks @pradel! - Upgrade tslib to 2.3.0

  • Updated dependencies [e81eb578, 975ced7d]:

    • @accounts/mongo-magic-link@0.1.1
    • @accounts/mongo-password@0.32.2
    • @accounts/mongo-sessions@0.32.2
    • @accounts/types@0.33.1

0.33.4

Patch Changes

0.33.3

Patch Changes

0.33.2

Patch Changes

0.33.1

Patch Changes

0.33.0

Minor Changes

  • #1150 22056642 Thanks @larsivi! - Add support for magic-link strategy 🎉.

    Installation:

    yarn add @accounts/magic-link

    Usage:

    import AccountsMagicLink from '@accounts/magic-link';

    const accountsMagicLink = new AccountsMagicLink({});

    const accountsServer = new AccountsServer(
    { db: accountsDb, tokenSecret: 'secret' },
    {
    magicLink: accountsMagicLink,
    }
    );

Patch Changes

  • Updated dependencies [22056642]:
    • @accounts/mongo-magic-link@0.1.0
    • @accounts/types@0.33.0
    • @accounts/mongo-password@0.32.1
    • @accounts/mongo-sessions@0.32.1