Skip to content

Releases: ruby-rdf/rdf

Release 3.2.3

17 Jan 02:16
Compare
Choose a tag to compare
  • Improve documentation of URI#pname and URI#qname when using the prefixes 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

03 Jan 23:37
Compare
Choose a tag to compare

Reinstate RDF::Repository::Implementation::SerializedTransaction as an alias of RDF::Transaction:: SerializedTransaction. (@no-reply)

Release 3.2.1

30 Dec 21:47
Compare
Choose a tag to compare
  • 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

29 Dec 21:34
Compare
Choose a tag to compare
  • 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 and URI#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 for RDF::Repository with that used in RDF::OrderedRepo.

Release 3.1.15

14 Jun 17:10
Compare
Choose a tag to compare
  • 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

29 May 18:30
Compare
Choose a tag to compare
  • 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

06 Mar 20:59
Compare
Choose a tag to compare
  • 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

16 Feb 22:43
Compare
Choose a tag to compare

Normalize existential accessors (e.g. #statement?) to take both 0-ary and 1-ary variations.

  • #term?
  • #statement?
  • #variable?
  • #graph?

Release 3.1.11

16 Feb 00:38
Compare
Choose a tag to compare
  • 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

02 Feb 21:45
Compare
Choose a tag to compare
  • Add Term#terms and Statement#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.