Search
  1. Home
  2. Changelog

Changelog

v0.9.2

  • Fixed null pointer in some cases.

v0.9.1

  • #129 fixed bug where mappie will not run when the mappie-api comes in as a transitive dependency.

v0.9.0

  • #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.

v0.8.0

  • #96 object mappers can now be generated automatically.

  • #88 added more multiplatform targets.

v0.7.0

  • 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.

v0.6.0

  • #69 enum mappers can now be generated automatically if source and target contain the same entries.

  • #68 other mappers are automatically resolved in mappings and applied using the via operator.

  • #73 added multiple built-in mappers.

v0.5.0

  • #57 object mappers can now use property setters.

  • #52 the EnumMappie target type does not have to be an enum, but can be any.

  • Several other bug fixes.

v0.4.0

  • #45 mapper can now have multiple from parameters.

  • #50 added compatibility with Kotlin 1.9.24 and 2.0.20-Beta1.

  • Improved code generation, resulting in less intermediate code being generated.

  • Removed deprecated fromConstant.

  • Several other bug fixes.

v0.3.0

  • #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.

v0.2.0

  • #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.

v0.1.0

  • Initial release