Beanmapper v3.1.0 Release Notes

Release Date: 2019-06-21 // over 2 years ago
  • ➕ Added

    • ➕ Added value alias for @BeanProperty annotation, so using name = is no longer needed. It is still supported to maintain backwards compatibility

Previous changes from v3.0.1

  • 🛠 Fixed

    • Issue #118, Nested ParameterizedTypes throws a ClassCastException; when a type is a nested generic (eg, List>) it threw a ClassCastException, even if no mapping took place. Fixed by checking the Type in AbstractBeanPropertyClass and calling for rawType if it concerns a ParameterizedType.
    • Issue #116, Mappable nested classes analyzed for wrong direction; when dealing with a mappable nested class, the applied direction is used as-is. This resulted in errors when the field could only be accessed through a method accessor and that the complementing method accessor was not available (ie, get and no set, or set and no get). The problem has been fixed by inverting the method direction on dealing with a mappable nested class.