版本发布 8
## Breaking Changes - Support for Node.js v18.x has been dropped as that version has reached end-of-life.
# New feature - Query endpoint discovery: the `getVerifiableCredentialApiConfiguration` function now has a `queryService` entry if the target service supports the Inrupt Access Grant query endpoint. **Full Changelog**: https://github.com/inrupt/solid-client-vc-js/compare/v1.1.2...v1.2.0
# Patch changes - Added support for the `https://schema.inrupt.com/credentials/v2.jsonld` JSON-LD context. **Full Changelog**: https://github.com/inrupt/solid-client-vc-js/compare/v1.1.1...v1.1.2
## Internal change - This has no impact on shipped code. A feature flag has been added to Problem Details end-to-end tests. ## Patch change - Some dependency updates **Full Changelog**: https://github.com/inrupt/solid-client-vc-js/compare/v1.1.0...v1.1.1
# Release summary ## Patch changes - Export type `VerifiableCredentialApiConfiguration`, which is part of the public API but was missing from the exports. ## New Contributors * @RWJMurphy made their first contribution in https://github.com/inrupt/solid-client-vc-js/pull/975 **Full Changelog**: https://github.com/inrupt/solid-client-vc-js/compare/v1.0.2...v1.0.3
# Patch changes - Export type `VerifiableCredentialApiConfiguration`, which is part of the public API but was missing from the exports. **Full Changelog**: https://github.com/inrupt/solid-client-vc-js/compare/v1.0.0...v1.0.2
# 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`.
# New Features - Support for parsing Verifiable Credentials as JSON-LD. This allows the Verifiable Credential to be read using the RDF/JS DatasetCore API.