Skip to content

v3.0.0

Latest
Compare
Choose a tag to compare
@ctran88 ctran88 released this 14 Jan 18:05
fb31ae5

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)