Releases: ruby-rdf/sparql-client
Releases · ruby-rdf/sparql-client
Release 3.3.0
Release 3.2.2
- Tolerate an empty binding in XML.
- Adds support for Federated Service with SERVICE keyword. (Fixes #99).
- Update dependencies.
Release 3.2.1
- 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 toparse_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
- Minimum Ruby version now 2.6.
- Add triple forms parsing to XML and JSON results for RDF-star.
Release 3.1.2
- 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
- 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
- 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
Updates for RDF.rb 2.2.0
- Handle
Enumerable
values onRepository#delete
- A test for
RDF::Enumerable
inputs was added by ruby-rdf/rdf-spec#39. This adds conformance, and allowsSPARQL::Client::Repository
to use the newMutable#delete_insert
interface. It does not yet implement an efficient SPARQL#delete_insert
.
- A test for
- 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 fixedendpoint
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 fromEnumerable
. This is because theDataset#each_statement
uses an internal instance variable which is not set generically. (We may want to think about this, asRepository
subclassesDataset
, 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 callRDF::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
- 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
- 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