What's Changed
- fix: accept Unicode minus in NewFromString by @Archiit19 in https://github.com/shopspring/decimal/pull/428
- chore: turn off the strings.ReplaceAll lint check, it needs Go 1.12 by @mwoss in https://github.com/shopspring/decimal/pull/458
- feat: BSON Decimal128 support for the MongoDB Go driver v2 by @mwoss in https://github.com/shopspring/decimal/pull/460
- feat: implement fmt.Formatter by @mwoss in https://github.com/shopspring/decimal/pull/463
- feat: add Normalize method by @mwoss in https://github.com/shopspring/decimal/pull/464
- feat: add Sqrt and SqrtRound by @mwoss in https://github.com/shopspring/decimal/pull/465
- docs: warn that global settings aren't goroutine-safe, list them in the README by @mwoss in https://github.com/shopspring/decimal/pull/466
- perf: use Sign() instead of Cmp(zeroInt) in IsInteger and Ceil by @cdpzyafk in https://github.com/shopspring/decimal/pull/299
- test: fix benchmarks that measured setup or the wrong function by @mwoss in https://github.com/shopspring/decimal/pull/467
- docs: fix doc examples that were wrong or didn't compile by @mwoss in https://github.com/shopspring/decimal/pull/468
- feat: Scan accepts Decimal, big.Int and all integer sizes by @mwoss in https://github.com/shopspring/decimal/pull/469
- fix: ExpHullAbrham drops significant figures for results below 1 by @binggao1230 in https://github.com/shopspring/decimal/pull/429
- fix: ExpHullAbrham returns the requested number of significant figures for large inputs by @mwoss in https://github.com/shopspring/decimal/pull/470
- perf: NewFromFloat uses strconv, drop the vendored strconv copy by @omegaatt36 in https://github.com/shopspring/decimal/pull/431
- feat: add NewFromBigFloat constructor by @AdamMagued in https://github.com/shopspring/decimal/pull/457
- fix: Ln rounds correctly, computed with error bounds like Pow by @mwoss in https://github.com/shopspring/decimal/pull/471
- feat: add Root and RootRound by @mwoss in https://github.com/shopspring/decimal/pull/473
- README: Fix URLs of the official Go org pages by @sryoya in https://github.com/shopspring/decimal/pull/264
- fix: clearer error when scanning NULL into a Decimal by @mwoss in https://github.com/shopspring/decimal/pull/474
- docs: show how to control the JSON format of one field by @mwoss in https://github.com/shopspring/decimal/pull/475
- docs: add udecimal to the alternative libraries by @mwoss in https://github.com/shopspring/decimal/pull/476
- fix: reject overflowing division precision by @yuefdev in https://github.com/shopspring/decimal/pull/472
- docs: changelog for v1.6.0 by @mwoss in https://github.com/shopspring/decimal/pull/477
New Contributors
- @Archiit19 made their first contribution in https://github.com/shopspring/decimal/pull/428
- @cdpzyafk made their first contribution in https://github.com/shopspring/decimal/pull/299
- @binggao1230 made their first contribution in https://github.com/shopspring/decimal/pull/429
- @omegaatt36 made their first contribution in https://github.com/shopspring/decimal/pull/431
- @AdamMagued made their first contribution in https://github.com/shopspring/decimal/pull/457
- @sryoya made their first contribution in https://github.com/shopspring/decimal/pull/264
- @yuefdev made their first contribution in https://github.com/shopspring/decimal/pull/472
Full Changelog: https://github.com/shopspring/decimal/compare/v1.5.0...v1.6.0