This repository was archived by the owner on Mar 27, 2025. It is now read-only.
Releases: NoelDeMartin/soukai-solid
Releases · NoelDeMartin/soukai-solid
v0.5.2
Check out the changelog for release notes.
v0.5.1
Check out the changelog for release notes.
v0.5.0
Check out the changelog for release notes.
v0.4.2
Fixed relations initialization from JsonLD (models were sometimes duplicated on save).
v0.4.1
soukai
dependency has been updated to 0.4.1.- #5
soukai
has been moved to peerDependencies. - #6 Fetch types so that it works with different libraries.
- There were some operations specific to NSS that have been removed.
- SolidDocument models no longer require having any rdf classes.
documents
relationship is now initialized empty for new container models.- Fixed some edge cases creating containers.
- Fixed using collection url on saving fallback.
v0.4.0
- Improved error handling with new
MalformedDocumentError
andNetworkError
classes. SolidEngine
now exposes metadata of the documents it reads throughSolidEngineListener
.- Added
usingSameDocument
method inSolidHasManyRelation
. - Exposed model document info through
getDocumentUrl
,getSourceDocumentUrl
, etc. - Improved some internal interactions with the Solid server to use best practices (use describedBy header for containers, remove reserved container properties, and create documents with relative urls instead of absolute).
Breaking changes
soukai
dependency has been updated to 0.4.0.- Refactored the way to store multiple models in a single document. Read the docs.
v0.3.0
- Updated functionality related to Soukai 0.3.0 release (relationships, engine interface).
- Replaced
rdflib
dependency withjsonld-streaming-parser
,jsonld-streaming-serializer
andn3
. - Added default export with
loadSolidModels
method to load models defined bysoukai-solid
. - Added support for storing multiple models in a single document. Read the docs and see SolidModel.test.ts for examples.
- Added new
SolidDocument
model. - Added helper methods to relation instances. Read the docs to learn more.
Breaking changes
- Refactored engine document format generated by
SolidModel
, they now generate JSON-LD graphs. Data stored with engines other thanSolidEngine
needs to be migrated in the upgrade. Read the docs for details. - Some method signatures have changed in the
SolidModel
class. Check out those changes here. - Extracted container functionality to
SolidContainerModel
. - Made
SolidModel
class abstract (it should always have been).
v0.2.1
- Fixed a bug where using urls of missing resources within a
$in
filter would throw an error.
v0.2.0
- Added new functionality related to Soukai 0.2.0 release (relationships, filters).
- Added
resourceUrls
implicit field to containers. - Added
mintsUrls
static property onSolidModel
to disable url minting of new models. - Improved documentation.
Breaking changes
- License changed from GPL to MIT (read this to learn why).
- Soukai dependency updated to version 0.2.0, check out its changelog to learn what changed.
- Some methods and its arguments have changed, be sure to check out the new type definitions.
SolidModel
attributes are now converted to JsonLD before being sent to engines, this is related with a refactor on Soukai 0.2.0 where models have been decoupled from engines.solid-auth-client
dependency has been removed, theSolidEngine
constructor now takes a function as an argument to interact with Solid PODs.
v0.1.0
First version.