Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge release/2.0.0 alpha.2 into main #97

Merged
merged 21 commits into from
Dec 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
f37b8d8
pom.xml: Set version to 2.0.0-SNAPSHOT
bertrand-lorentz Jul 28, 2023
1288d0e
Updated eForms Core Library dependency to 1.0.6-SNAPSHOT in develop.
rousso Jul 31, 2023
d59a72a
Replace use of XPathAttributeLocator with XPathProcessor
bertrand-lorentz Oct 10, 2023
b380249
Remove XPathAttributeLocator class
bertrand-lorentz Oct 10, 2023
70895ab
Use XPathProcessor for all remaining XPath operations
bertrand-lorentz Oct 12, 2023
7ca4342
Remove XPath20 grammar, and some cleanup and update in README files
bertrand-lorentz Oct 13, 2023
1370e25
Merge pull request #93 from OP-TED/feature/use-xpath-api-from-ecl
bertrand-lorentz Oct 20, 2023
7b561c8
Sequences of labels now render distinct values
rousso Oct 20, 2023
b3d4b56
Merge branch 'develop' into TEDEFO-2774-distinct-labels-form-sequence
rousso Oct 20, 2023
e96d7a9
Merge pull request #94 from OP-TED/TEDEFO-2774-distinct-labels-form-s…
rousso Oct 20, 2023
a177d31
Added a workaround for formatting dates and times in EFX 1 templates.
rousso Nov 15, 2023
99222af
Merge pull request #95 from OP-TED/TEDEFO-2800-EFX1-date-and-time-for…
rousso Nov 15, 2023
335b262
Added workaround for generating labels from a sequence of asset-ids i…
rousso Nov 16, 2023
8c8711f
Merge pull request #96 from OP-TED/TEDEFO-2812-labels-from-sequence
rousso Nov 16, 2023
8c7272d
Updated teh CHANGELOG.
rousso Nov 16, 2023
6a595c8
Updated dependency to the eforms-core-library
rousso Dec 7, 2023
80e4b69
Copied to EFX-2 recent fixes from EFX-1.
rousso Dec 10, 2023
24f4e0e
Merge branch 'develop' into release/2.0.0-alpha.2
rousso Dec 10, 2023
fbe3356
Updated pom.xml
rousso Dec 10, 2023
46534db
Updated the changelog.
rousso Dec 10, 2023
b242efc
CHANGELOG: Small cosmetic fixes
bertrand-lorentz Dec 11, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 16 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,28 @@
# EFX Toolkit 2.0.0-alpha.1 Release Notes
# EFX Toolkit 2.0.0-alpha.2 Release Notes

_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._

---

## In this release

This release:
This release improves translation of EFX-1 templates as follows:

- Renders sequences of labels when a sequence expression is used to provide asset-ids.
- Renders distinct labels from sequences.
- Improves date and time formatting.

This release also includes a refactoring that moved XPath processing classes to the eForms Core Library 1.2.0 to improve reusability.

There are no changes in EFX-2 translation included in this release.

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

## EFX-1 Support

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. Transpilation of EFX-1 to XPath is on par with the EFX Toolkit 1.3.0.
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.

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**.


## EFX-2 Support

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

## Future development

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.
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.

---

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

It also depends on the [eForms Core Java library](https://github.com/OP-TED/eforms-core-java) version 1.0.5.
It also depends on the [eForms Core Java library](https://github.com/OP-TED/eforms-core-java) version 1.3.0.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ See ".github/workflows/settings.xml".

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

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

## Download
Expand Down
7 changes: 3 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>eu.europa.ted.eforms</groupId>
<artifactId>efx-toolkit-java</artifactId>
<version>2.0.0-alpha.1</version>
<version>2.0.0-alpha.2</version>
<packaging>jar</packaging>

<name>EFX Toolkit for Java</name>
Expand Down Expand Up @@ -49,7 +49,7 @@

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

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

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

<!-- Versions - eForms -->
<version.eforms-core>1.0.5</version.eforms-core>
<version.eforms-core>1.3.0</version.eforms-core>

<!-- Versions - Third-party libraries -->
<version.antlr4>4.9.3</version.antlr4>
Expand Down Expand Up @@ -330,7 +330,6 @@
<exclude>**/EfxBaseListener.class</exclude>
<exclude>**/EfxLexer.class</exclude>
<exclude>**/EfxParser*.class</exclude>
<exclude>**/XPath20*.class</exclude>
</excludes>
</configuration>
<executions>
Expand Down
Loading