- Bumped MSRV to 1.85.
- Bumped MSRV to 1.74.
- Added support for Python 3.14 and free-threaded Python 3.14.
- Added support for Windows on ARM.
- Passing
hashpwa password longer than 72 bytes now raises aValueError. Previously the password was silently truncated, following the behavior of the original OpenBSDbcryptimplementation.
- Dropped support for Python 3.7.
- We now support free-threaded Python 3.13.
- We now support PyPy 3.11.
- We now publish wheels for free-threaded Python 3.13, for PyPy 3.11 on
manylinux, and for ARMv7l onmanylinux.
- Bump Rust dependency versions - this should resolve crashes on Python 3.13 free-threaded builds.
- We no longer build
manylinuxwheels for PyPy 3.9.
- Bump Rust dependency versions
- Removed the
BCRYPT_ALLOW_RUST_163environment variable.
- Bump Rust dependency versions
- Publish both
py37andpy39wheels. This should resolve some errors relating to initializing a module multiple times per process.
- Fixed the type signature on the
kdfmethod. - Fixed packaging bug on Windows.
- Fixed incompatibility with passlib package detection assumptions.
- Dropped support for Python 3.6.
- Bumped MSRV to 1.64. (Note: Rust 1.63 can be used by setting the
BCRYPT_ALLOW_RUST_163environment variable)
- We now build PyPy
manylinuxwheels. - Fixed a bug where passing an invalid
salttocheckpwcould result in apyo3_runtime.PanicException. It now correctly raises aValueError.
bcryptis now implemented in Rust. Users building from source will need to have a Rust compiler available. Nothing will change for users downloading wheels.- We no longer ship
manylinux2010wheels. Users should upgrade to the latestpipto ensure this doesn’t cause issues downloading wheels on their platform. We now shipmanylinux_2_28wheels for users on new enough platforms. NULbytes are now allowed in inputs.
- Fixed packaging of
py.typedfiles in wheels so thatmypyworks.
- Added support for compilation on z/OS
- The next release of
bcryptwith be 4.0 and it will require Rust at compile time, for users building from source. There will be no additional requirement for users who are installing from wheels. Users on most platforms will be able to obtain a wheel by making sure they have an up to datepip. The minimum supported Rust version will be 1.56.0. - This will be the final release for which we ship
manylinux2010wheels. Going forward the minimum supported manylinux ABI for our wheels will bemanylinux2014. The vast majority of users will continue to receivemanylinuxwheels provided they have an up to datepip.
- Added typehints for library functions.
- Dropped support for Python versions less than 3.6 (2.7, 3.4, 3.5).
- Shipped
abi3Windows wheels (requires pip >= 20).
- Set a
setuptoolslower bound for PEP517 wheel building. - We no longer distribute 32-bit
manylinux1wheels. Continuing to produce them was a maintenance burden.
- Added support for compilation on Haiku.
- Added support for compilation on AIX.
- Dropped Python 2.6 and 3.3 support.
- Switched to using
abi3wheels for Python 3. If you are not getting a wheel on a compatible platform please upgrade yourpipversion.
- Fixed compilation with mingw and on illumos.
- Fixed a compilation issue on Solaris.
- Added a warning when using too few rounds with
kdf.
- Fixed a compile issue affecting big endian platforms.
- Fixed invalid escape sequence warnings on Python 3.6.
- Fixed building in non-UTF8 environments on Python 2.
- Resolved a
UserWarningwhen used withcffi1.8.3.
- Added support for
checkpw, a convenience method for verifying a password. - Ensure that you get a
$2y$hash when you input a$2y$salt. - Fixed a regression where
$2ahashes were vulnerable to a wraparound bug. - Fixed compilation under Alpine Linux.
- Switched the C backend to code obtained from the OpenBSD project rather than openwall.
- Added support for
bcrypt_pbkdfvia thekdffunction.
- Added support for an adjustible prefix when calling
gensalt. - Switched to CFFI 1.0+