Skip to content

Releases: cefriel/mapping-template

mapping-template v2.5.1

13 Sep 12:33
Compare
Choose a tag to compare

Fixes

Address different null behaviour for RDF4J HTTPRepository and MemoryRepository.

mapping-template v2.5.0

08 Jul 16:00
Compare
Choose a tag to compare

Features

  • SQLReader Enhancement: You can now easily obtain a DataFrame by simply providing the corresponding SQL table name (Issue #17)

  • CSVReader Improvement: You can now specify which columns to include when creating a DataFrame from a CSV file (Issue #23)

Fixes

  • CLI Tool Path Issue: Fixed an issue where the basepath was not being correctly prepended to the functionsPath when using the tool as a CLI. This ensures that all function paths are correctly resolved, preventing errors. (Issue #13)

mapping-template v2.4.1

21 Mar 10:03
Compare
Choose a tag to compare

Fixes:

  • Corrected JSON formatter issue introduced in v2.4.0 where top-level arrays were not recognized as valid JSON files.
  • Removed './' as default --basepath value. Now assumes file resources are supplied as absolute or relative paths. './' can still be specified to --basepath to get the previous behavior.

Dependencies upgrades

  • RDF4J has been upgraded to version 4.3.10

mapping-template v2.4.0

20 Feb 14:09
Compare
Choose a tag to compare

Features

  • Added support for reading data from SQL databases (MySQL and Postgres), as shown in example
  • Added json formatter option

mapping-template v2.3.2

27 Nov 10:12
Compare
Choose a tag to compare

Fixes

  • The JsonReader now respects the --verbose flag for logging.

mapping-template v2.3.1

03 Oct 12:28
Compare
Choose a tag to compare

Fixes

  • Fixed error when using InputStreams as inputs for parametric mappings where only the first mapping would succed.

mapping-template v2.3.0

23 Aug 09:47
Compare
Choose a tag to compare

Features

  • Added -fun option to automatically load custom TemplateFunctions subclasses from CLI
  • Added setOutputFormat method to Reader interface to handle escape of characters in dataframes (closes #3)

Chore

  • Refactor evaluation folder

mapping-template v2.2.0

12 Jul 08:34
Compare
Choose a tag to compare

Features

  • Added the possibility of specifing a class of custom functions ($functions) when using InputStreams as template input
  • Return absolute file paths when saving to file

mapping-template v2.1.2

16 Jun 12:18
Compare
Choose a tag to compare

Build

  • Update for Maven Central

mapping-template v2.1.1

14 Jun 13:29
Compare
Choose a tag to compare

Features

  • Improved the <K,V> V getMapValue(Map<K, V> map, K key, V defaultValue) function available in VTL template files through the $functions variable.

    It now accepts a third defaultValue argument that will be returned if key is not found in map.
    If no defaultValue is provided then null is returned, which is the same behaviour found in previous versions of rdf-template.

Fixes

  • Fixed custom JsonPath handling.
    Now works for both json files with multiple and single records. Incorrect handling of single record json files was an unintended regression.