- BREAKING: Convert to module (ESM).
- BREAKING: Require Node.js >=14.
- Update dependencies.
- Lint module.
- Add
resolver.generate()
pass-through function.
This version is a major breaking release, based on cumulative experience in
the field with DID method drivers. See Upgrading from 8.x
section for
instructions.
- BREAKING: Rename NPM package name from
did-io
to@digitalbazaar/did-io
. - BREAKING:
.use()
no longer requires a method id first param. New usage:.use(driver)
. - Add a
CachedResolver
class (extracted fromdid:key
method driver) to server as the driver harness. - BREAKING: Change module export signature. (see Upgrading section below on usage.)
- BREAKING: No longer export a
DidDocument
class. DID documents are now expected to be plain JS/parsed JSON objects, instead ofDidDocument
instances.
See Upgrading v0.8 to v1.0.0 checklist in docs/
.
- Engine specification format in package.json (Node 12+).
- Remove
forceConstruct
flag (move it down to individual drivers).
- Add a
forceConstruct
optimization flag.
- BREAKING: Update API to Chai-like
dids.use(method, driver)
architecture (no methods will be bundled with did-io by default). - BREAKING: Updated terminology to match latest VeresOne DID method specs:
grantCapability -> capabilityDelegation
,invokeCapability -> capabilityInvocation
- BREAKING: Renamed
secretKey
toprivateKey
, to match Digital Bazaar conventions. (Migrating from v0.7.0 will require renaming the relevant properties in existing DID Docs.)
- Node requirement bumped to 8.3
- Updated license to match newer projects
- Library updated to run against Veres One testnet
- Port DID creation and management code from
did-client
- Port web ledger client and key management code from
did-veres-one
anddid-veres-one-client
- Changed DID storage method - private keys, metadata and DID Docs stored separately, on disk
- Add support for new DID format as described in the DID specification.
- See git history for changes previous to this release.