Releases: workos/workos-node
Releases · workos/workos-node
v3.7.1
What's Changed
- Add rate limiting to auto pagination (4 RPS)
v3.7.0
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
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
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
Added
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
Added
- Added the
emailVerifiedAt
parameter to updateUser
(#828)
v3.2.1
Changed
- Updated group types for
DsyncGroupUser*
events to include full group object (#826)
v3.2.0
Added
- Added
enrollUserInMfaFactor
method (#824)
Changed
- Renamed
authenticateUserWithToken
to authenticateUserWithCode
(#820)
v3.1.1
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
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)