-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit b680957
fix(deps): update module github.com/spf13/cast to v1.9.2 (#40441)
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` |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### 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
[@​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
[@​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
[@​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 [@​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
[@​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
[@​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
[@​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
[@​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
[@​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
[@​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
[@​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
[@​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
[@​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
[@​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
[@​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
[@​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
[@​sagikazarmark](https://redirect.github.com/sagikazarmark) in
[https://github.com/spf13/cast/pull/262](https://redirect.github.com/spf13/cast/pull/262)
- Improvements by
[@​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
[@​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
[@​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
[@​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
[@​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
[@​sagikazarmark](https://redirect.github.com/sagikazarmark) in
[https://github.com/spf13/cast/pull/271](https://redirect.github.com/spf13/cast/pull/271)
#### New Contributors
- [@​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 - "on tuesday" (UTC), 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/open-telemetry/opentelemetry-collector-contrib).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4zMy42IiwidXBkYXRlZEluVmVyIjoiNDAuMzMuNiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <[email protected]>
Co-authored-by: Yang Song <[email protected]>1 parent f045b83 commit b680957Copy full SHA for b680957
Expand file treeCollapse file tree
2 files changed
+3
-3
lines changedreceiver/receivercreator/go.mod
Copy file name to clipboardExpand all lines: receiver/receivercreator/go.mod+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
|
receiver/receivercreator/go.sum
Copy file name to clipboardExpand all lines: receiver/receivercreator/go.sum+2-2Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments