Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
20c4d4c
feat: add support for JSON-LD parsing
jeswr Oct 24, 2023
5088189
chore: fix lint errors
jeswr Oct 24, 2023
9af7881
chore: refactor verify functionality
jeswr Oct 24, 2023
382ba41
chore: get full test coverage
jeswr Oct 24, 2023
1b948c5
chore: rebuild lockfile from main
jeswr Oct 24, 2023
1c8b26a
chore: globally cache the common CachedFetchDocumentLoader configuration
jeswr Oct 24, 2023
e6ea8f0
chore: temporarily disable getVerifiableCredentialAllFromShape test
jeswr Oct 24, 2023
4117faa
chore: test if sequentially parsing vcs resolves memory issue
jeswr Oct 25, 2023
a529736
chore: benchmark parsing
jeswr Oct 25, 2023
1551604
perf: cache the normalized context
jeswr Oct 25, 2023
ded8f1f
chore: re-supply parse options
jeswr Oct 25, 2023
72ce3f8
chore: cache child contexts
jeswr Oct 25, 2023
974c442
chore: fix lint errors and remove console.logs
jeswr Oct 25, 2023
36c658f
chore: generalize caching behavior
jeswr Oct 25, 2023
1ac2c05
chore: reduce batch size for vc parsing
jeswr Oct 25, 2023
501a30e
chore: use console timing
jeswr Oct 25, 2023
0f8ce27
chore: collect jest coverage
jeswr Oct 25, 2023
17df529
Update src/lookup/query.ts
jeswr Oct 31, 2023
83a182b
Update src/lookup/query.ts
jeswr Oct 31, 2023
e953cff
Update src/lookup/query.ts
jeswr Oct 31, 2023
64d0c25
chore: update context parser and streaming parser
jeswr Nov 8, 2023
97164a0
chore: fix lint errors
jeswr Nov 8, 2023
88ce838
Merge branch 'main' into feat/jsonld-parsing-without-serialization
jeswr Nov 8, 2023
e109c3c
chore: rebuild lockfile
jeswr Nov 8, 2023
0ab4371
chore: update type export
jeswr Nov 10, 2023
fcc22e8
chore: remove caching of odrl
jeswr Nov 13, 2023
8245dd3
Merge branch 'main' into feat/jsonld-parsing-without-serialization
jeswr Nov 13, 2023
f97ed72
chore: fix lint errors
jeswr Nov 13, 2023
74c0df4
chore: fix type error in tests
jeswr Nov 13, 2023
5446300
chore: freeze response of verifiableCredentialToDataset
jeswr Nov 21, 2023
3f798bd
WIP: RDFJS checkers
jeswr Nov 22, 2023
8e0df84
chore: improve test coverage of getters
jeswr Nov 23, 2023
7195c00
WIP: testing isVerifiablePresentation
jeswr Nov 23, 2023
b954cb0
chore: fix isVerifiablePresentation RDFJS test
jeswr Nov 23, 2023
b9e7b90
chore: improve isVerifiablePresentation tests
jeswr Nov 23, 2023
cc4dde5
chore: run lint:fix
jeswr Nov 23, 2023
08ad5f2
chore: export getCredentialSubject
jeswr Nov 23, 2023
eecca32
chore: export getExpirationDate and rdfjs verifiableCredential checkers
jeswr Nov 24, 2023
a377e6f
chore: add links for cached contexts
jeswr Nov 24, 2023
0263951
Merge branch 'main' into feat/jsonld-parsing-without-serialization
jeswr Nov 24, 2023
cfdcf87
fix: getCredentialSubject should always return a NamedNode
jeswr Nov 24, 2023
609a28b
chore: allow 60 seconds for shape matching test
jeswr Nov 24, 2023
c7f7949
chore: use vcConfiguration endpoints instead of hard coded ones
jeswr Nov 25, 2023
57b8b00
chore: run lint:fix
jeswr Nov 25, 2023
340b51b
chore: fix timeouts in e2e tests and use automatically fetched config
jeswr Nov 25, 2023
c049814
WIP: implement normalization opt-out
jeswr Nov 25, 2023
686fa57
WIP: enable normalization opt out
jeswr Nov 25, 2023
0562a67
chore: add some getVerifiableCredential tests
jeswr Nov 25, 2023
ced8c3e
chore: fix lint errors
jeswr Nov 26, 2023
bd6e865
chore: improve test coverage
jeswr Nov 26, 2023
369b698
chore: extend test suite
jeswr Nov 26, 2023
349b361
chore: remove json error details from test
jeswr Nov 26, 2023
5119f18
chore: get full test coverage
jeswr Nov 26, 2023
3aabb6c
chore: export VerifiableCredentialBase
jeswr Nov 26, 2023
cfc5680
chore: add normalization hook
jeswr Nov 27, 2023
8b65365
chore: add normalization test
jeswr Nov 27, 2023
a8e2dc7
Update src/common/getters.ts
jeswr Nov 28, 2023
1a01afe
Update src/common/getters.ts
jeswr Nov 28, 2023
13e9f01
feat: add parameterizable normalization
jeswr Nov 29, 2023
a372474
chore: update JSDoc
jeswr Nov 29, 2023
9bedd17
chore: fixup type overloads
jeswr Nov 29, 2023
4b64ce3
chore: resolve test coverage for normalization
jeswr Nov 29, 2023
c085151
chore: fix circular deps
jeswr Nov 29, 2023
6b77d2f
chore: add skipValidation option
jeswr Nov 30, 2023
5f923d2
chore: fix lint errors
jeswr Nov 30, 2023
cd4eef8
Cleanup flow typing
NSeydoux Dec 4, 2023
0f9f302
Update src/common/getters.ts
jeswr Dec 4, 2023
811cd51
Update src/common/common.test.ts
jeswr Dec 4, 2023
45b5724
chore: use it.each in common.test.ts
jeswr Dec 4, 2023
841d258
chore: comment on skipped content-type test and remove unused dependency
jeswr Dec 4, 2023
66261b8
chore: make query properly use dataset
jeswr Dec 5, 2023
c098ef4
chore: make verify functions rdfjs
jeswr Dec 5, 2023
707cb34
chore: fix errors messaging
jeswr Dec 5, 2023
f46da10
Merge branch 'main' into feat/jsonld-parsing-without-serialization
jeswr Dec 7, 2023
dedcc1b
chore: fix docs:build errors
jeswr Dec 7, 2023
0d375a6
chore: mark internal_getVerifiableCredentialFromResponse as hidden
jeswr Dec 7, 2023
c135d41
chore: remove variable shadowing
jeswr Dec 12, 2023
8563436
chore: update changelog
jeswr Dec 12, 2023
23ae3a2
chore: fix breaking changes header
jeswr Dec 12, 2023
5d3dfa9
Merge branch 'main' into feat/jsonld-parsing-without-serialization
jeswr Dec 12, 2023
56fa718
chore: fix build errors
jeswr Dec 12, 2023
4b6051b
breaking: remove use of universal fetch
jeswr Dec 17, 2023
5dd559a
chore: drop node 16 tests
jeswr Dec 17, 2023
d75c8bc
Merge branch 'main' into feat/jsonld-parsing-without-serialization
jeswr Dec 17, 2023
212a1aa
chore: remove polyfills in e2e tests
jeswr Dec 17, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
matrix:
# Available OS's: https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [20.x, 18.x, 16.x]
node-version: [20.x, 18.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest]
node-version: ["16.x", "18.x", "20.x"]
node-version: ["18.x", "20.x"]
environment-name: ["ESS PodSpaces", "ESS Dev-2-1"]
experimental: [false]
include:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ The following changes have been implemented but not released yet:

## Unreleased

### Breaking Changes

- Parsing Verifiable Credentials. 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 reccomend 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.
- Use the global `fetch` function instead of `@inrupt/universal-fetch`. This means this library now only works
with Node 18 and higher.

## [0.7.4](https://github.com/inrupt/solid-client-vc-js/releases/tag/v0.7.4) - 2023-11-17

### Internal Changes
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module](https://www.npmjs.com/package/buffer).
### Node.js Support

Our JavaScript Client Libraries track Node.js [LTS
releases](https://nodejs.org/en/about/releases/), and support 16.x, 18.x and 20.x.
releases](https://nodejs.org/en/about/releases/), and support 18.x and 20.x.

## Changelog

Expand Down
Loading