Skip to content

Releases: inrupt/solid-client-js

v2.1.2

15 Oct 15:15
d43b73b
Compare
Choose a tag to compare

Internal change

  • This change has no impact on shipped code. A missing feature flag has been added to Problem Details end-to-end tests.

Patch changes

  • Some dependency updates

Full Changelog: v2.1.1...v2.1.2

v2.1.1

14 Oct 14:28
fe2b35b
Compare
Choose a tag to compare

Internal change

  • This change has no impact on shipped code. A feature flag has been added to Problem Details end-to-end tests.

Patch changes

  • Some dependency updates

Full Changelog: v2.1.0...v2.1.1

v2.1.0

27 Aug 10:07
a9a43f0
Compare
Choose a tag to compare

New Features

  • Node 22 is now supported
  • FetchError now implements WithProblemDetails: it has a .problemDetails getter providing
    additional information about the HTTP error response, either provided by the server if it
    supports RFC9457, or falling back to defaults.

Patch changes

  • Fixed #2339: Unnamed policies are now returned by getResourcePolicyAll if an optional argument
    { acceptBlankNodes: true } is specified. This additional argument makes this a non-breaking change,
    as the current type signature isn't changed.

  • getThing now supports Blank Node identifiers in addition to IRIs and skolems to refer to a subject.

  • getThingAll(dataset, { allowacceptBlankNodes: true }) now returns all Blank Nodes
    subjects in the Dataset, in particular including those part of a single chain of
    predicates. For instance, given the following dataset:

    @prefix ex: <https://example.org/> .
    @prefix foaf: <http://xmlns.com/foaf/0.1/> .
    
    ex:camille
      foaf:knows [
        foaf:name "Dominique"@en ;
      ] .
    ;
    

    getThingAll(dataset, { allowacceptBlankNodes: true }) would have previously returned
    a single element for the Named Node (ex:camille), it will now also include a second
    element for the Blank Node. Blank Node identifiers are by definition unstable and shouldn't
    be relied upon beyond local resolution.

New Contributors

Full Changelog: v2.0.1...v2.1.0

v2.0.1

11 Mar 14:28
52622a8
Compare
Choose a tag to compare

Patch changes

  • Normalize input URLs for getSolidDataset, getFile, saveSolidDatasetAt, overwriteFile, createContainerAt, deleteSolidDataset, deleteFile, deleteContainer, saveSolidDatasetInContainer, createContainerInContainer, saveFileInContainer, getResourceInfo: Input URLs are now normalized by collapsing slash sequences (foo///bar becomes foo/bar), and resolving relative URL segments (foo/bar/.. becomes foo/).

v2.0.0

19 Dec 21:38
02ed468
Compare
Choose a tag to compare

Breaking Changes

  • Use the global fetch function instead of @inrupt/universal-fetch. This means this library now only works
    with Node 18 and higher.
  • Due to changes in the rollup config the umd output is now found at dist/index.umd.js rather than umd/index.js.
  • Drop support for Buffers as input to saveFileInContainer and overwriteFile. Use the file name of inputs to saveFileInContainer as the Slug name recommendation if no slug is explicitly provided.
  • Have getJsonLdParser return void rather than a Promise so that it now aligns with
    the Parser type definition.
  • Remove deprecated ACP APIs; including all APIs for ESS 1.1.

v1.30.2

27 Sep 01:45
5a52c25
Compare
Choose a tag to compare

Bugfixes

  • 1549: The universal API had a bug preventing it from handling correctly resources with a missing ACL. This is now resolved, and it correctly proceeds to creating the target ACL if required.

v1.30.1

17 Sep 14:02
7339bb0
Compare
Choose a tag to compare

Patch

  • Add a non-regression test for containment relationship validation. The behavior
    of the library was already correct in a specific edge case, but that was not
    covered by any test. Thanks to Otto-AA for noticing
    the gap and implementing the missing test.
  • Build system (bundler and TypeScript) updates. This should be transparent to dependants.

v1.30.0

31 Jul 10:56
03e68e4
Compare
Choose a tag to compare

v1.30.0

New features

  • validateContainedResourcesAll: In addition to the change to getContainedResourcesAll
    described in the Bugfix section, a new function is added to the API to help detecting
    incorrect containment claims.

Bugfixes

  • getProfileAll now also follows rdfs:seeAlso when discovering extended profiles.
  • When listing contained resources with getContainedResourcesAll, resources that
    are not direct child resources of the target container from a URL path semantics
    perspective are no longer returned. This means https://pod.example.org/foo/bar/moo
    cannot be considered a child resource of https://pod.example.org/foo/, regardless
    of the ldp:contains statements in the container. Resources from a different
    origin are also be excluded by this change.

v1.29.0

19 May 13:08
b16b636
Compare
Choose a tag to compare

New feature

  • Support File type from @types/node in overwriteFile and saveFileInContainer.

v1.28.1

10 May 11:57
395629e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.28.0...v1.28.1