Skip to content

sift-0.11.0

Compare
Choose a tag to compare
@github-actions github-actions released this 06 Jun 17:44
· 125 commits to main since this release

sift-0.11.0 2023-06-06

Error Handling

sift's error reporting mechanism has been improved and now supports integration with the --profile option.

profile-trace-error

The --profile option assists in identifying problematic DSL methods by marking the operation causing the
error. This feature enables traceability back to the template DSL.

New/Tweaks

  • --no-emoji option to disable emoji output, for terminals that do not support it. The
    implementation is coarse, but should work for most emoji.
  • Added jakarta-ws, "Supporting template for Jakarta RESTful Web Services".

Fixes

  • DSL/Class: implements() now correctly matches types even when they are not incorporated within the input classes.
  • SiftType RegexType::simpleName trims the regex pattern to only include the substring following the last dot.

Breaking changes

  • DSL: The complete parameter sequence for the property() method has been revised to (entity, key, strategy, extract).
    For the relevant overloads that include strategy, it is now positioned prior to the extract parameter.