Release 3.0.0
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 totrue
if processingMode isjson-ld-1.1
- The
omitDefault
flag now defaults tofalse
, 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.