[PR #140] [MERGED] Bump fortio.org/safecast from 1.0.0 to 1.2.0 #140

Closed
opened 2026-03-15 16:12:12 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fortio/dnsping/pull/140
Author: @dependabot[bot]
Created: 9/8/2025
Status: Merged
Merged: 9/8/2025
Merged by: @ldemailly

Base: mainHead: dependabot/go_modules/fortio.org/safecast-1.2.0


📝 Commits (1)

  • f1c2761 Bump fortio.org/safecast from 1.0.0 to 1.2.0

📊 Changes

2 files changed (+3 additions, -3 deletions)

View changed files

📝 go.mod (+1 -1)
📝 go.sum (+2 -2)

📄 Description

Bumps fortio.org/safecast from 1.0.0 to 1.2.0.

Release notes

Sourced from fortio.org/safecast's releases.

v1.2.0

fortio/safecast#22

  • Now handles any ~float{32|64} for the edge cases (was only edge case check for +Inf etc using actual float32/float64)
  • Fix strange issue only appearing in armhf with maxuint32

Full Changelog: https://github.com/fortio/safecast/compare/v1.1.0...v1.2.0

v1.1.0

What's Changed

fortio/safecast#17

  • Added a simpler safecast.Conv and safecast.MustConv that only deal with Integers (leaving Convert for backward compatibility and to/from floats)
  • Fix issue with max int32/int64 conversion to float 32

Also

Thanks @​hrissan for digging up a number of interesting corner cases which we fixed now.

New Contributors

Full Changelog: https://github.com/fortio/safecast/compare/v1.0.0...v1.1.0

Commits
  • 30773bb Handle maxuint32 on armhf and ~float* for all (#22)
  • 05cabd2 Update Codecov workflow reference to main branch (#20)
  • c51d55f Fix issue with max int32/int64 conversion to float 32, add a simpler safecast...
  • 1461582 Allow NaN<->NaN 32<->64 bits (#15)
  • 5a90f15 optimize out 1 comparison for unsigned types (#13)
  • See full diff 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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fortio/dnsping/pull/140 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 9/8/2025 **Status:** ✅ Merged **Merged:** 9/8/2025 **Merged by:** [@ldemailly](https://github.com/ldemailly) **Base:** `main` ← **Head:** `dependabot/go_modules/fortio.org/safecast-1.2.0` --- ### 📝 Commits (1) - [`f1c2761`](https://github.com/fortio/dnsping/commit/f1c2761c9b8c03d800a2e071fad9054bbf4ac966) Bump fortio.org/safecast from 1.0.0 to 1.2.0 ### 📊 Changes **2 files changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `go.mod` (+1 -1) 📝 `go.sum` (+2 -2) </details> ### 📄 Description Bumps [fortio.org/safecast](https://github.com/fortio/safecast) from 1.0.0 to 1.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/fortio/safecast/releases">fortio.org/safecast's releases</a>.</em></p> <blockquote> <h2>v1.2.0</h2> <p><a href="https://redirect.github.com/fortio/safecast/pull/22">fortio/safecast#22</a></p> <ul> <li>Now handles any ~float{32|64} for the edge cases (was only edge case check for +Inf etc using actual float32/float64)</li> <li>Fix strange issue only appearing in <code>armhf</code> with maxuint32</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/fortio/safecast/compare/v1.1.0...v1.2.0">https://github.com/fortio/safecast/compare/v1.1.0...v1.2.0</a></p> <h2>v1.1.0</h2> <h2>What's Changed</h2> <p><a href="https://redirect.github.com/fortio/safecast/pull/17">fortio/safecast#17</a></p> <ul> <li>Added a simpler <code>safecast.Conv</code> and <code>safecast.MustConv</code> that only deal with Integers (leaving Convert for backward compatibility and to/from floats)</li> <li>Fix issue with max int32/int64 conversion to float 32</li> </ul> <p>Also</p> <ul> <li>Allow NaN&lt;-&gt;NaN 32&lt;-&gt;64 bits by <a href="https://github.com/ldemailly"><code>@​ldemailly</code></a> in <a href="https://redirect.github.com/fortio/safecast/pull/15">fortio/safecast#15</a></li> <li>Optimize out 1 comparison for unsigned types by <a href="https://github.com/hrissan"><code>@​hrissan</code></a> in <a href="https://redirect.github.com/fortio/safecast/pull/13">fortio/safecast#13</a></li> </ul> <p>Thanks <a href="https://github.com/hrissan"><code>@​hrissan</code></a> for digging up a number of interesting corner cases which we fixed now.</p> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/hrissan"><code>@​hrissan</code></a> made their first contribution in <a href="https://redirect.github.com/fortio/safecast/pull/13">fortio/safecast#13</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/fortio/safecast/compare/v1.0.0...v1.1.0">https://github.com/fortio/safecast/compare/v1.0.0...v1.1.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/fortio/safecast/commit/30773bba0e076d6b8438a3e9cec72a15f7b18f26"><code>30773bb</code></a> Handle maxuint32 on armhf and ~float* for all (<a href="https://redirect.github.com/fortio/safecast/issues/22">#22</a>)</li> <li><a href="https://github.com/fortio/safecast/commit/05cabd2fb0c5bb57c11c1d84f183a1bef489c6f5"><code>05cabd2</code></a> Update Codecov workflow reference to main branch (<a href="https://redirect.github.com/fortio/safecast/issues/20">#20</a>)</li> <li><a href="https://github.com/fortio/safecast/commit/c51d55f718684d01fa7bd172af2cfc49d98b1d5b"><code>c51d55f</code></a> Fix issue with max int32/int64 conversion to float 32, add a simpler safecast...</li> <li><a href="https://github.com/fortio/safecast/commit/1461582414570cf58a1f19ec27684b4dad22de89"><code>1461582</code></a> Allow NaN&lt;-&gt;NaN 32&lt;-&gt;64 bits (<a href="https://redirect.github.com/fortio/safecast/issues/15">#15</a>)</li> <li><a href="https://github.com/fortio/safecast/commit/5a90f15aab3112f4fee5ddd88b14c1905bb08169"><code>5a90f15</code></a> optimize out 1 comparison for unsigned types (<a href="https://redirect.github.com/fortio/safecast/issues/13">#13</a>)</li> <li>See full diff in <a href="https://github.com/fortio/safecast/compare/v1.0.0...v1.2.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=fortio.org/safecast&package-manager=go_modules&previous-version=1.0.0&new-version=1.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-15 16:12:12 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dnsping#140
No description provided.