All Versions
Latest Version
Avg Release Cycle
192 days
Latest Release
1306 days ago

Changelog History

  • v0.7.0

    May 09, 2020
  • v0.6.0 Changes

    July 06, 2019

    ๐Ÿš€ Libra has been released for 2.13.0!

    Notable PRs

    • โฌ†๏ธ #71 Upgrade to Scala 2.13
  • v0.5.0 Changes

    March 04, 2019

    Libra has been revived!

    ๐Ÿš€ This release drops Typelevel Scala as a result of some long-standing issues. Integer literals in type signatures must now be referred through through a shapeless Witness.

    The Lightbend Scala versions are 2.11.11 and 2.12.8.

    Thank you @tpolecat for undertaking this stellar task :stars: !

    Notable PRs

    • โšก๏ธ #67 Update dependencies, remove TLS
  • v0.4.0 Changes

    April 03, 2018

    ๐Ÿš€ This release brings a huge revamp to the internal package structure, making Libra a lot easier to extend with new units. The imports are now:

    import libra._
    import libra.implicits._

    โฌ†๏ธ Upgrades

    โฌ†๏ธ Shapeless has been upgraded to 2.3.3

    Notable PRs

    • ๐Ÿ”จ #60 Refactor package structure
    • #59 Add as method to align quantities of the same dimension
    • โฌ†๏ธ #58 Upgrade shapeless to 2.3.3
  • v0.3.0 Changes

    December 26, 2017

    ๐Ÿš€ This release has been very long in coming, and brings a whole host of changes, the most notable being the removal of the user dependency on Typelevel Scala and the new angular units.

    Libra has it's first contributors! Thank you @DanielaSfregola and @ldrygala for your fantastic work! :tada:

    ๐Ÿ†• New units

    ๐Ÿ“ฆ Hours and days are now present in the imperial package. We also support angular units! Thanks to the work of @ldrygala, degrees, arcminues, arcseconds, gradians, radians and turns are now present in the nonsi package.

    ๐Ÿ†• New Typeclasses

    The following spire / algebra typeclasses have been added to Quantity

    • Eq
    • Order
    • PartialOrder
    • Signed
    • AdditiveSemigroup
    • AdditiveMonoid
    • AdditiveGroup
    • AdditiveCSemigroup
    • AdditiveCMonoid
    • AdditiveAbGroup
    • MetricSpace
    • CoordinateSpace
    • VectorSpace
    • InnerProductSpace

    These are dependent on the typeclasses of the underlying numeric type.

    ๐Ÿ†• New operations

    ๐Ÿ‘ Quantities now support Euclidean division with spire's /~ quotient operator

    โฌ†๏ธ Upgrades

    โฌ†๏ธ The scala versions have been upgraded to 2.11.11 and 2.12.4

    The use of ValueOf, and consequently the user dependency on Typelevel Scala. Users can now use the Lightbend Scala compiler.

    Notable PRs

    • #23 Add more typeclasses
    • ๐Ÿšš #27 Remove Typelevel Scala's ValueOf
    • #30 Add time units
    • #35 Add Euclidean division
    • #40 Add andular units: degree, arcminute arcsecond by @DanielaSfregola
    • #44 Rename Unit to UnitOfMeasure
    • #46 Add angular velocity units: degrees per second, arcminutes per second, arcseconds per second by @ldrygala
    • #49 Add angular units: radian by @ldrygala
    • #51 Add angular units: gradian, turn by @ldrygala
    • #53 Add angular velocity units: radians per second, gradians per second, turns per second
  • v0.2.0 Changes

    April 23, 2017
    • โž• Add units and conversions
    • ๐Ÿ‘Œ Support scalar multiplication
    • ๐Ÿ‘‰ Make Quantity a value class
    • โž• Add fractional exponents to dimensions
    • โœ‚ Remove metric exponent from Quantity
  • v0.1.0 Changes

    March 14, 2017
    • ๐Ÿš€ First release