All Versions
20
Latest Version
1.3
Avg Release Cycle
231 days
Latest Release
1944 days ago

Changelog History
Page 1

  • v1.3 Changes

    December 28, 2018
    • ๐Ÿ’ฅ Breaking: Changed the Show instances for UnitName, Unit, SQuantity to use non-breaking spaces within unit names and between values and their units.
    • โฌ†๏ธ Bumped exact-pi dependency to < 0.6.
    • โž• Added the dimensionless unit percent.
    • โž• Added dimensionless wrappers for log1p, expm1, log1pexp, and log1mexp from the Floating class.
  • v1.2 Changes

    • โž• Add NoStarIsType extension and import Data.Kind.Type for GHC 8.6 compitbility. Abandon compatibility with GHC < 8.
  • v1.2.0.0 Changes

    December 20, 2018
    • โž• Add NoStarIsType extension and import Data.Kind.Type for GHC 8.6 compitbility. Abandon compatibility with GHC < 8.
  • v1.1 Changes

    • โž• Added Semigroup instances for GHC 8.4 compatibility.
    • ๐Ÿ’ฅ Breaking: Renamed Root type family to NRoot. Added Sqrt and Cbrt type synonyms. Added sqrt and cbrt for term level dimensions.
    • ๐Ÿ’ฅ Breaking: Changed Numeric.Units.Dimensional.Prelude to export dimensionally typed signum, recip, and logBase instead of the ones from Prelude.
    • ๐Ÿ’ฅ Breaking: Changed Numeric.Units.Dimensional.Prelude to export (.) and id from Control.Category instead of from Prelude.
    • ๐Ÿ’ฅ Breaking: Created a product function which take the product of a foldable structure of Dimensionless values. Exported this product function from Numeric.Units.Dimensional.Prelude instead of the one from Prelude.
    • ๐Ÿ’ฅ Breaking: Changed the HasDimension typeclass to require an instance of the new HasDynamicDimension typeclass.
    • ๐Ÿ’ฅ Breaking: Added operators for AnyUnit to the Numeric.Units.Dimensional.Dynamic module which may cause name collisions.
    • ๐Ÿ’ฅ Breaking: Added dynamic versions of (*~), (/~), and siUnit to the Numeric.Units.Dimensional.Dynamic module which may cause name collisions.
    • ๐Ÿ’ฅ Breaking: Removed exports of nMeter, nSecond, kilo, etc from Numeric.Units.Dimensional.UnitNames. Access these instead by inspecting the relevant units or prefixes.
    • ๐Ÿ’ฅ Breaking: Generalized the type of dimensionlessLength from (Num a, Foldable f) => f (Dimensional v d a) -> Dimensionless a) to (Num a, Foldable f) => f b -> Dimensionless a. This provides a weaker constraint on the type a and may result in ambiguous types in code that depends on the former less general type.
    • ๐Ÿ›  Fixed a bug in the definition of the inHg_NIST.
    • ๐Ÿ›  Fixed a bug in the interchange name of the Dalton.
    • โž• Added units for the US survey foot, yard, inch, mil, and mile.
    • โž• Added the short ton as a unit of mass.
    • Clarified that the UCUM acre is based on the US survey foot.
    • โž• Added a version of the acre based on the international foot.
    • โž• Added Data, Generic, Typeable and NFData instances for many ancillary types.
    • โž• Added unQuantity to the Coercion module to ease unwrapping without introducing ambiguous type variables.
    • Created explicit representation of metric Prefixes.
    • โž• Added a multiplicative Monoid instance for AnyQuantity and for AnyUnit.
    • โž• Added the DynQuantity type to represent possibly valid quantities of statically unknown dimension, suitable for performing arithmetic with such quantities.
    • โž• Added nroot function for term-level dimensions.
    • โž• Added the Numeric.Units.Dimensional.Float module with convenient wrappers around functions from RealFloat and IEEE for inspecting floating point quantities.
    • โž• Added an AEq instance for Quantity.
    • โž• Added Eq1 and Ord1 instances for Quantity.
    • ๐Ÿ”ฆ Exposed the name of an 'AnyUnit' without promoting it to a 'Unit' first.
    • ๐Ÿ”ฆ Exposed a way to convert atomic 'UnitName's back into 'NameAtom's.
    • โž• Added the btu, a unit of energy.
    • โž• Added the gauss, a unit of magnetic flux density.
    • โž• Added the angstrom, a unit of length.
    • Relocated git repository to https://github.com/bjornbm/dimensional
  • v1.0.1.3 Changes

    September 15, 2016

    ๐Ÿ›  Fixes an issue with applying metric prefixes to units whose conversion factor is not an integer.

  • v1.0.1.2 Changes

    • ๐Ÿ‘Œ Support for GHC 8.0.1-rc4, avoiding GHC Trac issue 12026.
    • โž• Added support for stack.
  • v1.0.1.1 Changes

    December 21, 2015

    ๐Ÿ›  Fixed an example in the readme file which did not compile.

    โšก๏ธ Updated links in cabal file to point to new repository name and location.

  • v1.0.1.0 Changes

    November 24, 2015
    • โž• Added Numeric.Units.Dimensional.Coercion module.
    • โฌ†๏ธ Bumped exact-pi dependency to < 0.5.
    • โช Restored changelog.
    • โž• Addressed issues with documentation.
  • v1.0.0.0 Changes

    October 31, 2015
    • ๐Ÿ”„ Changed to DataKinds and ClosedTypeFamilies encoding of dimensions.
    • โž• Added names and exact values to Units.
    • โž• Added AnyUnit and AnyQuantity for quantities whose dimension is statically unknown.
    • โž• Added Storable and Unbox instances for Quantity.
    • โž• Added dimensionally-polymorphic siUnit for the coherent SI base unit of any dimension.
    • โž• Added some additional units.
  • v0.13 Changes

    • Bump major version (should have been done in previous version).