This project adheres to Semantic Versioning.
The following changes have been implemented but not released yet:
3.0.0 - 2024-09-16
FetchError
is no longer thrown, and replaced withClientHttpError
. Please prefer using type guards from@inrupt/solid-client-errors
, e.g.hasErrorResponse
andhasProblemDetails
, rather thaninstanceof
.
- 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.
2.0.0 - 2023-12-20
setSessionFetch
is no longer supported. Please provide aSession
to theBaseNotification
(or child classes) constructor instead.- The default session fetch from
@inrupt/solid-client-authn-browser
is no longer loaded lazily. The intended fetch should be provided explicitly. - Due to changes in the rollup config the
umd
output is now found atdist/index.umd.js
rather thanumd/index.js
. The UMD module name is nowSolidClientNotifications
instead ofSolidClient
.
- Build system (bundler and TypeScript) updates. This should be transparent to dependants.
- Node 20 is now officially supported
- Node 18 is now officially supported
- Transitive dependencies updates
- Always pass through fetch from BaseNotification to
getWellKnownSolid
, such that@inrupt/solid-client
doesn't have to load its own fetch implementation.
- LiveNotification now supports
once
andoff
events.
- Support for Node.js v12.x has been dropped as that version has reached end-of-life.
- WebsocketNotification
message
events are now parsed as JSON, this is technically a breaking change but we're allowing it due to the alpha nature of this library.
- use
getWellKnownSolid
from@inrupt/solid-client
to be more compatible/reliable - improve documentation of entire package to be clearer and document only APIs that should be used by end-users of the SDK.
- rework all tests to run successfully
- Request .well-known file as json-ld
- Initial implementation of WebsocketNotification