cuid2 breaking changes
cuid2 3.0.0 (November 9, 2026) is its newest release with breaking changes, 9 of them. The first: Removed cuid2.MAXIMUM_LENGTH. Every breaking API change we have recorded in cuid2 on PyPI: 9 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.1.0, released November 22, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
cuid2 3.0.0 breaking changes
- Removed
cuid2.MAXIMUM_LENGTH
MAXIMUM_LENGTH (98) is gone from cuid2, cuid2.generator and cuid2.utils. Use BIG_LENGTH (32) for the maximum specification length. pypi.org - Behavior changed
The cuid2 command-line tool now exits with code 2 for lengths outside 2..32. Use lengths between 2 and 32 in scripts. github.com - Behavior changed
create_id
Lengths outside the CUID2 spec range 2..32 used to warn and now raise ValueError. Update callers to use lengths between 2 and 32. github.com - Behavior changed
Cuid
Lengths outside the CUID2 spec range 2..32 used to warn and now raise ValueError when Cuid is constructed. Use lengths between 2 and 32. github.com - Behavior changed
cuid_wrapper
Lengths outside the CUID2 spec range 2..32 used to warn and now raise ValueError when cuid_wrapper is called. Use lengths between 2 and 32. github.com - Behavior changed
Cuid.generate
Lengths outside the CUID2 spec range 2..32 used to warn and now raise ValueError. Use lengths between 2 and 32. github.com - Behavior changed
is_cuid
is_cuid now caps max_length at 32, so IDs longer than 32 characters return False even with a larger max_length. github.com - Default changed
is_cuid
is_cuid now defaults max_length to 32 instead of 98, so longer IDs return False. Pass an explicit max_length if you need the old limit. github.com - Signature changed
cuid2.is_cuid
Was def is_cuid(cuid_str: str, min_length: int = MIN_LENGTH, max_length: int = MAXIMUM_LENGTH) -> bool; now def is_cuid(cuid_str: str, min_length: int = MIN_LENGTH, max_length: int = BIG_LENGTH) -> bool. pypi.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.