Release 0.6.2
Pre-releaseMay 10, 2016
- Addition of
Information
andDataRate
dimensions - Integration with Scala.js
- Improvements to Vectors including
- add
map
methods - add
angle
andpolar
methods for extracting the polar coordinates - rename to
SVector
with a factory methods for Double and Quantity based Vectors - better typing and dimensional conversions
- add
- Addition of
Quantity.map
useful for mapping over underlying value without changing the type or units - Addition of
Time
unitNanoseconds
- Improve conversions to and from
Time
andscala.concurrent.Duration
to preserve units - Addition of
Velocity
unitKilometersPerSecond
- Fixed an issue with the
KilometersPerHour
unit - Added ability to initialize Quantities from strings in exponential format
- Addition of
Area.squareRoot
andVolume.cubeRoot
, each returning a Length - Addition of
Length
unitAngstroms
- Addition of
Energy
unitErgs
- Addition of
Power
unitErgsPerSecond
- Update of INR currency symbol to
₹
- Working prototype of generic number support (in
squants.experimental
in the test code) - Add GitHub source code links to scaladocs
- Addition of
AreaDensity
unitsGramsPerSquareCentimeter
andKilogramsPerHectare
- Removed bogus conversion
Irradiance
/Power
->Area
- Addition of
SpectralIrradiance
dimension - Addition of
Irradiance
unitErgsPerSecondPerSquareCentimeter
- Addition of support for OSGi
Thanks to Derek Morr, Rmihael, Florian Nussberger, Ajay Chandran, Gia Bảo, Josh Lemer, Dave DeCaprio and Carlos Quiroz for their contributions.
Migration Notes
With the integration of Scala.js, the library needed to be broken down into a few sub projects. This requires a slight change to how the console needs to be loaded. The correct command is now:
sbt squantsJVM/console
Vector has been renamed to SVector and now provides the factory methods for both Quantity and Double based vectors. User code that creates vectors should be modified to use this factory.
The improvements to Vectors also removed the various experiments for dimensional conversion. These improvements are significant but still contain experimental API features which are subject to change.
The support for generic numbers will exist only in test code for the project until we move on to 0.7.x development. Prior to that change, a 0.6.x release will be cut that will based on the old (Double) model. The goal will be to fully implement this feature during 0.7.x development.
The new dimension Information
was originally called Storage
.