Skip to content

Releases: workos/workos-node

v3.7.1

19 Oct 21:29
9bba76e
Compare
Choose a tag to compare

What's Changed

  • Add rate limiting to auto pagination (4 RPS)

v3.7.0

14 Sep 22:17
7e4f1bb
Compare
Choose a tag to compare

Added

  • Add authenticateWithTotp method #856
  • Add listAuthFactors method #857
  • All authentication methods should pass ipAddress and userAgent #861

Changed

  • Change magicAuthChallengedId to userId on authenticateUserWithMagicAuth #850
  • Update verifyEmailCode method to handle nested user object in return #853
  • Rename completePasswordReset to resetPassword and change response #854
  • Rename createPasswordResetChallenge to sendPasswordResetEmail #855
  • Rename enrollUserInMfaFactor to enrollAuthFactor #858
  • Update sendMagicAuthCode to take email rather than email_address #860
  • Fix listAuthFactors() return #862

Removed

  • Remove MagicAuthChallenge interface #851

v3.6.0

28 Aug 21:19
5a69138
Compare
Choose a tag to compare

Changed

  • Modified the authenticateUserWithPassword, authenticateUserWithCode, and authenticateUserWithMagicAuth methods to use the /users/authenticate endpoint rather than /users/sessions/token
  • Modified the OAuth exception to include raw data

v3.5.0

25 Aug 18:01
7ebfd6a
Compare
Choose a tag to compare

Changed

  • Migrated verifyEmail to verifyEmailCode (#841)
  • Migrated createEmailVerification to sendVerificationEmail (#842)

Fixed

  • Fixed the shape of the response in sendMagicAuthCode (#843)
  • Fixed the shape of the response in sendVerificationEmail (#844)

v3.4.0

25 Aug 14:53
24366dd
Compare
Choose a tag to compare

Added

  • Added deleteUser (#836)

Changed

  • Renamed emailVerifiedAt to emailVerified in user object (#834)
  • Updated updateUser to use email_verified rather than email_verified_at (#839)
  • Migrated completeEmailVerification to verifyEmail (#842)

Removed

  • Removed Session endpoints (#835)
  • Removed distinction between managed and unmanaged users (#831)

v3.3.0

18 Aug 22:40
61304f1
Compare
Choose a tag to compare

Added

  • Added the emailVerifiedAt parameter to updateUser (#828)

v3.2.1

18 Aug 22:04
cb2947c
Compare
Choose a tag to compare

Changed

  • Updated group types for DsyncGroupUser* events to include full group object (#826)

v3.2.0

17 Aug 20:10
5ac7412
Compare
Choose a tag to compare

Added

  • Added enrollUserInMfaFactor method (#824)

Changed

  • Renamed authenticateUserWithToken to authenticateUserWithCode (#820)

v3.1.1

16 Aug 21:56
74799e3
Compare
Choose a tag to compare

Changed

  • Fixed an issue where some arguments for listConnections and listDirectories would not properly be serialized to the API (#822)
  • Simplified to the options for updateUser to be less restrictive (#821)

v3.1.0

14 Aug 17:01
972b2d4
Compare
Choose a tag to compare

Added

  • Surfaced rawData on GenericServerException. This allows accessing the error code or any other arbitrary data that is returned from the API. (#817)
  • Exported AutoPaginatable from the root level of the SDK (#818)