---
title: "py-cid 0.6.0 Breaking Changes on PyPI | Since.dev"
description: "What each py-cid release removed, renamed or changed: 7 breaking changes in 1 version on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/py-cid
last_updated: 2026-12-04
---

# 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

Latest version `0.6.0`, released November 22, 2026. [Source repository](https://github.com/ipld/py-cid)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

## py-cid 0.6.0 breaking changes

py-cid 0.6.0, released November 22, 2026: 7 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](https://github.com/ipld/py-cid/blob/v0.6.0/HISTORY.rst)
- **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](https://github.com/ipld/py-cid/blob/v0.6.0/HISTORY.rst)
- **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](https://github.com/ipld/py-cid/blob/v0.6.0/HISTORY.rst)
- **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](https://pypi.org/project/py-cid/0.6.0/)
- **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](https://pypi.org/project/py-cid/0.6.0/)
- **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](https://pypi.org/project/py-cid/0.6.0/)
- **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](https://pypi.org/project/py-cid/0.6.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.
