Releases: ruby-rdf/json-ld
Releases · ruby-rdf/json-ld
Release 3.3.1
Release 3.3.0
- Don't check
simple
when comparing term definitions. (Relates to w3c/json-ld-api#570). - Simplify dependencies.
- Updates for version 3.3 with minimum Ruby version 3.0.
Release 3.2.5
Release 3.2.4
- Separate
RDF::Literal
handling fromContext#expand_value
directly intoFromRDF#resource_representation
. - Pass through RDF literals in
ToRDF#item_to_rdf
. - Use
internalRepresentation
option in fromRdf to preserve raw RDF literals as values. - Use context loader when loading contexts.
- Add
allowed_content_types
keyword argument toloadRemoteDocument
to allow additional content types to be considered valid. - Add Context#to_rb tests, and make sure preloaded context has a context_base.
- Update dependencies and relax dependencies on rack and sinatra.
- fix(performance): comment all log_debug (@abrisse)
Release 3.2.3
- Update serializer to use any
serializer_opts
option passed, which defaults toJSON_STATE
. - Consolidate CLI command processing and allow for other formats than
:jsonld
. This allows for YAML-LD to re-used the same commands.
Release 3.2.2
- Add
serializer
option to API methods and Writer to be able to specify the proc to use when serializing to JSON.- Useful for serializing to formats other than JSON.
- Don't serialize when API methods are used internally.
Release 3.2.1
- Mark quoted statements as such.
- Update documentation links to use gh-pages, and add action to publish gh-pages from Yard docs.
- Define the format URI to http://www.w3.org/ns/formats/JSON-LD.
- CI on Windows.
- When expanding, don't delete
@context
from input. Fixes #54.
Release 3.2.0
- Minimum Ruby version now 2.6.
- Fix reading
@processingMode
in context.
Release 3.1.10
- Check for dot segments finding base and parents.
- Add minor change to compaction algorith to expand property index before compacting it.
- Better account for context_base when loading a scoped context.
Release 3.1.9
- JSON-LD-star
- Add createAnnotations option to flatten, and use in fromRdf.
- Update naming to RDF-star/JSON-LD-star.
- Add --rdfstar option to bin/jsonld.
- fix a bug in bin/jsonld
compact from the command line was not working, because the--compact
option was updating the wrong object.
- Don't compact things as relative IRIs that look like keywords.
- Make sure that all keywords that are compacted use
vocab: true
.