Changelog
3.1.0 - 2020-04-15
prependBase
to start path with a '/' for a zero length path
if there is an authority in base.null
and caching
@import
.@base
in initial context and don't resolve a relative IRI
when setting @base
in a context, so that the document location can
be kept separate from the context itself.package.json
version
field for EARL reports.Changelog
3.0.1 - 2020-03-10
@type
from added values in Merge Node Maps step 2.2.1.Changelog
3.0.0 - 2020-03-10
omitGraph
default
changed to match the JSON-LD 1.1 Framing spec. This is likely to cause issues
in most current uses of frame()
. Result handling similar to
framed['@graph'][0]
will have to be changed. Check your code.console.warn
. This will be replaced by a new event notification
API in an upcoming release."@type": "@none"
.null
and []
).typeScopedContext
to _expandObject
._expandObject
when the key is
@included
or @type
.isDouble
to look for big integers.removeDotSegments
only ensures preceding '/' if was already absolute.@type
with empty map.@
values for @reverse
.@id
and other requireAll
semantics.LINK_HEADER_REL
in lib/constants.js
has been deprecated and
renamed to LINK_HEADER_CONTEXT
. It remains for now but will be removed in a
future release.embed
to "@once" and warn on "@first" or "@last".pruneBlankNodeIdentifiers
based on processingMode.omitGraph
based on processingMode.removePreserve
with cleanupPreserve
and cleanupNulls
.graphStack
code that was removed from the spec."@import"
.@included
blocks"@direction"
.@direction
when rdfDirection
is
'i18n-datatype'.@graph
omitted if omitGraph
is true
.@embed
.@type
when framing.Changelog
2.0.2 - 2020-01-17
"@type": "@none"
.null
and []
).null
values.isKeyword()
optimization for non-keyword fast path.Changelog
2.0.0 - 2019-12-09
callbackify
feature, or another similar
utility library. Suggestions on how best to provide a backwards compatibility
layer are welcome.@included
.@type
requires @type
to be either @id
or @vocab
, and
defaults to @id
.@index
.@vocab
can be relative or a Compact IRI in 1.1, resolved against either a
previous @vocab
, @base
or document base."@prefix": false
or expanded term definitions to
construct compact IRIs.@type
may be used as a term definition only if "@container": "@set"
.loadDocument
API and obsolete
DocumentCache
.Changelog
1.8.1 - 2019-10-24
Changelog
1.8.0 - 2019-09-10
toRdf
output.Changelog
1.6.2 - 2019-05-21
protected
flag itself.@type
values are evaluated against the previous context,
not the type-scoped context.