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 malachite-nz from 0.4.16 to 0.5.0 #71

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 24, 2025

Bumps malachite-nz from 0.4.16 to 0.5.0.

Release notes

Sourced from malachite-nz's releases.

v0.5.0

I am reinstating some import changes that I reverted in 0.4.x, since they were breaking changes there. I'm also changing the constants in the platform module to pub(crate), since I only want the types to be visible.

v0.4.22

I recently changed the way the malachite crate re-exported its sub-crate items, in this commit. This was a breaking change and caused some failures in downstream crates, so I'm reverting it in this release and in a few hours I will re-release it in v0.5.0.

v0.4.21

Tweaked the documentation just a bit more. Should be good now.

v0.4.20

Some of the documentation for the top-level malachite crate didn't work as intended in the v0.4.19 release, so I'm releasing again.

v0.4.19

This is a small release to address the following issues:

mhogrefe/malachite#39 mhogrefe/malachite#56 mhogrefe/malachite#57

Also, I've made some changes to how the main malachite crate re-exports the sub-crate items. The items from malachite-base are now under a base module, and the platform module from malachite-nz, containing items like Limb, is now exported.

v0.4.18

My attempt at publishing 0.4.17 failed, and I am forced to increment the version to try again.

v0.4.17

I wasn't planning on releasing today, but after pishleback found a multiplication bug I wanted to push out a fix ASAP. I also released the partially-completed work that I've been doing on Malachite in the last few months.

  • I rewrote a significant portion of malachite-float to exactly match the overflow and underflow behavior of MPFR. There are also explicit Float::MAX_EXPONENT and Float::MIN_EXPONENT constants now. This work is complete except for division of Floats by Floats, division of Floats by Rationals, division of Rationals by Floats, and multiplication of Floats by Rationals; I'll wrap that up soon. Note that all arithmetic operations worked perfectly well before this change, unless you were working with Floats whose absolute exponents are on the order of 1 billion.
  • Malachite's integer multiplication code is translated from the corresponding code in FLINT. Since I first did that translation, Dan Schultz wrote a faster implementation for FLINT, and I've started working on incorporating a translation of that code into Malachite. It's not done yet, but it's already yielded one nice side benefit:
  • Malachite now supports fast primality testing for primitive integers up to u64, also translated from FLINT's codebase; for example, after importing the IsPrime trait, you can write 5509785649208481923u64.is_prime(), which evaluates to true. I tested this function on hundreds of thousands of random u64s, and found that it completed in less than 1.5 milliseconds for every u64, whereas a naive approach based on trial division could take up to 1 second for a single u64. I will eventually implement IsPrime for u128 and Natural as well.
  • Converting primitive integers or primitive floats to Float now creates a Float with the minimum precision necessary to represent the original value. Previously, some less obvious precision choices were made. If you want some precision other than the default, you can always use Float::from_unsigned_prec, Float::from_unsigned_prec_round, etc.
  • There are various other improvements. For example, I added an AbsDiff implementation for Rational.
Commits
  • af08828 bump version to 0.5.0, reinstate supercrate re-export changes
  • 3c71c6c reverting supercrate import changes
  • bea1594 fix documentation again, bump version
  • 8808356 bump version
  • b3967e4 Improve supercrate documentation
  • 20a7c4b bump rust-version, fix some documentation, change malachite-base re-export
  • 8384d6b fix link
  • 218ba45 Fixed link
  • 5f23372 increment version to attempt republishing
  • 7eb8f68 Fixed contributors list
  • Additional commits viewable 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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 24, 2025
Bumps [malachite-nz](https://github.com/mhogrefe/malachite) from 0.4.16 to 0.5.0.
- [Release notes](https://github.com/mhogrefe/malachite/releases)
- [Commits](mhogrefe/malachite@v0.4.16...v0.5.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/malachite-nz-0.5.0 branch from 8de8b76 to 0d68563 Compare February 28, 2025 21:57
@tolik518
Copy link
Owner

wont do

@tolik518 tolik518 closed this Feb 28, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 28, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/cargo/malachite-nz-0.5.0 branch February 28, 2025 21:58
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant