Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

v0.3.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@NoelDeMartin NoelDeMartin released this 17 Jul 14:14
  • Updated functionality related to Soukai 0.3.0 release (relationships, engine interface).
  • Replaced rdflib dependency with jsonld-streaming-parser, jsonld-streaming-serializer and n3.
  • Added default export with loadSolidModels method to load models defined by soukai-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 than SolidEngine 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).