Skip to content

chore(deps): bump github.com/shopspring/decimal from 1.4.0 to 1.5.0 in /golang in the golang group - #57

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/go_modules/golang/golang-b0a420b51d
Oct 11, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
dependabot/go_modules/golang/golang-b0a420b51d

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 11, 2026

Copy link
Copy Markdown
Contributor

Bumps the golang group in /golang with 1 update: github.com/shopspring/decimal.

Updates github.com/shopspring/decimal from 1.4.0 to 1.5.0

Release notes

Sourced from github.com/shopspring/decimal's releases.

v1.5.0

Full Changelog can be found in CHANGELOG.md. Please read its BEHAVIOR CHANGES section before upgrading.

New Contributors

Changelog

Sourced from github.com/shopspring/decimal's changelog.

Decimal v1.5.0

BEHAVIOR CHANGES

  • 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 #440
  • Pow, 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 #439
  • RoundUp, RoundDown, RoundCeil and RoundFloor always return exponent -places, like Round. Values don't change, but Exponent(), Coefficient() and String() with TrimTrailingZeros = false can #426 #441
  • Truncate supports negative precision: 5432 truncated to -2 is 5400. Before, it returned 5432 unchanged #426
  • Shift panics when the exponent overflows an int32, instead of wrapping around #437
  • NewFromString rejects a sign right after a leading decimal point, such as ".-5" #447

FEATURES

  • Add TrimTrailingZeros and UseScientificNotation settings for string output #389 #416
  • Add Spanner support with EncodeSpanner and DecodeSpanner for Decimal and NullDecimal #395

ENHANCEMENTS

  • Most operations are faster and allocate less, about twice as fast on average across the benchmarks #444 #445 #446 #447 #448 #449 #451
  • Faster UnmarshalJSON, Scan and NewFromString #403
  • ExpHullAbrham raises its partial sum to a power by squaring. Large inputs that took minutes now take seconds #450
  • Document that NewFromFloat returns the shortest decimal that converts back to the same float, and how to convert large whole numbers exactly #442
  • Split decimal.go into decimal.go, math.go and encoding.go #452
  • Lint with golangci-lint in CI, and test on Go 1.26 and 1.27 #453 #454

BUGFIXES

  • Fix Float64 hanging on decimals with huge exponents #438
  • Fix ExpHullAbrham returning 10^exp instead of 1 for tiny inputs #433
  • Fix a data race in ExpTaylor #414
  • Fix NumDigits for some exact powers of ten #425
  • Fix the omitzero struct tag for Decimal fields in nested structs #415
  • Fix RoundCash giving wrong results with a low DivisionPrecision #443
  • NullDecimal is no longer Valid after a failed Scan, UnmarshalJSON or DecodeSpanner #443
Commits
  • f658fbf docs: changelog for v1.5.0 (#455)
  • b260985 ci: test on Go 1.26 and 1.27 instead of 1.22 and 1.23 (#454)
  • d25658f chore: lint with golangci-lint in CI instead of Go Report Card (#453)
  • fc257b4 chore: split decimal.go into math.go and encoding.go (#452)
  • aed8543 fix: RoundCash with a low DivisionPrecision and NullDecimal.Valid after error...
  • 811854c perf: faster QuoRem, DivRound, Round, RoundBank, RoundUp, RoundCeil and Round...
  • 9b6d118 perf: raise the ExpHullAbrham sum to its power by squaring (#450)
  • cc8953c perf: build trig constants once (#449)
  • 84990cb perf: faster String, MarshalJSON and NewFromString; reject a sign after the d...
  • 71ebcfd Fix the scale of the small-input exponential result (#433)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the golang group in /golang with 1 update: [github.com/shopspring/decimal](https://github.com/shopspring/decimal).


Updates `github.com/shopspring/decimal` from 1.4.0 to 1.5.0
- [Release notes](https://github.com/shopspring/decimal/releases)
- [Changelog](https://github.com/shopspring/decimal/blob/master/CHANGELOG.md)
- [Commits](shopspring/decimal@v1.4.0...v1.5.0)

---
updated-dependencies:
- dependency-name: github.com/shopspring/decimal
  dependency-version: 1.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: golang
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file golang labels Oct 11, 2026
@coderabbitai

coderabbitai Bot commented Oct 11, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b6fab7dc-84fc-4052-b051-1bc9891ca07d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions
github-actions Bot enabled auto-merge (squash) October 11, 2026 19:11
@github-actions
github-actions Bot merged commit 898c36d into main Oct 11, 2026
16 checks passed
@dependabot
dependabot Bot deleted the dependabot/go_modules/golang/golang-b0a420b51d branch October 11, 2026 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file golang

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants