Skip to content

Releases: jagregory/cognito-local

v4.1.0

16 Feb 02:48
Compare
Choose a tag to compare

This release is also available on:


4.1.0 (2025-02-16)

Features

v4.0.0

11 Feb 07:26
Compare
Choose a tag to compare

This release is also available on:


4.0.0 (2025-02-11)

  • fix!: user pool creation race conditions (69ee1e1)

BREAKING CHANGES

  • You must create a User Pool before using it (by calling
    createUserPool). Previously, User Pools would be created on-demand.

User Pools (and their associated databases) used to be created lazily
when first accessed, this was intended to to allow low-touch setup of
cognito-local by creating user pools with default options if they don't
exist, but it has been a source of obscure corruption issues for a
while. It's been possible to create race conditions by making requests
to cognito-local in parallel before a User Pool was created, and those
parallel requests would stomp on each other by creating multiple
databases.

This change removes the laziness: Any existing User Pools will be parsed
when cognito-local first starts, and new User Pools are created when
createUserPool is called. Any attempts to access User Pools which don't
exist will fail with a ResourceNotFound error.

v3.23.3

21 Mar 21:21
Compare
Choose a tag to compare

This release is also available on:


3.23.3 (2024-03-21)

Bug Fixes

  • add openid-configuration endpoint (14a6507)

v3.23.2

28 May 06:17
Compare
Choose a tag to compare

This release is also available on:


3.23.2 (2023-05-28)

Bug Fixes

  • InitiateAuth: handle UNCONFIRMED user login attempt (93a452b)

v3.23.1

11 Mar 02:17
Compare
Choose a tag to compare

This release is also available on:


3.23.1 (2023-03-11)

Bug Fixes

  • api: confirm user apis return errors for invalid states (e2975f0)

v3.23.0

11 Mar 00:42
Compare
Choose a tag to compare

This release is also available on:


3.23.0 (2023-03-11)

Bug Fixes

  • lambda: unhandled errors in lambda return correct error message (c9821d1)

Features

  • api: listUsers support for Filter (5ebcf24), closes #313

v3.22.0

10 Mar 04:50
Compare
Choose a tag to compare

This release is also available on:


3.22.0 (2023-03-10)

Features

  • confirmationCodes: add CODE environment variable to pre-define the confirmation codes (2c823f0)
  • confirmationCodes: update README file (9143469)

v3.21.2

10 Mar 04:32
Compare
Choose a tag to compare

This release is also available on:


3.21.2 (2023-03-10)

Bug Fixes

  • errorFormat: make exception format more consistent with real Cognito exceptions (e67576b)
  • tests: newer node versions were starting express in ipv6 (efc08a7)

v3.21.1

01 Aug 11:06
Compare
Choose a tag to compare

This release is also available on:


3.21.1 (2022-08-01)

Bug Fixes

  • initiateAuth: invoke post auth lambda before generating tokens (8330a9f), closes #281
  • initiateAuth: invoke post auth lambda before generating tokens [281] (8c06e2a)
  • initiateAuth: invoke post auth lambda before generating tokens [281] (1b16f04)

v3.21.0

01 Aug 10:43
Compare
Choose a tag to compare

This release is also available on:


3.21.0 (2022-08-01)

Bug Fixes

  • use username from user migration response (0bb8d95)
  • use username from user migration response (afe2372)

Features

  • suppress send welcome message (12e7af8)