Releases: sparna-git/Sparnatural
9.0.1
9.0.0 - aggregation queries
We are very happy to publish a new major version of Sparnatural, including a lot of enhancements !
This version is not backward compatible with the previous with respect to saved queries, because the JSON query format has changed. Other than that, the configuration files you wrote will still be compatible with this version.
Don't forget to read the documentation at http://docs.sparnatural.eu/ !
Major New Features
- #398 : aggregation queries (COUNT)
- #170 : new widget to select numeric values, see http://docs.sparnatural.eu/widgets.html#number-widget
- #415, #414, #549 : significant improvements in Map widget
Other Enhancements
- #355 : ability to load and merge multiple configuration files
- #448 : pass configured settings for request headers to all AJAX requests
- #457 : added tooltips on reset and submit buttons
- #534 : support optgroup in ListWidget
- #548, #533, #416 : ability to customize widgets behavior
- #552 : src can take an inline string containing the configuration ontology
- #558 : SHACL config - support for sh:target/sh:select in SHACL config
- #559 : support for more complex sparqlString in OWL config
- #571 : SHACL config - ability to deal with anonymous property shapes
- #572 : SHACL config - support for SHACL property paths
- #573, #581 : SHACL config - support reading labels and description from classes and properties directly (and not shapes)
- #577 : SHACL config - support for sh:in to populate dropdown directly from the config
Bug fixes
- #539 : selecting a literal from a list does not format the SPARQL string correctly
- #562 : fixed SPARQL parsing error with "COUNT" datasources
- #567 : fixed reading domain/range in OWL configuration when they are UNIONs
- #568 : SHACL config - fix reading when NodeShapes are also classes
- #570 : remove "-" from SPARQL variable names
Refactoring
Documentation
- Support for optgroup in ListWidget is documented at http://docs.sparnatural.eu/OWL-based-configuration-datasources.html#your-own-sparql-query-lists--autocomplete
- #495 : documentation of customization feature
8.6.0
This is an important release that fixes bugs in query loading, column edition/ordering, and query submission. It also introduces the experimental feature of querying multiple endpoints at the same time. An important refactoring of the autocomplete widget took place with the migration to awesomplete instead of EasyAutocomplete.
Remember to update the theme CSS as new variables are introduced.
Breaking changes
None
New features:
- #536 : replaced EasyAutocomplete with awesomeplete in autocompletion widget
- #535 : added the ability to query multiple endpoints
Bug fixes:
- #540 : multiple submit event were sent when clicking on the submit button
- #547 : in OWL configuration, domains of properties using unionOf were not read properly
- #545 : query loading did not preserve variable names
- #543 : deleting a criteria messed up the selected variables in the query
- #542 : changing a column name re-enable the submit button
Documentation:
Full Changelog: 8.5.0...8.6.0
8.5.0
This is a minor release that fixes a few bugs and also adds HTTP headers customisation as well as tree datasources to navigate rdfs:subClassOf hierarchies in the tree widget. It also improves SHACL-based configuration a lot, which is still beta and under the radar at the moment.
Breaking changes
None
New features:
- #494 : add default datasources to navigate rdfs:subClassOf hierarchies in the tree widget
- #517 and #187 : ability to pass authentication headers in Sparnatural
- #515 : defaultLabelProperty is now honored by default datasource to build a datasource by default that can fetch a label
- #514 : improve default "literal or URI" datasources
- #513 : add spinner in ListWidget
- #432 : new generic UI/UX ontology for linked data display at VOLIPI : http://data.sparna.fr/ontologies/volipi
Bug fixes:
- #523 : replace special chars in bif:contains
- #413 : close button of MapWidget does not work
- #492 : when loading a query where first item was not selected, it still got selected
- #516 : line heigh adjustment when deselecting / reselecting end class group
- #507 : prevent selection of variables in negative branch
- #511 : fix double OPTIONAL with defaultLang parameter
Documentation:
- Authentication headers: http://docs.sparnatural.eu/Querying-a-password-protected-SPARQL-endpoint.html
- Widgets reference page: http://docs.sparnatural.eu/widgets.html
- SERVICE executedAfter flag: http://docs.sparnatural.eu/Federated-querying.html
Full Changelog: 8.4.0...8.5.0
8.4.0 - hello-sparnatural
This release corresponds to some refactoring of the source folders, most notably the introduction of the hello-sparnatural folder as a basis for a getting-started guide for documentation.
It also corresponds to significant improvements in SHACL support for configuration, although not yet documented.
Breaking change:
- #501 and #500 and #502 : changed the language behavior by introducing a
defaultLang
init parameters, passed to the datasources and honored by the defaultLabel properties
New features:
- #499 : new
init
event passing the languages of the configuration - #509 : set default limit parameter to -1
Bug fixes:
- #506 : add bif prefix in default Virtuoso datasource
- #508 : drop support of declaring datasources on classes
Documentation:
- #503 : Document SPARQL proxy URL at http://docs.sparnatural.eu/SPARQL-proxy.html
8.3.0
This release is not backward compatible with the previous one for the JSON data structure of the saved queries. If you use saved queries, you will have to create and save them again with this new version.
Also, the LiteralListProperty is deprecated
Major enhancements
- #348 : Autocomplete widgets and list widgets can work on literal properties. LiteralListWidget is now deprecated in configuration. This creates bacward-incompatibility in query JSON structure, see new structure documentation at http://docs.sparnatural.eu/Query-JSON-format.html#values
- #480 : New VirtuosoSearchProperty leveraging the
bif:contains
syntax of Virtuoso for search fields - Thanks to @ethieblin from Logilab for the contribution - #334 : distinguish between UI language and query language with new
queryLang
parameter
Minor enhancements
- #489 : make all default autocomplete datasources return 10 results only
- #485 : always use select2, even for small lists, don't use niceselect for list widgets
- #478 : adjust SPARQL generation of TreeWidget
- #463 : pass typePredicate as parameter to datasources
Bugfixes
- #488 : changed federated queries configuration by using sd:Service and sd:endpoint properties instead of custom ones
- #483 - see #485
Documentation
- #481 : enhanced code highlight in documentation website
- Added federated query documentation (http://docs.sparnatural.eu/Federated-querying.html)
8.2.0
Bugfix release related to behavior of defaultLabelProperty and inclusion of type predicate in the generated SPARQL query for some widgets.
Also large refactoring of configuration parsing code.
Also available on NPM : https://www.npmjs.com/package/sparnatural
Bugfixes;
- #459 Fix behavior of play button
- #458 fix behavior of eye icon when a single value is selected
- #468 fix CSS of tooltips
- #472 fix bug in boolean widget SPARQL generation
- #465 fix SPARQL generation when selecting/reselecting the left class of a criteria
- #467 fix query builder dissappearing when deleting first criteria
- #478 fix SPARQL generation of TreeWidget
Enhancements:
8.1.0 (typePredicate + themes)
- #72 Changes the way
typePredicate
works to be able to use property path. The value must use angle brackets<
`>' , even for a single predicate - #435 Added the ability to customize colors through themes CSS. Removed the
backgroundColor
init parameter. - Improved docs at https://docs.sparnatural.eu
8.0.0
First release candidate of the 8.0 version.
This is released on npm : https://www.npmjs.com/package/sparnatural
The integration in the webpage was completely overhauled this way:
<spar-natural
src="sparnatural-config.ttl"
endpoint="https://proxy.sparnatural.eu/sparql-proxy/sparql?endpoint=http%3A%2F%2Ffr.dbpedia.org%2Fsparql"
lang="fr"
distinct="true"
limit="1000"
debug="true"
></spar-natural>
and then
sparnatural.addEventListener("queryUpdated", (event) => {
queryString = sparnatural.expandSparql(event.detail.queryString);
yasqe.setValue(queryString);
});
sparnatural.addEventListener("submit", (event) => {
// enable loader on button
sparnatural.disablePlayBtn() ;
// trigger the query from YasQE
yasqe.query();
});
sparnatural.addEventListener("reset", (event) => {
yasqe.setValue("");
});
8.0-beta 2
v8 beta 2 fixes numerous small bugs found after the release of the first beta version.
The DBPedia demo has been updated with this version : https://sparnatural.eu/demos/demo-dbpedia-v2/