Skip to content

TIE 0.2.0

Choose a tag to compare

@themarioga themarioga released this 09 Nov 10:53
· 29 commits to main since this release

Two contract changes to the import engine: file hooks now run for provided inputs, and field copies can take the canonical value of their source.

Added

  • copyMode on a field with copyFrom: TEXT (default, the 0.1.0 behaviour) or CANONICAL, in the Java API, YAML/JSON and the JSON schema.
    • With CANONICAL, an imported copy receives the canonical text of the source's typed value (2026-12-31, 1234.50, true), whatever the source's typeFormat, so two files with the same date written in different formats give the same copy.
    • When the source is not STRING and the copy's own trimming, transforms, translations and transformer leave that text unchanged, the target tries the canonical form before its typeFormat.
    • Ignored on export, where a copy already takes the source's supplied value. copyMode without copyFrom is a configuration error.
fields:
  - { name: born, type: DATE, typeFormat: dd/MM/yyyy }
  - { name: bornIso, inInput: false, copyFrom: born, copyMode: CANONICAL }   # 2026-12-31

Changed

  • FileHook is called for provided inputs too. With a hook registered, a provided input is spooled once to the working directory and gets onFileReceived (null timestamp, size = bytes read) and onFileCompleted, like a channel file. Without a hook nothing changes. If you register a FileHook and use provided inputs, it now receives these calls.
  • FieldDefinition has a new copyMode record component after copyFrom, so its canonical constructor changed. Code using the builder is unaffected.

Artifacts

Artifact
io.github.tie-integration-engine:tie-core:0.2.0 The library
io.github.tie-integration-engine:tie-spring-boot-starter:0.2.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.2.0</version>
</dependency>

The jars, with their sources and javadoc, are attached below. Requires Java 25.

Documentation