Skip to content

v1.0.0

Choose a tag to compare

@NSeydoux NSeydoux released this 21 Dec 10:18
59993c9

Breaking Changes

  • Parsing Verifiable Credentials as RDF from JSON-LD. This allows the Verifiable Credential to be read using the RDF/JS DatasetCore API. This is a breaking change because the VerifiableCredential type now is also of type DatasetCore. Importantly, this dataset is not preserved when converting to verifiableCredentials a string and back doing JSON.parse(JSON.stringify(verifiableCredential)). We recommend that developers set returnLegacyJsonld to false in functions such as getVerifiableCredential in order to avoid returning deprecated object properties. Instead developers should make use of the exported getter functions to get these attributes.
  • Node 16 is no longer supported. The global fetch function is used instead of @inrupt/universal-fetch. This means this library now only works
    with Node 18 and higher.
  • The deprecated signature of issueVerifiableCredential (including a subjectId parameter) is no longer supported. Please remove the extraneous parameter.
  • Due to changes in the rollup config, the umd output is now found at dist/index.umd.js rather than umd/index.js.