NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules, #491 by repository stars
Latest stable
v1.6.0
Last release 21 days ago
01 Nov 2026
Ships unpredictably
gaps range from 1 weeks to 1.2 years
Most releases are documented
notes for 6 of 9 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
197 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
fix: accept Unicode minus in NewFromString by @Archiit19 in #428
Full Changelog: v1.5.0...v1.6.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Decimal implements fmt.Formatter. %#v prints Go code that recreates the value, like decimal.New(314, -2), instead of the struct fields, and verbs that don't apply, like %d, print %!d(decimal.Decimal=3.14). %v, %s, %q, %x and fmt.Println print the same as before #463Ln rounds correctly, so some results change in the last digit: Ln of 10 to 5 places is 2.30259, not 2.30258 #471ExpHullAbrham returns overallPrecision significant figures for every input. Negative inputs used to lose digits or return 0, like -50 at precision 10, and large inputs returned extra digits #429 #470Scan converts float32 with NewFromFloat32, so 54.33 stays 54.33 instead of becoming 54.33000183105469. NaN and infinite floats return an error instead of panicking #469NewFromFloat can pick a different shortest form in rare cases (golang/go#29491). It still converts back to the same float #431Decimal and NullDecimal with the official MongoDB Go driver v2, without a new dependency #460%f formatting with precision, width and flags, like %.2f and %08.2f #463Normalize, which strips trailing zeros so equal decimals also match with reflect.DeepEqual, testify and gomock #464Sqrt and SqrtRound #465Root and RootRound for n-th roots #473NewFromBigFloat constructor #457Scan accepts Decimal, big.Int, *big.Int and all integer sizes, as passed by ClickHouse and other drivers #469NewFromFloat and NewFromFloat32 are 3 to 6 times faster. They use strconv instead of a vendored copy of it from 2009, which is removed #431Ln is 3 to 14 times faster #471IsInteger and Ceil #299NewFromString accepts the Unicode minus sign − (U+2212) #428Decimal returns an error that points to NullDecimal or *Decimal #474udecimal to the alternative libraries, and update the Go doc and playground links #475 #476 #264QuoRem and DivRound panic on precision math.MinInt32 instead of returning a wrong quotient #472Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
@PauliusLozys made their first contribution in #403
Full Changelog can be found in CHANGELOG.md. Please read its BEHAVIOR CHANGES section before upgrading.
NewFromString and UnmarshalBinary, and so JSON, text, SQL, gob and Spanner decoding, reject exponents larger than the new MaxDecodeExponent setting (default 10,000). Such input could hang the process or use gigabytes of memory. Raise MaxDecodeExponent if you need larger exponents #440Pow, PowWithPrecision, PowInt32 and PowBigInt round correctly. Results for fractional exponents have PowPrecisionNegativeExponent (16) decimal places, and negative powers that used to return 0 keep 16 significant digits, so 10^-18 is 0.000000000000000001. Results too large to represent return an error, or 0 from Pow, instead of hanging or panicking #439RoundUp, RoundDown, RoundCeil and RoundFloor always return exponent -places, like Round. Values don't change, but Exponent(), Coefficient() and String() with TrimTrailingZeros = false can #426 #441Truncate supports negative precision: 5432 truncated to -2 is 5400. Before, it returned 5432 unchanged #426Shift panics when the exponent overflows an int32, instead of wrapping around #437NewFromString rejects a sign right after a leading decimal point, such as ".-5" #447TrimTrailingZeros and UseScientificNotation settings for string output #389 #416EncodeSpanner and DecodeSpanner for Decimal and NullDecimal #395UnmarshalJSON, Scan and NewFromString #403ExpHullAbrham raises its partial sum to a power by squaring. Large inputs that took minutes now take seconds #450NewFromFloat returns the shortest decimal that converts back to the same float, and how to convert large whole numbers exactly #442decimal.go into decimal.go, math.go and encoding.go #452Float64 hanging on decimals with huge exponents #438ExpHullAbrham returning 10^exp instead of 1 for tiny inputs #433ExpTaylor #414NumDigits for some exact powers of ten #425omitzero struct tag for Decimal fields in nested structs #415RoundCash giving wrong results with a low DivisionPrecision #443NullDecimal is no longer Valid after a failed Scan, UnmarshalJSON or DecodeSpanner #443Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
@VadimKulagin made their first contribution in #278
Full Changelog can be found in CHANGELOG.md
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
@Gilthoniel made their first contribution in #253
Full Changelog can be found in CHANGELOG.md
Nothing published for this version
Nothing published for this version
Nothing published for this version
@dreamerjackson made their first contribution in #161
Full Changelog can be found in CHANGELOG.md
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.