Skip to content

Releases: inrupt/solid-client-js

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

v1.28.0

09 May 10:13
82cde5b
Compare
Choose a tag to compare

New feature

  • Node 20 support

v1.27.1

18 Apr 08:54
f3467de
Compare
Choose a tag to compare

Bugfixes

  • universal: Ignore errors when ACL is not found, so that it can be handled properly for WAC.

v1.27.0

14 Apr 09:13
73a81c5
Compare
Choose a tag to compare

New feature

  • Node 18 support

Documentation

  • Buffer API marked as deprecated.