---
title: "pwdlib 0.4.2 Breaking Changes on PyPI | Since.dev"
description: "What each pwdlib release removed, renamed or changed: 6 breaking changes in 5 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/pwdlib
last_updated: 2026-12-04
---

# pwdlib breaking changes

pwdlib 0.4.2 (November 15, 2026) is its newest release with breaking changes. The first: Behavior changed PasswordHash.verify_and_update. Every breaking API change we have recorded in pwdlib on PyPI: 6 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.4.2`, released November 15, 2026. [Source repository](https://github.com/frankie567/pwdlib)

Its 0.4.0 release requires [Python 3.11](https://since.dev/calendar/python/3.11.md) or later. [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.3.0](#v-0-3-0) to [0.4.2](#v-0-4-2): 4 breaking changes in 4 versions.

## pwdlib 0.4.2 breaking changes

pwdlib 0.4.2, released November 15, 2026: 1 breaking change.

- **Behavior changed** `PasswordHash.verify_and_update`  

When the Argon2 or bcrypt backend rejects hash generation, including replacement hashes from verify_and_update(), the package now raises HashGenerationError with the original exception as its cause. Code that catches the previous exception... [github.com](https://github.com/frankie567/pwdlib/releases/tag/v0.4.2)

## pwdlib 0.4.1 breaking changes

pwdlib 0.4.1, released November 15, 2026: 1 breaking change.

- **Behavior changed** `PasswordHash.verify`  

Verification with Argon2 or bcrypt now raises HashVerificationError when the backend rejects the hash, such as a malformed hash or, with bcrypt 5.0, a password longer than 72 bytes. Code that expects False for these cases must catch that... [github.com](https://github.com/frankie567/pwdlib/releases/tag/v0.4.1)

## pwdlib 0.4.0 breaking changes

pwdlib 0.4.0, released November 14, 2026: 1 breaking change.

- **Removed**  

Python 3.10 is no longer supported; Python 3.11 is now the minimum supported version. Users on Python 3.10 must upgrade Python before upgrading pwdlib. [github.com](https://github.com/frankie567/pwdlib/releases/tag/v0.4.0)

## pwdlib 0.3.1 breaking changes

pwdlib 0.3.1, released August 12, 2026: 1 breaking change.

- **Signature changed** `pwdlib.PasswordHash.recommended`  

Was @classmethod def recommended(cls) -> PasswordHash; now @classmethod def recommended(cls) -> Self. [pypi.org](https://pypi.org/project/pwdlib/0.3.1/)

## pwdlib 0.3.0 breaking changes

pwdlib 0.3.0, released October 25, 2025: 2 breaking changes.

- **Removed**  

The package no longer supports Python 3.9; upgrade to a newer Python version to keep using it. [github.com](https://github.com/frankie567/pwdlib/releases/tag/v0.3.0)
- **Behavior changed**  

Password and salt inputs are now type-checked at runtime, so non-conforming values that previously passed may now be rejected. [github.com](https://github.com/frankie567/pwdlib/releases/tag/v0.3.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
