ModelMapper v0.6.0 Release Notes

  • 8/2/2013

    🆕 New Features

    • ➕ Added support for named TypeMaps
    • ➕ Added support for ValueReaders
    • ➕ Added 3rd party integration for Jackson, Gson and jOOQ
    • ➕ Added Simpler mapper EDSL for dealing with providers
    • ➕ Added #61 - Added UNDERSCORE NameTokenizer
    • ➕ Added support for explicit mapping of source path strings

    🐛 Bug Fixes

    • 🛠 Fixed #8 - Introduced global property conditions
    • 🛠 Fixed #39 - Issue when mapping to a String
    • 🛠 Fixed #49 - Allow implicit mapping to be skipped globally
    • 🛠 Fixed #54 - Fixed OSGI support
    • 🛠 Fixed #56 - Allow full type matching to be required
    • 🛠 Fixed issue with Javabeans name transformers for get/set methods
    • 🛠 Fixed issue with merged TypeMap Providers not being copied

    API Changes

    For named TypeMaps:

    • ➕ Added ModelMapper.createTypeMap(Class, Class, String)
    • ➕ Added ModelMapper.createTypeMap(Class, Class, String, Configuration)
    • ➕ Added ModelMapper.createTypeMap(Object, Class, String)
    • ➕ Added ModelMapper.createTypeMap(Object, Class, String, Configuration)
    • ➕ Added ModelMapper.map(Object, Class, String)
    • ➕ Added ModelMapper.map(Object, Object, String)
    • ➕ Added ModelMapper.map(Object, Type, String)

    For Value Readers:

    • ➕ Added ValueReader interface to the SPI
    • ➕ Added Configuration.getValueReaders()
    • ➕ Added Configuration.addValueReader(ValueReader)

    For mapping source path Strings:

    • ➕ Added PropertyMap.source(String)

    Other changes:

    • ➕ Added NameTokenizers.UNDERSCORE
    • 🔄 Changed Configuration.enableFieldMatching(boolean) to setFieldMatchingEnabled(boolean)
    • 🔄 Changed Configuration.ignoreAmbiguity(boolean) to setAmbiguityIgnored(boolean)