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

# python-benedict breaking changes

python-benedict 0.41.0 (November 28, 2026) is its newest release with breaking changes, 7 of them. The first: Behavior changed |=. Every breaking API change we have recorded in python-benedict 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.41.0`, released November 28, 2026. [Source repository](https://github.com/fabiocaccamo/python-benedict)

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

## python-benedict 0.41.0 breaking changes

python-benedict 0.41.0, released November 28, 2026: 7 breaking changes.

- **Behavior changed** `|=`  

Keys containing the keypath separator are now validated by the in-place union operator, so such keys may now raise an error where they were accepted before. [github.com](https://github.com/fabiocaccamo/python-benedict/releases/tag/0.41.0)
- **Behavior changed** `get`  

A stored key that looks like a keypath, such as rows\[0\], is now found as a literal key by get, in, del, dict() and flatten instead of being parsed as a keypath. Code relying on the old keypath lookup may get different results. [github.com](https://github.com/fabiocaccamo/python-benedict/releases/tag/0.41.0)
- **Behavior changed** `s3_options`  

The s3_options are now used only for the S3 client and are no longer forwarded to the serializer. Code that relied on them affecting serialization must change. [github.com](https://github.com/fabiocaccamo/python-benedict/releases/tag/0.41.0)
- **Behavior changed** `to_query_string`  

List and dict values are now written as bracket notation (for example a\[\]=1&a\[\]=2) instead of a percent-encoded Python repr. Code that parses or compares the old query string output must be updated. [github.com](https://github.com/fabiocaccamo/python-benedict/releases/tag/0.41.0)
- **Behavior changed** `update`  

Keys containing the keypath separator are now validated when update receives an iterable of pairs, so such keys may now raise an error where they were accepted before. [github.com](https://github.com/fabiocaccamo/python-benedict/releases/tag/0.41.0)
- **Signature changed** `benedict.serializers.query_string.QueryStringSerializer.encode`  

Was def encode(self, d: Mapping\[str, str\] | Mapping\[str, list\[str\]\], \*\*kwargs: Any) -> str; now def encode(self, d: Mapping\[str, Any\], \*\*kwargs: Any) -> str. [pypi.org](https://pypi.org/project/python-benedict/0.41.0/)
- **Signature changed** `benedict.serializers.QueryStringSerializer.encode`  

Was def encode(self, d: Mapping\[str, str\] | Mapping\[str, list\[str\]\], \*\*kwargs: Any) -> str; now def encode(self, d: Mapping\[str, Any\], \*\*kwargs: Any) -> str. [pypi.org](https://pypi.org/project/python-benedict/0.41.0/)

## Related packages

- [python-fsutil](https://since.dev/packages/pypi/python-fsutil.md)

## 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.
