Releases: ruby-rdf/json-ld
Releases · ruby-rdf/json-ld
Release 3.3.2
- CI on Ruby 3.3.
- Point to release notes in README.
- Explicit dependency for getoptlong.
- Add
SCRIPT_LOADERS
andAPI.add_script_loader
to allow alternate formats (e.g., YAML-LD) to define loaders for extracting script content. - Fix logic on retaining protected term definitions if redefined equivalently.
- Pass extractAllScripts to documentLoader.
- In
load_html
, load scripts from all matched types, not just the first. - The extractAllScripts should default to
false
inflatten
. - When compacting
@type
or@language
maps, account forcompacted_item
not being a Hash. (Fixes #62)
Release 3.3.1
Use version 1.0.0 of the json-canonicalization gem.
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.