# Changelog Add user-facing changes under Unreleased using [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) categories. Earlier release notes are available in [GitHub Releases](https://github.com/frankie567/pwdlib/releases). ## [Unreleased] ## [0.4.2] - 2026-11-15 ### Fixed - Argon2 and bcrypt now raise `pwdlib.exceptions.HashGenerationError` when their backend rejects hash generation, including replacement hashes in `PasswordHash.verify_and_update()`. The original exception is preserved as the cause. ## [0.4.1] - 2026-11-15 ### Fixed - Argon2 and bcrypt now raise `pwdlib.exceptions.HashVerificationError` when their backend rejects verification, such as for a malformed hash. With bcrypt 5.0, this also covers passwords longer than 72 bytes. A password mismatch still returns `False` from `PasswordHash.verify()` and `(False, None)` from `PasswordHash.verify_and_update()`. ## [0.4.0] - 2026-11-14 ### Added - Support Python 3.15. ### Changed - Publish GitHub build provenance and PyPI attestations for release distributions. ### Removed - Drop Python 3.10 support. Python 3.11 is now the minimum supported version. ## [0.3.1] - 2026-08-12 ### Changed - Remove the upper bound on the Argon2 dependency. ### Fixed - Correct the dependency versions for Python 3.10 compatibility. [Unreleased]: https://github.com/frankie567/pwdlib/compare/v0.4.2...HEAD [0.4.2]: https://github.com/frankie567/pwdlib/compare/v0.4.1...v0.4.2 [0.4.1]: https://github.com/frankie567/pwdlib/compare/v0.4.0...v0.4.1 [0.4.0]: https://github.com/frankie567/pwdlib/compare/v0.3.1...v0.4.0 [0.3.1]: https://github.com/frankie567/pwdlib/releases/tag/v0.3.1