Releases: inrupt/solid-client-js
Releases · inrupt/solid-client-js
v2.0.1
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
becomesfoo/bar
), and resolving relative URL segments (foo/bar/..
becomesfoo/
).
v2.0.0
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 atdist/index.umd.js
rather thanumd/index.js
. - Drop support for
Buffer
s as input tosaveFileInContainer
andoverwriteFile
. Use the file name of inputs tosaveFileInContainer
as theSlug
name recommendation if no slug is explicitly provided. - Have
getJsonLdParser
returnvoid
rather than a Promise so that it now aligns with
theParser
type definition. - Remove deprecated ACP APIs; including all APIs for ESS 1.1.
v1.30.2
v1.30.1
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
v1.30.0
New features
validateContainedResourcesAll
: In addition to the change togetContainedResourcesAll
described in the Bugfix section, a new function is added to the API to help detecting
incorrect containment claims.
Bugfixes
getProfileAll
now also followsrdfs: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 meanshttps://pod.example.org/foo/bar/moo
cannot be considered a child resource ofhttps://pod.example.org/foo/
, regardless
of theldp:contains
statements in the container. Resources from a different
origin are also be excluded by this change.
v1.29.0
v1.28.1
v1.28.0
v1.27.1
Bugfixes
universal
: Ignore errors when ACL is not found, so that it can be handled properly for WAC.