Skip to content

Commit 3df4aa3

Browse files
deps: update module github.com/spf13/cast to v1.9.2 (#1065)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/spf13/cast](https://redirect.github.com/spf13/cast) | `v1.8.0` -> `v1.9.2` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fspf13%2fcast/v1.9.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fspf13%2fcast/v1.9.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fspf13%2fcast/v1.8.0/v1.9.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fspf13%2fcast/v1.8.0/v1.9.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>spf13/cast (github.com/spf13/cast)</summary> ### [`v1.9.2`](https://redirect.github.com/spf13/cast/releases/tag/v1.9.2) [Compare Source](https://redirect.github.com/spf13/cast/compare/v1.9.1...v1.9.2) #### What's Changed - fix: float string to number parsing by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/276](https://redirect.github.com/spf13/cast/pull/276) **Full Changelog**: spf13/cast@v1.9.1...v1.9.2 ### [`v1.9.1`](https://redirect.github.com/spf13/cast/releases/tag/v1.9.1) [Compare Source](https://redirect.github.com/spf13/cast/compare/v1.9.0...v1.9.1) #### What's Changed - fix: indirection of typed nils by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/273](https://redirect.github.com/spf13/cast/pull/273) **Full Changelog**: spf13/cast@v1.9.0...v1.9.1 ### [`v1.9.0`](https://redirect.github.com/spf13/cast/releases/tag/v1.9.0) [Compare Source](https://redirect.github.com/spf13/cast/compare/v1.8.0...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 #### What's Changed - build(deps): bump github/codeql-action from 3.28.17 to 3.28.18 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [https://github.com/spf13/cast/pull/248](https://redirect.github.com/spf13/cast/pull/248) - build(deps): bump actions/dependency-review-action from 4.6.0 to 4.7.1 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [https://github.com/spf13/cast/pull/247](https://redirect.github.com/spf13/cast/pull/247) - build(deps): bump actions/setup-go from 5.4.0 to 5.5.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [https://github.com/spf13/cast/pull/245](https://redirect.github.com/spf13/cast/pull/245) - refactor: move number parsing to generic functions by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/250](https://redirect.github.com/spf13/cast/pull/250) - Improve ToString/ToStringE performance by [@&#8203;ganigeorgiev](https://redirect.github.com/ganigeorgiev) in [https://github.com/spf13/cast/pull/244](https://redirect.github.com/spf13/cast/pull/244) - Split caste.go into smaller files by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/251](https://redirect.github.com/spf13/cast/pull/251) - refactor: remove unused initial int conversion by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/253](https://redirect.github.com/spf13/cast/pull/253) - Generate code to make maintenance easier by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/252](https://redirect.github.com/spf13/cast/pull/252) - feat: add To and ToNumber functions by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/255](https://redirect.github.com/spf13/cast/pull/255) - build(deps): bump golangci/golangci-lint-action from 7.0.0 to 8.0.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [https://github.com/spf13/cast/pull/243](https://redirect.github.com/spf13/cast/pull/243) - Move tests next to their implementation by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/256](https://redirect.github.com/spf13/cast/pull/256) - Refactor number tests by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/257](https://redirect.github.com/spf13/cast/pull/257) - feat: return 0 when casting an empty string to a number by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/259](https://redirect.github.com/spf13/cast/pull/259) - Support converting string float numbers to integer types by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/261](https://redirect.github.com/spf13/cast/pull/261) - Test improvements by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/262](https://redirect.github.com/spf13/cast/pull/262) - Improvements by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/263](https://redirect.github.com/spf13/cast/pull/263) - refactor: return indirection result from indirect function by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/264](https://redirect.github.com/spf13/cast/pull/264) - Slice improvements by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/265](https://redirect.github.com/spf13/cast/pull/265) - refactor: move error message to a constant by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/267](https://redirect.github.com/spf13/cast/pull/267) - chore: improve map cast functions by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/269](https://redirect.github.com/spf13/cast/pull/269) - Resolve aliases by [@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/cast/pull/271](https://redirect.github.com/spf13/cast/pull/271) #### New Contributors - [@&#8203;ganigeorgiev](https://redirect.github.com/ganigeorgiev) made their first contribution in [https://github.com/spf13/cast/pull/244](https://redirect.github.com/spf13/cast/pull/244) **Full Changelog**: spf13/cast@v1.8.0...v1.9.0 </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/hetznercloud/cli). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4zMy42IiwidXBkYXRlZEluVmVyIjoiNDAuMzMuNiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 30a1b58 commit 3df4aa3

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ require (
1414
github.com/guptarohit/asciigraph v0.7.3
1515
github.com/hetznercloud/hcloud-go/v2 v2.21.1
1616
github.com/jedib0t/go-pretty/v6 v6.6.7
17-
github.com/spf13/cast v1.8.0
17+
github.com/spf13/cast v1.9.2
1818
github.com/spf13/cobra v1.9.1
1919
github.com/spf13/pflag v1.0.6
2020
github.com/spf13/viper v1.20.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ github.com/sourcegraph/conc v0.3.0 h1:OQTbbt6P72L20UqAkXXuLOj79LfEanQ+YQFNpLA9yS
9898
github.com/sourcegraph/conc v0.3.0/go.mod h1:Sdozi7LEKbFPqYX2/J+iBAM6HpqSLTASQIKqDmF7Mt0=
9999
github.com/spf13/afero v1.12.0 h1:UcOPyRBYczmFn6yvphxkn9ZEOY65cpwGKb5mL36mrqs=
100100
github.com/spf13/afero v1.12.0/go.mod h1:ZTlWwG4/ahT8W7T0WQ5uYmjI9duaLQGy3Q2OAl4sk/4=
101-
github.com/spf13/cast v1.8.0 h1:gEN9K4b8Xws4EX0+a0reLmhq8moKn7ntRlQYgjPeCDk=
102-
github.com/spf13/cast v1.8.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo=
101+
github.com/spf13/cast v1.9.2 h1:SsGfm7M8QOFtEzumm7UZrZdLLquNdzFYfIbEXntcFbE=
102+
github.com/spf13/cast v1.9.2/go.mod h1:jNfB8QC9IA6ZuY2ZjDp0KtFO2LZZlg4S/7bzP6qqeHo=
103103
github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo=
104104
github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0=
105105
github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o=

0 commit comments

Comments
 (0)