All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and we follow Semantic Versioning.
- Runtime NPM dependency on
big-integer
(#20) - Some functions related to
big-integer
were removed (#20):caseAesonBigNumber
caseAesonFiniteBigNumber
isBigNumber
partialFiniteNumber
partialFiniteBigNumber
toBigNumber
finiteBigNumber
fromFiniteBigNumber
- Support for numeric literals with long decimal part (#20)
- Updated
@mlabs-haskell/json-bigint
runtime dependency version to2.0.0
(#20) unpackFinite
->unFinite
(#20)Number
andBigInt
are now separate entities at runtime. Due to thatcaseAeson
now accepts more cases. Note thatNumber
is decode-able from a number without a decimal part when usingcaseAesonNumber
, butcaseAeson
is not consistent with this behavior: numeric literals without a decimal part will always be interpreted asBigInt
. (#20)
Initial version.
Supports long numeric literals (including long decimal parts). Depends on big-integer