Skip to content

4.0.0

Compare
Choose a tag to compare
@uport-automation-bot uport-automation-bot released this 15 Mar 17:55
· 186 commits to master since this release

4.0.0 (2021-03-15)

Features

  • upgrade to latest did core spec (#99) (#109) (#111) (2a023b1)
  • feat: refactor configuration options, add chainID
  • fix: improve kid stability during attribute changes
  • chore: cleanup in tests and local dependencies
  • test(coverage): improve test coverage
  • refactor(style): enable linting using eslint
  • refactor: isolate some of the type definitions
  • fix: test that checksum address resolves to identical DID document (#105)
  • fix: setAttribute with sigAuth adds key to authentication section (#95)
  • feat: enable base58 encoding for keys (#106)(#99)
  • refactor: group types, defaults, and helper methods
  • fix: add support for deactivated DIDs (#83)(#85)
  • fix(deps): bump did-resolver version
  • fix: update the default @context to be LD compatible (#99)
  • docs: update readme and spec to reflect reality and current DID spec compliance (#99)
  • fix: rename publicKey to verificationMethod (#99)
  • fix: rename ethereumAddress to blockchainAccountId (#99)
  • feat: no more errors thrown during resolution.

BREAKING CHANGES

  • The return type is DIDResolutionResult which wraps a DIDDocument.
  • No errors are thrown during DID resolution. Please check result.didResolutionMetadata.error instead.
  • This DID core spec requirement will break for users expecting publicKey, ethereumAddress, Secp256k1VerificationKey2018 entries in the DID document. They are replaced with verificationMethod, blockchainAccountId and EcdsaSecp256k1VerificationKey2019 and EcdsaSecp256k1RecoveryMethod2020 depending on the content.

Closes #105, #106, #83, #85 #95, #99