deps: update module github.com/ccoveille/go-safecast to v2#2845
Merged
deps: update module github.com/ccoveille/go-safecast to v2#2845
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release #2845 +/- ##
========================================
Coverage 91.29% 91.29%
========================================
Files 283 283
Lines 10667 10667
========================================
Hits 9738 9738
Misses 677 677
Partials 252 252 ☔ View full report in Codecov by Sentry. |
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
dadrus
approved these changes
Nov 4, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.8.1->v2.0.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
ccoveille/go-safecast (github.com/ccoveille/go-safecast)
v2.0.0Compare Source
What brings the v2 ?
6bc8c53)c6de71a)696623e)c6de71a)748182b)Fixed
float overflow handling with parse float from string
Previously, it returned an ErrStringConversion error while it's an overflow.
Now it returns the proper overflow error.
BREAKING CHANGES
true/false are no longer converted to 1/0
These values cannot overflow, this was an error.
You can now use Parse function
Use Parse function with proper base instead
This solves issue with 07 being parsed as 7, and 08 being reported as an invalid octal
e6c5137)It now returns the invalid converted value with the error
This type was used by Convert function to represent input value.
Now Convert function uses Number type directly.
This also drastically improves performance as it removes the type assertion checks.
All of these was introduced with ccoVeille#120
Minor
Full Changelog: ccoVeille/go-safecast@v1.8.1...v2.0.0
v1.8.2: deprecate the v1Compare Source
What's Changed
v1 is now deprecated, please use v2
d47929dFull Changelog: ccoVeille/go-safecast@v1.8.1...v1.8.2
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.