Skip to content

Releases: ruby-rdf/sparql-client

Release 3.3.0

01 Sep 20:52
Compare
Choose a tag to compare
  • Fix content-type expectations, as text/plain no longer is the same as N-Triples.
  • Updates for version 3.3.0 with minimum Ruby version 3.0.

Release 3.2.2

23 Jul 22:08
Compare
Choose a tag to compare
  • Tolerate an empty binding in XML.
  • Adds support for Federated Service with SERVICE keyword. (Fixes #99).
  • Update dependencies.

Release 3.2.1

16 Mar 17:37
Compare
Choose a tag to compare
  • Run client finalizer in a Thread (if possible) for emergent Ruby 3.1 issue with net-http-persistent.
  • Force running REXML in addition to Nokogiri by adding library keyword argument to parse_xml_bindings.
  • Put documents on GH-pages.
  • Improve TSV parsing and CSV tests.
  • Set variable_names in solutions, which might not be the same as the actual variables used in the solutions.
  • Client calling sequence example updates options usage (@white-gecko)

Release 3.2.0

29 Dec 22:35
Compare
Choose a tag to compare
  • Minimum Ruby version now 2.6.
  • Add triple forms parsing to XML and JSON results for RDF-star.

Release 3.1.2

19 Jan 01:23
Compare
Choose a tag to compare
  • Update net-http-dependency to >= 4.0.1 and enable CI on Ruby 3.0.
  • Change finalizer for closing HTTP connections to a class method.

Release 3.1.1

26 Dec 03:06
Compare
Choose a tag to compare
  • Use optimize: true for queries to the sparql gem.
  • Fix bug in values when value is not a literal. Fixes #96.

Release 3.1.0

16 Dec 22:25
Compare
Choose a tag to compare
  • Updates for 3.1 release and Ruby 2.7 calling sequences.
  • Add default for User-Agent HTTP header, and fix code that sets default headers when creating the client.
  • Add Client#close to shutdown any HTTP connection and object finalizer to do the same.

Release 2.2.0

14 Dec 01:07
Compare
Choose a tag to compare

Updates for RDF.rb 2.2.0

  • Handle Enumerable values on Repository#delete
    • A test for RDF::Enumerable inputs was added by ruby-rdf/rdf-spec#39. This adds conformance, and allows SPARQL::Client::Repository to use the new Mutable#delete_insert interface. It does not yet implement an efficient SPARQL #delete_insert.
  • It may be possible to refactor #delete_statements in response to these changes, to remove the code smells called out in the comment in that method.
  • Change calling sequence to Repository to use uri named parameter instead of fixed endpoint parameter.
  • Change pattern of uri named parameter for backwards compatibility with earlier versions of Ruby 2.x
  • Add block forms for #where and #optional, this allows sub-queries to be run within the block, and filters to be added to the OPTIONAL block.
  • Add support for UNION, either with triple patterns, subquery, or block form.
  • Add support for MINUS, pretty much equivalent to UNION support.
  • Add documentation for select :count option. Not quite what was requested in #27, but probably good enough.
  • Add Repository#each_statement using a copy from Enumerable. This is because the Dataset#each_statement uses an internal instance variable which is not set generically. (We may want to think about this, as Repository subclasses Dataset, and we either need to give guidance to developers on what methods need to be implemented, or fallback to the correct behavior if @statements doesn't exist. SPARQL::Client::Repository#initialize calls super (RDF::Repository#initialize), which doesn't call RDF::Dataset#initialize, thus the @statements instance variable is never set.
  • Add supports literal_equality so that spec count passes.
  • Add support for net-http-persistent 3.x
  • Update webmock to ~> 2.3.
  • Use Solution#to_h instead of #to_hash.

Release 2.1.0

06 Sep 19:04
Compare
Choose a tag to compare
  • content_type is always passed to RDF::Reader.for
  • raise error when no suitable rdf reader is found
  • Fixed quality values in generated Accept headers
  • Added pre/post HTTP request hooks for monitoring/debugging.
  • Update minimum ruby version, and change sxp repo location in Gemfiles.
  • Handle empty response body on update queries
  • Fixed problems with the alternative endpoint
  • Improvement: don't parse update response

Release 2.0.2

06 Sep 19:08
Compare
Choose a tag to compare
  • content_type is always passed to RDF::Reader.for
  • raise error when no suitable rdf reader is found
  • Fixed quality values in generated Accept headers
  • Added pre/post HTTP request hooks for monitoring/debugging.
  • Update minimum ruby version, and change sxp repo location in Gemfiles.
  • Handle empty response body on update queries
  • Fixed problems with the alternative endpoint
  • Improvement: don't parse update response