v2.2.21-2.1.0
Added support for re-using functionality of a base EnumMappie in other child mappers.
TBD
Added support for re-using functionality of a base EnumMappie in other child mappers.
Breaking change: removed forList and forSet in favour of IterableToListMapper and IterableToSetMapper.
Internal refactoring simplifying the Mappie type system and mapper generation.
Added config option to allow unsafe mapping of platform types to non-nullable target.
JVM implementation for mapArray (similar to mapList and mapSet).
#290 Fix IndexOutOfBoundsException with generic target type.
Allow mapping to be used anywhere (at most once) in the body of the map function.
Added support for kotlinx-datetime to JVM mappers, which can be imported via a separate dependency.
Fixed check of runtime usage of of mapping DSL for multiple object mappie.
#264 Fix compilation error with ObjectMappie5.
#262 Fixed compilation error when mapper inherits from more than a Mappie subclass.
Minor performance enhancements.
Fix for missing reporting when both a mapper and its generated mapper have issues.
Improved reporting of type parameters.
AbstractList and AbstractMutableList are now supported as source type for mapping to List.
Bumped Kotlin to version 2.2.20.
Improved selection of implicit mapper when multiple of different subtypes are available.
#246 Fixed type checking of platform types.
Fixed null pointer exception that sometimes occurs when generating a mapper.
#235 Fixed compatibility with pre Java 14.
Bumped Kotlin to version 2.2.0.
#173 fixed compilation error when calling generated functions other than map on multiplatform.
Changed versioning methodology. See Compatibility for more information.
#179 made all mapping functions open.
#173 fixed multiplatform class code-generation bug.
Migrated multiple checks from the compiler back-end to the FIR compiler front-end.
#148 the mappie-api dependency is now applied automatically.
Fixed a bug where the constructor of a generated target class is not selected properly.
Fixed null pointer in some cases.
#129 fixed bug where mappie will not run when the mappie-api comes in as a transitive dependency.
#101 removed deprecated method 'parameter(String)'
#62 added support for local mapper configuration via annotations.
#125 added fromPropertyNotNull which automatically applies requireNotNull.
Fixed a bug where the strictness.enums option set to true possibly resulted in a compilation error.
Fixed a bug where generating a mapper which has no accessible constructor resulted in an internal error instead of a nice error message.
Added more built-in mappers.
Fixed a bug where mappers nested inside classes which are not a mapper are not generated.
Fixed warnings for newest Kotlin versions.
#17 mappers can now be declared as inner declarations, instead of requiring them to be top-level.
#31 added the explicit mapping method thrownByEnumEntry to throw an exception as a result when mapping an enum entry.
#28 added implicit mapping inference of mappers with the same name but a different type, but a mapper for those types are defined.
#42 added a configuration option to disable resolving via default arguments.
#40 added to alias to refer to for target properties as an alternative to the fully written out TO type.
#46 added support for Java get methods.
Several other bug fixes.
#13 added support for declaring a mapper without an implementation of map.
#16 improved resolution of explicit parameter names.
#21 added global configuration option to report all warnings as errors.
#24 added explicit mapping fromValue as a replacement of the much more restricting fromConstant.
#26 support for selecting nested properties.
Several other bug fixes.
Initial release