Skip to content

Latest commit

 

History

History
113 lines (67 loc) · 3.66 KB

CHANGELOG.md

File metadata and controls

113 lines (67 loc) · 3.66 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[2.0.5] - 2023-09-25

Changed

  • Do not propagate binding token if passkeys cannot be bound

Fixed

  • Missing exports for AuthenticationContext & AuthenticationMethod
  • Resume auth url does not contain the port from the original request

[2.0.4] - 2023-07-25

Changed

  • Export all public Interfaces.
  • Disabled hardware key generation on Safari. Universal passkeys should not be syncable.

Added

  • New function getAuthenticationContext to retrieve authentication parameters for the ongoing transaction.
  • New function authenticateOtp to enable authentication with a one time password.
  • New function redeemOtp to enable redeeming a one time password.

[2.0.3] - 2023-04-20

Fixed

  • Error during Credential Binding in Safari 15 and earlier.
  • Error using WebAuthn in Firefox on Android and iOS.

[2.0.2] - 2023-04-20

Added

  • Support for Webauthn in Safari
  • Support for Webauthn on Android devices using SafetyNet
  • Support for Webauthn on Windows 11 devices

Changed

  • Removed remaining typealiases as they were unnecessary.

Fixed

  • Issue where the SDK was failing to compile in Angular applications.

[2.0.1] - 2023-03-22

Changed

  • The following errors will now be reported as FlattenedErrors. These errors have a type field, which is the value on the right side of the arrow, and an optional data field for additional context about the error.
    • BiAuthenticate(Deny(...)) => PolicyDenied,
    • BiAuthenticate(SelectCredentialCanceled => SelectCredentialCanceled,
    • MissingCredentialInRealm => CredentialNotFound
    • BindCredential(AuthLib(CredentialBinding(Service(...)))) => V1ServiceError,
    • BindCredential(AuthLib(InvokeAuthenticator(Service(...)))) => V1ServiceError,
    • BindCredential(InvalidUrl(...)) => InvalidUrl,
    • BiAuthenticate(AuthLib(AssertionEncode(Hal(Internal(...)))) => BiometricsCanceled
    • BindCredential(AuthLib(AssertionEncode(Hal(Internal(...)))) => BiometricsCanceled,

[2.0.0] - 2023-01-09

Added

  • Support for authenticating with Auth0 and Okta in the example app

Changed

  • Rename instances of Credential to Passkey
  • Nest tenantId, realmId, and identityId under appropriate objects in the Credential
  • Update support links in the example app

Fixed

  • Scheme without a path is now recognized as a valid URL when binding a credential
  • Issues where SWC wasn't able to compile the JS SDK

[1.0.10] - 2022-10-17

Changed

Fixed

  • An issue where the SDK was failing to compile after being added as a package from npm.

[1.0.9] - 2022-09-20

Added

  • Logger callback to initialize function. This enables users of the SDK to specify where logs generated by the SDK are output, and to silence logs by not specifying a logger callback.
  • New attributes to the Credential model. Tenant now has a displayName and Identity contains a primaryEmailAddress.

Changed

  • Replaced existing authenticate function with one that now takes two arguments, urland credentialID. This is now inline with how consumers of the SDK have been using this function.

Removed

  • Optimizely dependency. There will no longer be an error displayed in the console related to Optimizely whenever the SDK is initialized.

Fixed

  • The SDK no longer bundles modules as eval(...) expressions, rather minified JS.