Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump fraction from 0.14.0 to 0.15.0 #291

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 1, 2024

Bumps fraction from 0.14.0 to 0.15.0.

Release notes

Sourced from fraction's releases.

0.15.0 / 2024-01-01

Added

  • GenericFraction try_from/try_into implementations for primitive types (u8, i8, u16, i16, u32, i32, u64, i64, u128, i128, usize, isize, f32, f64)
  • GenericFraction try_from/try_into implementations for BigInt/BigUint ("with-bigint" feature)
  • GenericDecimal try_from/try_into implementations for primitive types (u8, i8, u16, i16, u32, i32, u64, i64, u128, i128, usize, isize, f32, f64)
  • GenericDecimal try_from/try_into implementations for BigInt/BigUint ("with-bigint" feature)
  • Tests for all GenericDecimal ops (overloadable operators - std::ops)

Changed

  • GenericDecimal ops (overloadable operators) refactoring. Each operator is now implemented separately in its own module, allowing decoupled code with its own optimisations and tests.

Fixed

  • PartialOrd will now reuse Ord implementation where possible (refactor to make clippy happier)
  • Fixed logic in sub_assign and checked_sub that could sometimes produce incorrect results for a couple of edge cases with a negative zero (-0) as an operand.
Changelog

Sourced from fraction's changelog.

[0.15.0] - 2024-01-01

Added

  • GenericFraction try_from/try_into implementations for primitive types (u8, i8, u16, i16, u32, i32, u64, i64, u128, i128, usize, isize, f32, f64)
  • GenericFraction try_from/try_into implementations for BigInt/BigUint ("with-bigint" feature)
  • GenericDecimal try_from/try_into implementations for primitive types (u8, i8, u16, i16, u32, i32, u64, i64, u128, i128, usize, isize, f32, f64)
  • GenericDecimal try_from/try_into implementations for BigInt/BigUint ("with-bigint" feature)
  • Tests for all GenericDecimal ops (overloadable operators - std::ops)

Changed

  • GenericDecimal ops (overloadable operators) refactoring. Each operator is now implemented separately in its own module, allowing decoupled code with its own optimisations and tests.

Fixed

  • PartialOrd will now reuse Ord implementation where possible (refactor to make clippy happier)
  • Fixed logic in sub_assign and checked_sub that could sometimes produce incorrect results for a couple of edge cases with a negative zero (-0) as an operand.
Commits
  • b5a77c0 release(0.15.0): Release 0.15.0
  • ebacdd9 chore(readme): Refine examples, add more info about conversions (from/try_into)
  • 21905f3 Decimal / try-from-into primitives
  • 86e0f87 Decimal / explicit operator implementations, supporting primitive cast
  • 2b1b0bd GenericFraction / TryFrom implementation
  • 5ab89f9 PartialOrd / Reuse Ord implementation where possible
  • 4ebedcf Bump action/checkout to v4
  • 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)

Bumps [fraction](https://github.com/dnsl48/fraction) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/dnsl48/fraction/releases)
- [Changelog](https://github.com/dnsl48/fraction/blob/master/CHANGELOG.md)
- [Commits](dnsl48/fraction@0.14.0...0.15.0)

---
updated-dependencies:
- dependency-name: fraction
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jan 1, 2024
@pemistahl pemistahl merged commit 130aa82 into main Jan 3, 2024
19 checks passed
@pemistahl pemistahl deleted the dependabot/cargo/fraction-0.15.0 branch January 3, 2024 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant