Breaking change
FetchError
is no longer thrown, and replaced withClientHttpError
. Please prefer using type guards from
@inrupt/solid-client-errors
, e.g.hasErrorResponse
andhasProblemDetails
, rather thaninstanceof
.
New Features
- Node 22 is now supported
ClientHttpError
is thrown on HTTP error. It implementsWithErrorResponse
andWithProblemDetails
,
meaning it has respectively.errorResponse
and.problemDetails
getters. The former provides
access to the raw HTTP response, and the latter to structured data about the error compliant with
RFC9457.
New Contributors
- @RWJMurphy made their first contribution in #922
- @acoburn made their first contribution in #1031
- @jholleran made their first contribution in #1037
Full Changelog: v2.0.0...v3.0.0