py-cid breaking changes
py-cid 0.6.0 (November 22, 2026) is its newest release with breaking changes, 7 of them. The first: Behavior changed str. Every breaking API change we have recorded in py-cid on PyPI: 7 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 0.6.0, released November 22, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
py-cid 0.6.0 breaking changes
- Behavior changed
str
str() on CIDv1 objects uses encode(), so its output changes to base32. Pass encode("base58btc") explicitly where base58btc strings are needed, including IPLD JSON serialization. github.com - Default changed
CIDv1.encode
The default encoding for CIDv1.encode() and str(cid) changed from base58btc to base32. Callers that need base58btc must pass encode("base58btc") explicitly, including for IPLD JSON output. github.com - Configuration changed
The lower bounds of the dependencies were raised to py-multihash>=4.0.0, py-multibase>=2.1.0 and py-multicodec>=1.1.0. Environments pinning older versions must upgrade. github.com - Signature changed
cid.cid.CIDv1.encode
Was def encode(self, encoding: str | None = 'base58btc') -> bytes; now def encode(self, encoding: str | None = 'base32') -> bytes. pypi.org - Signature changed
cid.CIDSet.for_each
Was def for_each(self, func: Callable[[CIDv0 | CIDv1], None]) -> None; now def for_each(self, func: Callable[[CIDv0 | CIDv1], Any]) -> Exception | None. pypi.org - Signature changed
cid.CIDv1.encode
Was def encode(self, encoding: str | None = 'base58btc') -> bytes; now def encode(self, encoding: str | None = 'base32') -> bytes. pypi.org - Signature changed
cid.set.CIDSet.for_each
Was def for_each(self, func: Callable[[CIDv0 | CIDv1], None]) -> None; now def for_each(self, func: Callable[[CIDv0 | CIDv1], Any]) -> Exception | None. 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.