Skip to content

Release 2.0.0-alpha.8 - #172

Merged
rousso merged 26 commits into
mainfrom
release/2.0.0-alpha.8
Sep 6, 2026
Merged

Release 2.0.0-alpha.8#172
rousso merged 26 commits into
mainfrom
release/2.0.0-alpha.8

Conversation

@rousso

@rousso rousso commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Release 2.0.0-alpha.8

Incremental release over 2.0.0-alpha.7.

Changes

  • Selectors: an EFX expression can now identify the XML elements a reference points to, instead of the values held in them — &{reference} in EFX-1, and &{reference} or WITH context SELECT reference in EFX-2. The first use of it is privacy.undisclosedFieldSelector, which has to name the elements a notice viewer must withhold from publication.
  • Preferred language selection: applied only while a view template is being translated, which is where the notice viewer's XSL variable it relies on actually exists.
  • Context overrides (TEDEFO-5170): context::field now keeps the walk to its context, and any predicate written on that context. Until now the walk was shortened away and a written predicate was discarded, so ${field} and ${context::field} transpiled to the same thing and the override had no effect at all.
  • Upgraded the eForms Core dependency, which now lets the caller decide how far a joined path may be shortened (TEDEFO-5169).

Impact on generated output

Expressions using a context override produce a longer path than before, one that yields nothing where the context is absent, and one that applies any predicate written on the context.

No SDK content is affected: context overrides are not used in any released SDK — every occurrence of :: in 1.13.3, 1.14.2, 1.15.1, 1.16.0-beta.2 and 2.0.0-alpha.3 is the preceding axis.

A predicate written on a node context attaches to a .. step, for example ../..[PathNode/IndicatorField = true()]. That is valid XPath 2.0 and is rejected by XPath 1.0.

XPathContextualizer.join takes a third argument and no longer offers the two-argument form. The toolkit is at a major version boundary, and a two-argument overload could only keep old callers working by applying the shortening this release exists to stop.

Release metadata

  • Project version bumped 2.0.0-SNAPSHOT2.0.0-alpha.8.
  • Dependencies pinned to released versions: eforms-sdk-1 = 1.16.0-beta.2, eforms-sdk-2 = 2.0.0-alpha.3.
  • eforms-core is at 1.9.0-SNAPSHOT and must be pinned to 1.9.0 before this is merged.
  • CHANGELOG updated.

Local mvn clean test passes (1381 tests, 0 failures).

@rousso
rousso merged commit 3bd3de2 into main Sep 6, 2026
2 checks passed
@rousso
rousso deleted the release/2.0.0-alpha.8 branch September 6, 2026 14:03
@rousso
rousso restored the release/2.0.0-alpha.8 branch September 6, 2026 14:29
@rousso
rousso deleted the release/2.0.0-alpha.8 branch September 6, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant