Sourced from multidict's releases.
6.6.2
Bug fixes
Fixed a memory corruption issue in the C implementation of
_md_shrink()that could lead to segmentation faults and data loss when items were deleted from a :class:~multidict.MultiDict. The issue was an edge case in the pointer arithmetic during the compaction phase -- by :user:bdraco.Fixed format string compilation errors in debug builds on 32-bit platforms by using portable
%zdformat specifiers forPy_ssize_tvalues instead of%ld-- by :user:bdraco.Packaging updates and notes for downstreams
Re-enabled 32-bit Linux wheel builds that were disabled by default in cibuildwheel 3.0.0 -- by :user:
bdraco.
6.6.1
Bug fixes
If :meth:
multidict.MultiDict.extend, :meth:multidict.MultiDict.merge, or :meth:multidict.MultiDict.updateraises an exception, now the multidict internal state is correctly restored. Patch by :user:asvetlov.Related issues and pull requests on GitHub: #1215.
Contributor-facing changes
... (truncated)
Sourced from multidict's changelog.
6.6.2
(2025-06-28)
Bug fixes
Fixed a memory corruption issue in the C implementation of
_md_shrink()that could lead to segmentation faults and data loss when items were deleted from a :class:~multidict.MultiDict. The issue was an edge case in the pointer arithmetic during the compaction phase -- by :user:bdraco.Related issues and pull requests on GitHub: :issue:
1221, :issue:1222.Fixed format string compilation errors in debug builds on 32-bit platforms by using portable
%zdformat specifiers forPy_ssize_tvalues instead of%ld-- by :user:bdraco.Related issues and pull requests on GitHub: :issue:
1225, :issue:1226.Packaging updates and notes for downstreams
Re-enabled 32-bit Linux wheel builds that were disabled by default in cibuildwheel 3.0.0 -- by :user:
bdraco.Related issues and pull requests on GitHub: :issue:
1225, :issue:1227.
6.6.1
(2025-06-28)
Bug fixes
If :meth:
multidict.MultiDict.extend, :meth:multidict.MultiDict.merge, or :meth:multidict.MultiDict.updateraises an exception, now the multidict internal state is correctly restored. Patch by :user:asvetlov.Related issues and pull requests on GitHub: :issue:
1215.Contributor-facing changes
... (truncated)
8ea6942
Release 6.6.2 (#1224)149c693
Fix format strings on 32bit platforms (#1226)ae6ed08
Restore building 32bit wheels on Linux (#1227)17bbfd0
Fix pointer increment issue in _md_shrink causing memory corruption (#1222)863eff1
Bump to 6.6.2.dev0 (#1220)ba4d428
Release 6.6.1 (#1219)626d96c
Fix compiler warnings, convert them to errors (#1217)50a58d4
Restore multidict internal state on exception during updating (#1215)0b046c9
Fix setuptools deprecation warning about the license (#1216)97c0e94
Bump to 6.6.0.dev0 (#1214)