Skip to content

Akkurate 0.3.0

Compare
Choose a tag to compare
@nesk nesk released this 16 Oct 11:29
· 117 commits to main since this release

Summary: @Validate can be used on generic types, and many accessors are now provided for the basic Kotlin types.

In other news, we now have a dedicated #akkurate channel on Kotlin Slack 🎉 Come join us!

⚠️ Breaking changes

  • Validation accessors are generated only for public properties. (#11 #15)
  • Accessors are now generated for the properties of the implemented interface when possible, not for the implementation. (#11)

Added

  • Provide built-in accessors for kotlin and kotlin.collections packages (#11)
  • Support generating accessors for generic types (#10)
  • A KDoc is provided for each validatable accessor (#6)

Fixed

  • Validatable accessors are no longer generated for extension properties
  • Skip the generation of accessors in the kotlin package, avoiding compilation failures.

Changed

  • Propagate the @Validate annotation to the nested classes (#11)