- Include
results
in credential status check output.
- BREAKING: Use little-endian bit order in bitstrings. Previous versions used little-endian order internally for the bytes used to represent the bitstring, but big-endian order for the bits. This makes the endianness consistently little endian. Any legacy status lists that depended on the old order will be incompatible with this version.
- BREAKING: Remove support for node 14. Node 16+ required.
- BREAKING: Use
@digitalbazaar/vc@5
to get better safe mode protections.
- BREAKING: Convert to module (ESM).
- BREAKING: Require Node.js >=14.
- Update dependencies.
- Lint module.
- BREAKING: Add required param
statusPurpose
tocreateCredential()
. - Check if
statusPurpose
in credential matches thestatusPurpose
of status list credential. If they don't match, an error will be thrown.
- Export
StatusList
utility class.
- BREAKING: Use
@digitalbazaar/vc-status-list-context
v3.0. RenameRevocationList2021
andRevocationList2021Status
toStatusList2021
andStatusList2021Entry
respectively and removeSuspensionList2021Status
. _getStatuses
now returns an array of statuses with type "StatusList2021Entry" or an empty array if there are no matching types.
- New API
getCredentialStatus
gets a status by type from a VC.
- VCs can have multiple statuses.
- Use
@digitalbazaar/vc-status-list-context
. This is not a breaking change -- the context is the same just a package relocation.
- BREAKING: Renamed package to
@digitalbazaar/vc-status-list
.
- See git history for changes previous to this release.