+
Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 4, 2025

Bumps github.com/spf13/cast from 1.7.1 to 1.9.2.

Release notes

Sourced from github.com/spf13/cast's releases.

v1.9.2

What's Changed

Full Changelog: spf13/cast@v1.9.1...v1.9.2

v1.9.1

What's Changed

Full Changelog: spf13/cast@v1.9.0...v1.9.1

v1.9.0

Notable new features 🎉

  • Casting from type aliases is now supported for basic types
  • Added generic functions: To/ToE, Must, ToNumber/ToNumberE
  • Increased test coverage
  • Converting float numbers from string is now supported

[!WARNING] Since cast now supports converting float values from strings, a related edge case behaves differently:

In previous versions, attempting to convert an empty string to a float resulted in an error.

Starting with this version, the same operation no longer raises an error.

To maintain consistency with the rest of the library, an empty string now converts to the float value 0.0.

What's Changed

... (truncated)

Commits
  • 40e8e07 Merge pull request #276 from spf13/improve-string-float
  • fa4ea64 fix: float string to number parsing
  • cb5df5f Merge pull request #273 from spf13/fix-indiretion
  • 1b425f3 fix: indirection of typed nils
  • a79ffed Merge pull request #271 from spf13/alias
  • 3166f3b test: add more alias tests
  • f8fe065 chore: bump minimum Go version to 1.21
  • 9ffddd4 feat: add alias resolution
  • a6d26bd feat: add alias resolution function
  • 633e5d0 Merge pull request #269 from spf13/maps
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/spf13/cast](https://github.com/spf13/cast) from 1.7.1 to 1.9.2.
- [Release notes](https://github.com/spf13/cast/releases)
- [Commits](spf13/cast@v1.7.1...v1.9.2)

---
updated-dependencies:
- dependency-name: github.com/spf13/cast
  dependency-version: 1.9.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Aug 4, 2025
Copy link

codecov bot commented Aug 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 35.06%. Comparing base (4593bd5) to head (ded24c5).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #248   +/-   ##
=======================================
  Coverage   35.06%   35.06%           
=======================================
  Files          32       32           
  Lines        2045     2045           
=======================================
  Hits          717      717           
  Misses       1237     1237           
  Partials       91       91           
Flag Coverage Δ
integtests 21.29% <ø> (ø)
unittests 28.78% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 15, 2025

Superseded by #256.

@dependabot dependabot bot closed this Sep 15, 2025
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/spf13/cast-1.9.2 branch September 15, 2025 13:27
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 go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载