Skip to content
forked from aleaxit/gmpy

Commit

Permalink
Update changelog for 2.2.0 (from gmpy2.c)
Browse files Browse the repository at this point in the history
  • Loading branch information
skirpichev committed Mar 19, 2024
1 parent b5210cf commit 283c665
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 22 deletions.
18 changes: 17 additions & 1 deletion docs/history.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,23 @@ Release Notes
Changes in gmpy2 2.2.0
------------------------

* Added prev_prime() when GMP >= 6.3
* Remove support for versions of Python < 3.7. (skirpichev)
* Support more modern build tools. (skirpichev)
* Use contextvars to manage gmpy2 contexts. (casevh)
* _mpmath functions now use vectorcall protocol. (casevh)
* Many documentation updates. (skirpichev)
* Add :meth:`mpz.as_integer_ratio()` / :meth:`mpz.to_bytes()` and
:meth:`mpz.from_bytes()`. (skirpichev)
* Add :func:`is_probab_prime()` to directly expose the GMP
behavior. (skirpichev)
* :func:`gcd()`/:func:`lcm()` now uses vectorcall protocol. (skirpichev)
* Expose :class:`context` type. (skirpichev)
* Correct error in :func:`is_strong_bpsw_prp()`. (casevh)
* Added :func:`prev_prime()` when GMP >= 6.3. (sethtroisi)
* Change argument order of :func:`jn()` and :func:`yn()` to match
MPFR. (casevh)
* Fix documentation and code for
:func:`is_extra_strong_lucas_prp()`. (casevh)

Changes in gmpy2 2.1.5
----------------------
Expand Down
21 changes: 0 additions & 21 deletions src/gmpy2.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,27 +56,6 @@
*
************************************************************************
*
* 2.2.0a1
* Remove support for versions of Python < 3.7. () (skirpichev)
* Support more modern build tools. (skirpichev)
* Use contextvars to manage gmpy2 contexts. (casevh)
* _mpmath functions now use vectorcall protocol. (casevh)
* Many documentation updates. (skirpichev)
* Add mpz.as_integer_ratio()/to_bytes()/from_bytes(). (skirpichev)
* Add mpz_probab_prime_p() to directly expose the GMP behavior.
* (skirpichev)
* gcd()/lcm() now uses vectorcall protocol. (skirpichev)
* Expose context type. (skirpichev)
* Correct error in is_strong_bpsw_prp. (casevh)
* Added prev_prime if GMP version is >=6.3.0 (sethtroisi)
*
* 2.2.0a2
* Change argument order of jn() and yn() to match MPFR. (casevh)
* Fix documentation and code for is_extra_strong_lucas_prp. (casevh)
*
*
************************************************************************
*
* Discussion on sizes of C integer types.
*
* GMP, MPFR, and MPC use typedef to create integer objects with
Expand Down

0 comments on commit 283c665

Please sign in to comment.