|
1 | | -# eForms Core Library 1.5.0 Release Notes |
| 1 | +# eForms Core Library 1.6.0 Release Notes |
2 | 2 |
|
3 | | -The eForms Core Library is a collection of utilities that are used by our sample applications as well as the EFX Toolkit for Java Developers. |
| 3 | +The eForms Core Library is a collection of utilities used by the EFX Toolkit for Java Developers and other eForms applications. |
4 | 4 |
|
5 | 5 | ## In this release |
6 | 6 |
|
7 | | -This release fixes an issue in the XPathProcessor that could cause a redundant predicate production when contextualising XPaths with multiple predicates. |
| 7 | +### SDK entity improvements |
8 | 8 |
|
9 | | -The versions of various dependencies was updated: Apache Commons IO 2.19.0, Apache Commons Lang 3.18.0, Jackson 2.18.3, logback 1.5.18. |
| 9 | +- Versioned SDK entity classes (`SdkFieldV1`, `SdkFieldV2`, `SdkNodeV1`, `SdkNodeV2`, etc.) have been moved from the EFX Toolkit into the core library, consolidating version-specific implementations in a single location. |
| 10 | +- `SdkNode` now supports parent node references and ancestor chain traversal via `getAncestry()`. |
| 11 | +- `SdkField` now exposes repeatability information, parent node references, and parsed XPath metadata via `getXpathInfo()`. |
| 12 | +- Repository classes (`SdkNodeRepository`, `SdkFieldRepository`) now use two-pass loading to wire parent-child relationships during initialization. |
| 13 | + |
| 14 | +### Privacy and data type support |
| 15 | + |
| 16 | +- Added `PrivacySettings` to `SdkField`, providing access to privacy code, justification, publication date, and related field references. |
| 17 | +- Introduced `SdkDataType` entity and `SdkDataTypeRepository` for field type-level metadata including privacy masking values. |
| 18 | +- Separated `duration` as a distinct data type from `measure`. |
| 19 | + |
| 20 | +### Notice subtype management |
| 21 | + |
| 22 | +- Added `SdkNoticeSubtype` entity with intelligent ID parsing (prefix/number/suffix decomposition) and correct sorting order. |
| 23 | +- Added `SdkNoticeTypeRepository` to load and manage notice subtypes. |
| 24 | + |
| 25 | +### Utilities |
| 26 | + |
| 27 | +- Moved `NoticeDocument` and `SafeDocumentBuilder` from the eforms-notice-viewer into the core library. `NoticeDocument` provides secure XML parsing with accessors for notice subtype, SDK version, and language detection. `SafeDocumentBuilder` implements XXE prevention following OWASP guidelines. |
| 28 | + |
| 29 | +### Component registry |
| 30 | + |
| 31 | +- Added component types for dependency extraction (`EFX_COMPUTE_DEPENDENCY_EXTRACTOR`, `EFX_VALIDATION_DEPENDENCY_EXTRACTOR`) and EFX rules translation (`EFX_RULES_TRANSLATOR`). |
| 32 | + |
| 33 | +### Dependencies |
| 34 | + |
| 35 | +- Updated versions of various dependencies. |
10 | 36 |
|
11 | 37 | ## Download |
12 | 38 |
|
|
0 commit comments