Skip to content

v11.0.0

Choose a tag to compare

@github-actions github-actions released this 09 Jul 02:01

Changed

  • submissionService.submit() to notify job listeners when a submission includes a jobId
  • [BREAKING] LoginAttemptResponse to replace mfaCodeCallback with mfa.codeCallback and mfa.method
  • [BREAKING] useLogin() to remove isMfaCodeRequired; use mfaMethod as the source of truth for an active MFA step
  • [BREAKING] useMfa() to require an mfaMethod parameter for beginMfaSetup(mfaMethod)
  • [BREAKING] useUserMeetsMfaRequirement(mfaRequirement) to accept an MfaRequirement and return { mfaSetupRequired, isLoading, loadingError, refreshMfa } instead of a boolean
  • [BREAKING] MFA functions and types moved from authService to mfaService
  • [BREAKING] changed signaure of authService.isAuthorised to include SAML groups

Added

  • jobService.registerJobsListener() and jobService.notifyJobSubmitted() for reacting to job submissions
  • sms MFA setup support to useMfa() and <MultiFactorAuthentication />
  • mfaService for MFA setup APIs and MFA requirement helpers
  • export LoadingWithMessage component
  • useResendCoolDown() hook
  • isResendingMfaCode and resendMfaCode to result of useLogin() hook

Fixed

  • barcode scanner not showing errors

Dependencies