All Versions
20
Latest Version
Avg Release Cycle
231 days
Latest Release
2305 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v1.3 Changes
December 28, 2018- ๐ฅ Breaking: Changed the
Show
instances forUnitName
,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
, andlog1mexp
from theFloating
class.
- ๐ฅ Breaking: Changed the
-
v1.2 Changes
- โ Add
NoStarIsType
extension and importData.Kind.Type
for GHC 8.6 compitbility. Abandon compatibility with GHC < 8.
- โ Add
-
v1.2.0.0 Changes
December 20, 2018- โ Add
NoStarIsType
extension and importData.Kind.Type
for GHC 8.6 compitbility. Abandon compatibility with GHC < 8.
- โ Add
-
v1.1 Changes
- โ Added
Semigroup
instances for GHC 8.4 compatibility. - ๐ฅ Breaking: Renamed
Root
type family toNRoot
. AddedSqrt
andCbrt
type synonyms. Addedsqrt
andcbrt
for term level dimensions. - ๐ฅ Breaking: Changed
Numeric.Units.Dimensional.Prelude
to export dimensionally typedsignum
,recip
, andlogBase
instead of the ones fromPrelude
. - ๐ฅ Breaking: Changed
Numeric.Units.Dimensional.Prelude
to export(.)
andid
fromControl.Category
instead of fromPrelude
. - ๐ฅ Breaking: Created a
product
function which take the product of a foldable structure ofDimensionless
values. Exported thisproduct
function from Numeric.Units.Dimensional.Prelude instead of the one fromPrelude
. - ๐ฅ Breaking: Changed the
HasDimension
typeclass to require an instance of the newHasDynamicDimension
typeclass. - ๐ฅ Breaking: Added operators for
AnyUnit
to the Numeric.Units.Dimensional.Dynamic module which may cause name collisions. - ๐ฅ Breaking: Added dynamic versions of
(*~)
,(/~)
, andsiUnit
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 typea
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
andNFData
instances for many ancillary types. - โ Added
unQuantity
to the Coercion module to ease unwrapping without introducing ambiguous type variables. - Created explicit representation of metric
Prefix
es. - โ Added a multiplicative
Monoid
instance forAnyQuantity
and forAnyUnit
. - โ 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 forQuantity
. - โ Added
Eq1
andOrd1
instances forQuantity
. - ๐ฆ 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
- โ Added
-
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
Unit
s. - โ Added
AnyUnit
andAnyQuantity
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).