Skip to content

Version 0.6.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@emlun emlun released this 01 Mar 16:56
0.6.0
2c9b6b2

Breaking changes:

  • Classes moved from package com.yubico.webauthn.data to com.yubico.webauthn:
    • AssertionRequest
    • AssertionResult
    • RegistrationResult
  • All public classes are now final.
  • All builders now enforce mandatory arguments at compile time. Some usages may therefore need to adjust the order of calls on the builder instance.
    • Static method Attestation.trusted(boolean) replaced with .builder() with .trusted(boolean) as builder method instead
    • AuthenticatorAssertionResponse constructor is now private.
    • AuthenticatorAttestationResponse constructor is now private.
    • PublicKeyCredentialDescriptor constructor is now private.
    • PublicKeyCredentialRequestOptions constructor is now private.
  • All classes that take collections as constructor (builder) arguments now make shallow copies of those collections, so that mutations of the collections don't propagate into the class instance.
  • Deleted interface Crypto and constructor parameter crypto of RelyingParty
  • Deleted interface ChallengeGenerator and constructor parameter challengeGenerator of RelyingParty
  • Updated implementation to agree with current editor's draft of the spec
    • Renamed class AttestationData to AttestedCredentialData
    • Enum constant TokenBindingStatus.NOT_SUPPORTED deleted; this is now instead signaled by a missing value
    • Parameter RelyingParty.allowMissingTokenBinding therefore removed
    • Enum constant AttestationType.PRIVACY_CA renamed to ATTESTATION_CA
  • Renamed class AuthenticationDataFlags to AuthenticatorDataFlags
  • Deleted constant UserVerificationRequirement.DEFAULT
  • Deleted method AttestationObject.getAuthData()
  • Changed type of field RelyingParty.origins from List to Set
  • Fixed (reduced) visibility of RegisteredCredential fields
  • Class MetadataObject moved to webauthn-server-attestation module
  • Updated and greatly expanded Javadoc