NEBA 5.2.0 Adds enumeration support - now, NEBA supports mapping resource properties to single enum instances as well as arrays or collection of enumerations, like so:Here, "field" would be a resource property containing the constant name ("SOME_INITIAL_VALUE") or an array of constant names.
Previously, NEBA used to log but not re-throw exceptions occurring in @AfterMapping methods. This could lead to situations where models where returned from .adaptTo calls in an unexpected state. Since 5.2.0, such failures will now lead to an exception in the .adaptTo call. See also https://github.com/unic/neba/issues/410.
Users of 5.1.5 can upgrade to 5.2.0 without code changes.
Please use the below form to see the upgrade path from one version of NEBA to another.