Releases: ruby-rdf/rdf
Releases · ruby-rdf/rdf
Release 3.2.3
- Improve documentation of
URI#pname
andURI#qname
when using theprefixes
keyword argument. (Fixes #73). - Add
RDF::Vocabulary.__prefix__=
to set the prefix to use for a given vocabulary. (fixes #431). - In URI#pname, escape any reserved characters in the suffix.
- In Vocabulary.expand_pname, unescape reserved characters in the suffix.
Release 3.2.2
Reinstate RDF::Repository::Implementation::SerializedTransaction as an alias of RDF::Transaction:: SerializedTransaction. (@no-reply)
Release 3.2.1
- Add failing test doing list manipulations inside a transaction on the default repository implementation. This works with serialized transactions.
- Add back SerializedTransaction as a sub-class of Transaction, and use in default Repository implementation.
Release 3.2.0
- Minimum Ruby version now 2.6.
- Update N-Triples/N-Quads production names for quoted triples.
- Improve
Literal#comperable_datatypes2
. - Handle corner-case on canonicalizing a Double whose value is nil. (to_sxp issues).
- Initialize Logger instanance variables, if not defined. (Fixes #428.)
- Fix
Term.to_ruby
to better serialize attributes containing blank node terms. - Allow
URI#qname
andURI#pname
to take a :prefixes named parameter, which skips vocabulary navigation and uses any specified prefixes. - Now that
RDF::HamsterRepo
has been extracted into the rdf-hamster-repo gem, replace the builtin implementation forRDF::Repository
with that used inRDF::OrderedRepo
.
Release 3.1.15
- Create
Pattern#dup
, which will recursively duplicate itself. - Use RDF-star sense of
Statement#eql?
by comparing array values of statements using#eql?
instead of#==
. - Add
<=>
(spaceship) operator for Literal and Numeric to better support RDF-star semantics.
(Note, this is the same as 3.1.14, which was yanked due to a problem with the released gem).
Release 3.1.14
- Create
Pattern#dup
, which will recursively duplicate itself. - Use RDF-star sense of
Statement#eql?
by comparing array values of statements using#eql?
instead of#==
. - Add
<=>
(spaceship) operator for Literal and Numeric to better support RDF-star semantics.
(Note, version was yanked due to a problem with the released gem; re-released as 3.1.15).
Release 3.1.13
- In CLI Reuse prefixes established when reading when serializing.
- Update enabled methods defined for Query::Solution to include
public_methods, and
method`.- Note overridden instance methods and deprecate their usage.
Release 3.1.12
Normalize existential accessors (e.g. #statement?
) to take both 0-ary and 1-ary variations.
#term?
#statement?
#variable?
#graph?
Release 3.1.11
- Favor absolute URIs for term attributes and properties, but allow pnames transitionally.
- Update local vocabularies to use absolute URIs in property values and keys.
- Change
Term#properties
to use an empty hash with a default_proc which does the magical lookup from attributes. - Add
noDoc
option to Vocabulary writer to eliminate the Yard documentation.
Release 3.1.10
- Add
Term#terms
andStatement#terms
which returns an array including itself, and array including the non-nil non-statement terms, respectively. - Rename
#has_foo?
methods as simply#foo?
to go with Ruby style. Old accessors remain as aliases. In some cases (statement?
,term?
) these were already in use, so now are overloaded.