This repository was archived by the owner on Mar 27, 2025. It is now read-only.
v0.3.0
Pre-release
Pre-release
- 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).