Skip to content

v3.0.0

Latest
Compare
Choose a tag to compare
@NSeydoux NSeydoux released this 16 Sep 14:12
17a1671

Breaking change

  • FetchError is no longer thrown, and replaced with ClientHttpError. Please prefer using type guards from
    @inrupt/solid-client-errors, e.g. hasErrorResponse and hasProblemDetails, rather than instanceof.

New Features

  • Node 22 is now supported
  • ClientHttpError is thrown on HTTP error. It implements WithErrorResponse and WithProblemDetails,
    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

Full Changelog: v2.0.0...v3.0.0