Releases: cefriel/mapping-template
Releases · cefriel/mapping-template
mapping-template v2.5.1
mapping-template v2.5.0
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
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
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
Fixes
- The JsonReader now respects the
--verbose
flag for logging.
mapping-template v2.3.1
Fixes
- Fixed error when using InputStreams as inputs for parametric mappings where only the first mapping would succed.
mapping-template v2.3.0
Features
- Added
-fun
option to automatically load customTemplateFunctions
subclasses from CLI - Added
setOutputFormat
method toReader
interface to handle escape of characters in dataframes (closes #3)
Chore
- Refactor evaluation folder
mapping-template v2.2.0
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
Build
- Update for Maven Central
mapping-template v2.1.1
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 ifkey
is not found inmap
.
If nodefaultValue
is provided thennull
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.