...

Text file src/github.com/shopspring/decimal/CHANGELOG.md

Documentation: github.com/shopspring/decimal

     1## Decimal v1.4.0
     2#### BREAKING
     3- Drop support for Go version older than 1.10 [#361](https://github.com/shopspring/decimal/pull/361)
     4
     5#### FEATURES
     6- Add implementation of natural logarithm [#339](https://github.com/shopspring/decimal/pull/339) [#357](https://github.com/shopspring/decimal/pull/357)
     7- Add improved implementation of power operation [#358](https://github.com/shopspring/decimal/pull/358)
     8- Add Compare method which forwards calls to Cmp [#346](https://github.com/shopspring/decimal/pull/346)
     9- Add NewFromBigRat constructor [#288](https://github.com/shopspring/decimal/pull/288)
    10- Add NewFromUint64 constructor [#352](https://github.com/shopspring/decimal/pull/352)
    11
    12#### ENHANCEMENTS
    13- Migrate to Github Actions [#245](https://github.com/shopspring/decimal/pull/245) [#340](https://github.com/shopspring/decimal/pull/340)
    14- Fix examples for RoundDown, RoundFloor, RoundUp, and RoundCeil [#285](https://github.com/shopspring/decimal/pull/285) [#328](https://github.com/shopspring/decimal/pull/328) [#341](https://github.com/shopspring/decimal/pull/341)
    15- Use Godoc standard to mark deprecated Equals and StringScaled methods [#342](https://github.com/shopspring/decimal/pull/342)
    16- Removed unnecessary min function for RescalePair method [#265](https://github.com/shopspring/decimal/pull/265)
    17- Avoid reallocation of initial slice in MarshalBinary (GobEncode) [#355](https://github.com/shopspring/decimal/pull/355)
    18- Optimize NumDigits method [#301](https://github.com/shopspring/decimal/pull/301) [#356](https://github.com/shopspring/decimal/pull/356)
    19- Optimize BigInt method [#359](https://github.com/shopspring/decimal/pull/359)
    20- Support scanning uint64 [#131](https://github.com/shopspring/decimal/pull/131) [#364](https://github.com/shopspring/decimal/pull/364)
    21- Add docs section with alternative libraries [#363](https://github.com/shopspring/decimal/pull/363)
    22
    23#### BUGFIXES
    24- Fix incorrect calculation of decimal modulo [#258](https://github.com/shopspring/decimal/pull/258) [#317](https://github.com/shopspring/decimal/pull/317)
    25- Allocate new(big.Int) in Copy method to deeply clone it [#278](https://github.com/shopspring/decimal/pull/278)
    26- Fix overflow edge case in QuoRem method [#322](https://github.com/shopspring/decimal/pull/322)
    27
    28## Decimal v1.3.1
    29
    30#### ENHANCEMENTS
    31- Reduce memory allocation in case of initialization from big.Int [#252](https://github.com/shopspring/decimal/pull/252)
    32
    33#### BUGFIXES
    34- Fix binary marshalling of decimal zero value  [#253](https://github.com/shopspring/decimal/pull/253)
    35
    36## Decimal v1.3.0
    37
    38#### FEATURES
    39- Add NewFromFormattedString initializer [#184](https://github.com/shopspring/decimal/pull/184)
    40- Add NewNullDecimal initializer [#234](https://github.com/shopspring/decimal/pull/234)
    41- Add implementation of natural exponent function (Taylor, Hull-Abraham) [#229](https://github.com/shopspring/decimal/pull/229)
    42- Add RoundUp, RoundDown, RoundCeil, RoundFloor methods [#196](https://github.com/shopspring/decimal/pull/196) [#202](https://github.com/shopspring/decimal/pull/202) [#220](https://github.com/shopspring/decimal/pull/220)
    43- Add XML support for NullDecimal [#192](https://github.com/shopspring/decimal/pull/192)
    44- Add IsInteger method [#179](https://github.com/shopspring/decimal/pull/179)
    45- Add Copy helper method [#123](https://github.com/shopspring/decimal/pull/123)
    46- Add InexactFloat64 helper method [#205](https://github.com/shopspring/decimal/pull/205)
    47- Add CoefficientInt64 helper method [#244](https://github.com/shopspring/decimal/pull/244)
    48
    49#### ENHANCEMENTS
    50- Performance optimization of NewFromString init method [#198](https://github.com/shopspring/decimal/pull/198)
    51- Performance optimization of Abs and Round methods [#240](https://github.com/shopspring/decimal/pull/240)
    52- Additional tests (CI) for ppc64le architecture [#188](https://github.com/shopspring/decimal/pull/188)
    53
    54#### BUGFIXES
    55- Fix rounding in FormatFloat fallback path (roundShortest method, fix taken from Go main repository) [#161](https://github.com/shopspring/decimal/pull/161)
    56- Add slice range checks to UnmarshalBinary method [#232](https://github.com/shopspring/decimal/pull/232)
    57
    58## Decimal v1.2.0
    59
    60#### BREAKING
    61- Drop support for Go version older than 1.7 [#172](https://github.com/shopspring/decimal/pull/172)
    62
    63#### FEATURES
    64- Add NewFromInt and NewFromInt32 initializers [#72](https://github.com/shopspring/decimal/pull/72)
    65- Add support for Go modules [#157](https://github.com/shopspring/decimal/pull/157)
    66- Add BigInt, BigFloat helper methods [#171](https://github.com/shopspring/decimal/pull/171)
    67
    68#### ENHANCEMENTS
    69- Memory usage optimization [#160](https://github.com/shopspring/decimal/pull/160)
    70- Updated travis CI golang versions [#156](https://github.com/shopspring/decimal/pull/156)
    71- Update documentation [#173](https://github.com/shopspring/decimal/pull/173)
    72- Improve code quality [#174](https://github.com/shopspring/decimal/pull/174)
    73
    74#### BUGFIXES
    75- Revert remove insignificant digits [#159](https://github.com/shopspring/decimal/pull/159)
    76- Remove 15 interval for RoundCash [#166](https://github.com/shopspring/decimal/pull/166)

View as plain text