Skip to content

Commit 80b40c2

Browse files
Merge pull request #97 from OP-TED/release/2.0.0-alpha.2
Merge release/2.0.0 alpha.2 into main
2 parents 02c7eab + b242efc commit 80b40c2

18 files changed

+329
-1186
lines changed

CHANGELOG.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,28 @@
1-
# EFX Toolkit 2.0.0-alpha.1 Release Notes
1+
# EFX Toolkit 2.0.0-alpha.2 Release Notes
22

33
_The EFX Toolkit for Java developers is a library that enables the transpilation of [EFX](https://docs.ted.europa.eu/eforms/latest/efx) expressions and templates to different target languages. It also includes an implementation of an EFX-to-XPath transpiler._
44

55
---
66

77
## In this release
88

9-
This release:
9+
This release improves translation of EFX-1 templates as follows:
10+
11+
- Renders sequences of labels when a sequence expression is used to provide asset-ids.
12+
- Renders distinct labels from sequences.
13+
- Improves date and time formatting.
14+
15+
This release also includes a refactoring that moved XPath processing classes to the eForms Core Library 1.2.0 to improve reusability.
16+
17+
There are no changes in EFX-2 translation included in this release.
1018

11-
- Improves translation of EFX-1.
12-
- Adds support for translating EFX-2 expressions and templates.
13-
- Removes support of the obsolete EFX versions included in pre-release versions of the SDK (SDK 0.x.x).
14-
- Introduces some breaking changes in the interfaces that need to be implemented by new translators (SymbolResolver, ScriptGenerator, MarkupGenerator).
1519

1620
## EFX-1 Support
1721

18-
Although this is a pre-release version of the EFX Toolkit, it provides production-level support for EFX-1 transpilation.
19-
EFX-1 is the current version of EFX released with SDK 1. Transpilation of EFX-1 to XPath is on par with the EFX Toolkit 1.3.0.
22+
Although this is a pre-release version of the EFX Toolkit, it provides production-level support for EFX-1 transpilation. EFX-1 is the current version of EFX released with SDK 1.
23+
24+
NOTE: Transpilation of EFX-1 to XPath and XSL in this version of the EFX Toolkit is **better than** what is provided by **EFX Toolkit 1.3.0**.
25+
2026

2127
## EFX-2 Support
2228

@@ -35,7 +41,7 @@ Users of the Toolkit that only use the included EFX-to-XPath transpiler will not
3541

3642
## Future development
3743

38-
Further alpha and beta releases of SDK 2 and EFX Toolkit 2 will be issued. While in "alpha" development stage, further braking changes may be introduced. SDK 2 and EFX 2 are expected to continue to be under development util late 2023.
44+
Further alpha and beta releases of SDK 2 and EFX Toolkit 2 will be issued. While in "alpha" development stage, further braking changes may be introduced. SDK 2 and EFX 2 are expected to continue to be under development through the first quarter of 2024.
3945

4046
---
4147

@@ -51,4 +57,4 @@ This version of the EFX Toolkit has a compile-time dependency on the following v
5157
- eForms SDK 1.x.x
5258
- eForms SDK 2.0.0-alpha.1
5359

54-
It also depends on the [eForms Core Java library](https://github.com/OP-TED/eforms-core-java) version 1.0.5.
60+
It also depends on the [eForms Core Java library](https://github.com/OP-TED/eforms-core-java) version 1.3.0.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ See ".github/workflows/settings.xml".
7474

7575
Unit tests are available under `src/test/java/`. They show in particular a variety of EFX expressions and the corresponding XPath expression.
7676

77-
After running the unit tests with `mvn test`, you can generate a coverage report with`mvn jacoco:report`.
77+
After running the unit tests with `mvn test`, you can generate a coverage report with `mvn jacoco:report`.
7878
The report is available under `target/site/jacoco/`, in HTML, CSV, and XML format.
7979

8080
## Download

pom.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<groupId>eu.europa.ted.eforms</groupId>
55
<artifactId>efx-toolkit-java</artifactId>
6-
<version>2.0.0-alpha.1</version>
6+
<version>2.0.0-alpha.2</version>
77
<packaging>jar</packaging>
88

99
<name>EFX Toolkit for Java</name>
@@ -49,7 +49,7 @@
4949

5050
<properties>
5151
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
52-
<project.build.outputTimestamp>2023-05-30T06:25:09Z</project.build.outputTimestamp>
52+
<project.build.outputTimestamp>2023-07-28T16:03:53Z</project.build.outputTimestamp>
5353

5454
<sonatype.server.url>s01.oss.sonatype.org</sonatype.server.url>
5555

@@ -59,7 +59,7 @@
5959
<sdk.antlr4.dir>${project.build.directory}/eforms-sdk/antlr4</sdk.antlr4.dir>
6060

6161
<!-- Versions - eForms -->
62-
<version.eforms-core>1.0.5</version.eforms-core>
62+
<version.eforms-core>1.3.0</version.eforms-core>
6363

6464
<!-- Versions - Third-party libraries -->
6565
<version.antlr4>4.9.3</version.antlr4>
@@ -330,7 +330,6 @@
330330
<exclude>**/EfxBaseListener.class</exclude>
331331
<exclude>**/EfxLexer.class</exclude>
332332
<exclude>**/EfxParser*.class</exclude>
333-
<exclude>**/XPath20*.class</exclude>
334333
</excludes>
335334
</configuration>
336335
<executions>

0 commit comments

Comments
 (0)