Releases: sweetrdf/sparqlClient
Releases · sweetrdf/sparqlClient
PreparedStatement::getQuery() fixed
Allow both rdfInterface v1 and v2
0.6.1 composer.json: allow both rdfInterface v1 and v2
Support for various SPARQL result formats added
Backward-incompatible changes
sparqlClient\SimpleConnectionInterface
and thereforesparqlClient\StandardConnection
dropped theask()
andprepareAsk()
methods.
This is because ASK SPARQL queries can now be properly parsed by thesparqlClient\Statement
class and there is no need to maintain a separate API for them.
API enhancements
sparqlClient\StatementInterface
and thereforesparqlClient\StatementInterface
andsparqlClient\PreparedStatement
:fetchColumn()
may now also returnstring
(for CSV/TSV SPARQL responses) andbool
(for ASK queries responses)fetch()
may now also returnstring
(for CSV/TSV SPARQL responses when$fetchStyle
equalsPDO::FETCH_COLUMN
) andbool
(for ASK queries responses$fetchStyle
equalsPDO::FETCH_COLUMN
)fetch()
andfetchAll()
support also$fetchStyle
ofPDO::FETCH_NUM
andPDO::FETCH_BOTH
Backend enhancements
sparqlClient\Statement
and thereforesparqlClient\PreparedStatement
:- can parse ASK SPARQL query results
- can parse SPARQL results in any of
application/sparql-results+json
(including RDF-star),application/sparql-results+xml
(including RDF-star),text/csv
andtext/tab-separated-values
format
Bugfixes
sparqlClient\Connection::query()
method properly sets the HTTP Accept header of the request to the response mime types supported by thesparqlClient\Statement
class.
Adjusted to rdfInterface 1.0.0
0.5.0 README.md: minor fixes
PreparedStatement::bindParam() fixed
0.4.1 PreparedStatement::bindParam() fixed
Parameterized queries added
0.4.0 Prepared statements added
PDO::FETCH_ASSOC fetch style support added
0.3.0 PDO::FETCH_ASSOC fetch style added to the Statement class
StandardConnection class added
0.2.0 Statement::fetch() throws error on unsupported $fetchStyle
Initial release
0.1.0 README updates