Skip to content

0.6.0

Compare
Choose a tag to compare
@github-actions github-actions released this 11 Nov 21:45

Added

  • meterRatio property to LengthUnit interface.
  • contains function to LengthUnit interface. This allows to use in sugar syntax.

Changed

  • io.mehow.ruler:android to io.mehow.ruler:ruler-android artifact.
  • Changelog format follows now Keep a Changelog format. Format is applied retroactively to this file.
  • Length.measureLength property to measure.
  • Distance.min, Distance.zero and Distance.max respectively to Distance.Min, Distance.Zero and Distance.Max. They are now available as fields from Java.
  • ImperialDistanceFormatter.basic and ImperialDistanceFormatter.full to ImperialDistanceFormatter.Basic and ImperialDistanceFormatter.Full respectively.
  • Upgrade to Kotlin 1.4.10.

Removed

  • toDistance() methods from LengthUnit interface.
  • -Xjvm-default=enable compiler argument is no longer required.
  • toMeasuredLength() function from LengthUnit interface.
  • appliesRangeTo() function from LengthUnit interface.