coulomb: unit analysis for Scala
Maintenance release
spire
to 0.18.0-M3 (#230)Thanks to @armanbilge and @cquiroz !
Maintenance release
Primarily a release to keep current on latest dependency versions. But also unit tests!
This release was brought to you by @cquiroz and @scala-steward, thanks!
This release includes a new physical constants library: coulomb-physical-constants
- thanks to @cquiroz !
A variety of dependency release updates as well - thanks to @scala-steward !
This release adds the following new features
coulomb-cats
subpackage, with some cats typeclass integrations for Quantity
coulomb-scalacheck
subpackage, which implements scalacheck Arbitrary
and Cogen
for Quantity
coulomb
and several other sub-packages are now cross-published for scala.jsMany thanks to @cquiroz for adding these new features!
Starting with release 0.5.0, coulomb is published to maven central, and most people should be able to use the coulomb packages without configuring a custom resolver.
All other features and functionality are unchanged from the previous release.
GetBaseUnit
in parsing infra. Things like pureconfig i/o now work for undeclared types now work properly.In this release:
coulomb-refined
packagecoulomb-pureconfig-refined
packageQuantity
operation typeclasses.
See here.*
now depends specifically on MultiplicativeSemigroup
, and not spire Numeric
.Temperature
was refactored into a more general OffsetQuantity
that also backs the new EpochTime
.
See here.Quantity
and Temperature
are mostly unchanged, except that the toNumeric
method has been re-named to toValue
.import coulomb.policy.undeclaredBaseUnits._
.
See here
Quantity
by defining appropriate spire algebras and unit conversion policy.
See here