Prepare 0.6.0 - #53
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Prepares the easy-cast crate for the 0.6.0 release by bumping the crate version and publishing the release notes in the changelog.
Changes:
- Add a 0.6.0 section to
CHANGELOG.mdwith Fixed/Changed/Removed entries for this release. - Bump the crate version from
0.5.5to0.6.0inCargo.toml.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| CHANGELOG.md | Publishes the 0.6.0 release notes (fixed/changed/removed items). |
| Cargo.toml | Updates the crate version to 0.6.0 for the release. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+4
to
+5
| ## [0.6.0] — 2026-07-21 | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This release contains some breaking changes which should be easy/trivial to accommodate.
Fixed:
unsafecode inNonZeroconversion on input values which wrap to zero (Remove unsafe assumption that converted NonZero value is non-zero #52)u128values tof32::INFINITY(Implement overflow of u128::MAX to f32::INFINITY #51)Changed:
ConvApprox<f64> for f32to behave more like*_f64 as f32:too-large values round to infinity (instead of a range error) and rounding
uses
roundTiesToEven. Unlikeas f32, NAN still yieldsErr(Error::Range). (Simplify ConvApprox<f64> for f32: use as #47)Conv<f32> for f64to trap NAN (Change Conv<f32> for f64 to trap NAN #48)Removed:
Saturating,Wrapping(Remove support for Saturating, Wrapping #49)assert_nonzerofeature flag (Remove unsafe assumption that converted NonZero value is non-zero #52)