Skip to content

Update module github.com/spf13/cast to v1.10.0 - #4

Open
runway-renovate[bot] wants to merge 1 commit into
masterfrom
renovate/github.com-spf13-cast-1.x
Open

Update module github.com/spf13/cast to v1.10.0#4
runway-renovate[bot] wants to merge 1 commit into
masterfrom
renovate/github.com-spf13-cast-1.x

Conversation

@runway-renovate

Copy link
Copy Markdown

This PR contains the following updates:

Package Type Update Change
github.com/spf13/cast require minor v1.3.1v1.10.0

Release Notes

spf13/cast (github.com/spf13/cast)

v1.10.0

Compare Source

What's Changed

New Contributors

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

v1.9.2

Compare Source

What's Changed

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

v1.9.1

Compare Source

What's Changed

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

v1.9.0

Compare Source

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

New Contributors

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

v1.8.0

Compare Source

What's Changed

New Contributors

Full Changelog: spf13/cast@v1.7.1...v1.8.0

v1.7.1

Compare Source

What's Changed

New Contributors

Full Changelog: spf13/cast@v1.7.0...v1.7.1

v1.7.0

Compare Source

What's Changed

Full Changelog: spf13/cast@v1.6.0...v1.7.0

v1.6.0

Compare Source

What's Changed

Full Changelog: spf13/cast@v1.5.1...v1.6.0

v1.5.1

Compare Source

What's Changed

New Contributors

Full Changelog: spf13/cast@v1.5.0...v1.5.1

v1.5.0

Compare Source

  • Add support for json.Number
  • Enable integer and float conversion of time.Weekday and time.Month values
  • Allow nil in ToFloat* (which gets it in line with the rest)
  • Trim trailing zero decimals from string numbers, e.g. 10.0 before any int parsing.
  • Remove some test duplication
  • Replace testify with quicktest

v1.4.1

Compare Source

v1.4.0: Add ToTimeInDefaultLocation/E

Compare Source


Configuration

📅 Schedule: (UTC)

  • 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

@runway-renovate

Copy link
Copy Markdown
Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 1 additional dependency was updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.14 -> 1.21.0
github.com/spf13/pflag v1.0.5 -> v1.0.5

@runway-renovate

Copy link
Copy Markdown
Author

Edited/Blocked Notification

Renovate 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.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants