Skip to content

Releases: passageidentity/passage-node

v3.0.0

14 Jan 18:05
fb31ae5
Compare
Choose a tag to compare

3.0.0 (2025-01-14)

⚠ BREAKING CHANGES

  • change language type to be more strict in magic link options
  • change appID parameter name in Passage constructor to appId (#220)
  • removes unused CreateMagicLinkRequest and ResponseError types
  • remove deprecated AppInfo code from codegen (#208)
  • return void instead of boolean for Passage.user.delete, Passage.user.revokeRefreshTokens, and Passage.user.revokeDevice
  • removes deprecated code from Passage class
  • drop support for node v16
  • codegen models now use camelCase props (#207)

Features

  • validate_jwt only compares the aud claim against the Passage app id (ba42c26)
  • change appID parameter name in Passage constructor to appId (#220) (66531af)
  • change language type to be more strict in magic link options (5423a80)
  • codegen models now use camelCase props (#207) (fb6c694)
  • drop support for node v16 (7f0dfeb)
  • export the union types of CreateMagicLinkArgs for convenience (5423a80)
  • remove deprecated AppInfo code from codegen (#208) (1c927d5)
  • removes deprecated code from Passage class (ba42c26)
  • removes redundant error message prefixes (ba42c26)
  • removes unused CreateMagicLinkRequest and ResponseError types (7e8a445)
  • return void instead of boolean for Passage.user.delete, Passage.user.revokeRefreshTokens, and Passage.user.revokeDevice (ba42c26)

v2.12.1

16 Dec 18:03
103e4c8
Compare
Choose a tag to compare

2.12.1 (2024-12-16)

Bug Fixes

  • createMagicLink now correctly transforms the "userId" parameter (#205) (a07c50f)

v2.12.0

12 Dec 19:43
742dabf
Compare
Choose a tag to compare

2.12.0 (2024-12-12)

Features

  • Add Audience Validation (#180) (8d6c7ab)
  • add new Passage.auth.createMagicLinks method signature with stronger type hinting (ce2e404)
  • add parameter guards (#195) (1499e7a)
  • codegen: create magic link request fields are now optional (#191) (d36dfdf)
  • Reorg SDK with new Class Organization (#174) (2dfcc8a)

Miscellaneous Chores