Repository navigation
TIE 0.3.0
Four additions for reading files as the V2 integration engine did: default values delivered as text, XLSX cells read as Excel displays them, blank XLSX rows skipped, and date patterns with a locale. With the defaults, 0.3.0 behaves exactly like 0.2.0.
Added
defaultModeon a field withdefaultValue:CONVERT(default, the 0.2.0 behaviour) orTEXT. WithTEXTthe resolved default skips type conversion, still goes through the field's validations, and reaches the consumer as aStringwhatever the field's type, so an unresolved${…}template in aDATEfield no longer rejects the line.- XLSX reading options:
skipBlankRecords, as in CSV: a row whose cells are all blank is dropped and uses no line number.cellValues: FORMATTEDreads numbers and dates as Excel displays them per the cell's number format (08001,25%,1,234.50,15/03/2024,12345678A);CANONICALremains the default.locale(BCP 47, defaultROOT) sets the separators and names forFORMATTED:1.234,50withes-ES.XlsxOptionshas a builder.
- Date patterns with a locale:
TypeFormat.date(pattern, locale)ortypeFormat: { pattern, locale }, for month and day names and AM/PM when reading and writing (31-dic-2026withes-ES).
formatOptions:
xlsx: { cellValues: FORMATTED, locale: es-ES, skipBlankRecords: true }
fields:
- { name: signed, type: DATE, typeFormat: { pattern: dd-MMM-yyyy, locale: es-ES } } # 31-dic-2026
- { name: loaded, inInput: false, type: DATE, defaultValue: "${loadDate}", defaultMode: TEXT }Changed
RecordView.get(field)is no longer always of the field's Java type: adefaultMode: TEXTfield that took its default holds aString, andget(field, LocalDate.class)throwsClassCastExceptionfor it. This only affects fields that declareTEXT.- Canonical constructors of
XlsxOptions(useXlsxOptions.builder()),TypeFormat.DateFormatandFieldDefinitionhave new components; record patterns onDateFormat(String pattern)no longer compile.XlsxOptions.DEFAULTS,TypeFormat.date(pattern)and the builders are unchanged.
Artifacts
| Artifact | |
|---|---|
io.github.tie-integration-engine:tie-core:0.3.0 |
The library |
io.github.tie-integration-engine:tie-spring-boot-starter:0.3.0 |
Optional Spring Boot 4 auto-configuration |
Available on Maven Central:
<dependency>
<groupId>io.github.tie-integration-engine</groupId>
<artifactId>tie-core</artifactId>
<version>0.3.0</version>
</dependency>The jars, with their sources and javadoc, are attached below. Requires Java 25.
Documentation
- README and CHANGELOG.
- Full diff: v0.2.0...v0.3.0 (modules: tie-core, tie-spring-boot-starter).