Skip to content

Releases: sparna-git/Sparnatural

9.0.1

04 Jun 15:50
Compare
Choose a tag to compare

This is a bugfix release, fixing the bug listed below.

Major New Features

none

Other Enhancements

none

Bug fixes

  • #594 : wrong parsing of SHACL property paths
  • #595 : add support for sh:alternativePath
  • #596 : tree widget, wrong parsing of the "hasChildren" flag

Refactoring

none

Documentation

none

9.0.0 - aggregation queries

14 May 14:35
Compare
Choose a tag to compare

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

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

  • #561 : Separate labels from settings
  • #563 : Tree widget now uses the new data provider architecture

Documentation

8.6.0

09 Jan 21:21
Compare
Choose a tag to compare

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

07 Jul 08:16
Compare
Choose a tag to compare

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:

Full Changelog: 8.4.0...8.5.0

8.4.0 - hello-sparnatural

05 Jun 10:14
Compare
Choose a tag to compare

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:

8.3.0

03 May 21:17
4680a02
Compare
Choose a tag to compare

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

8.2.0

19 Apr 20:02
Compare
Choose a tag to compare

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:

  • #463 pass typePredicate in datasource queries
  • #464 ensure valid variable names

8.1.0 (typePredicate + themes)

30 Jan 10:57
Compare
Choose a tag to compare
  • #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

21 Dec 09:51
Compare
Choose a tag to compare

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

14 Dec 15:49
Compare
Choose a tag to compare

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/