Skip to content

Release 3.0.0

Compare
Choose a tag to compare
@gkellogg gkellogg released this 18 Aug 00:41
· 394 commits to develop since this release

Sync with updates from JSON-LD 1.1 Working Group

  • Updates maps and term assignment to use @none.
  • Improve inverse context creation and compact_iri to use concatenated containers.
  • Change prioritization for values not matching a container to be after @none.
  • Don't force contents of @graph into an array.
  • Added support for omitGraph for framing, defaulting to true if processingMode is json-ld-1.1
  • The omitDefault flag now defaults to false, and is indepdendent of processing mode.
  • Change to use "@vocab": "" semantics, and vocabulary expansion/compaction just as if the effective document base was specified as @vocab.
  • Sort @type when looking for scoped contexts.
  • Make sure multiple objects with @container: @graph are maintained as multiple graphs.
  • Simplify processing mode conflicts to allow mixing different types of contexts.
  • Support for lists of lists.
  • Raise error if too many recursive contexts loaded.
  • Have toRdf emit only valid triples, excluding anything invalid. Literal validity is based on the value being a string, language having the proper form, and datatype IRI being valid.