Squants v0.6.2 Release Notes

Release Date: 2016-05-11 // almost 8 years ago
  • May 10, 2016

    • βž• Addition of Information and DataRate dimensions
    • Integration with Scala.js
    • πŸ‘Œ Improvements to Vectors including
      • add map methods
      • add angle and polar methods for extracting the polar coordinates
      • rename to SVector with a factory methods for Double and Quantity based Vectors
      • better typing and dimensional conversions
    • βž• Addition of Quantity.map useful for mapping over underlying value without changing the type or units
    • βž• Addition of Time unit Nanoseconds
    • πŸ‘Œ Improve conversions to and from Time and scala.concurrent.Duration to preserve units
    • βž• Addition of Velocity unit KilometersPerSecond
    • πŸ›  Fixed an issue with the KilometersPerHour unit
    • βž• Added ability to initialize Quantities from strings in exponential format
    • βž• Addition of Area.squareRoot and Volume.cubeRoot, each returning a Length
    • βž• Addition of Length unit Angstroms
    • βž• Addition of Energy unit Ergs
    • βž• Addition of Power unit ErgsPerSecond
    • ⚑️ 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 units GramsPerSquareCentimeter and KilogramsPerHectare
    • βœ‚ Removed bogus conversion Irradiance / Power -> Area
    • βž• Addition of SpectralIrradiance dimension
    • βž• Addition of Irradiance unit ErgsPerSecondPerSquareCentimeter
    • βž• 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.