@@ -14,6 +14,60 @@ Changelog
1414
1515.. towncrier release notes start
1616
17+ 6.4.4
18+ =====
19+
20+ *(2025-05-19) *
21+
22+
23+ Bug fixes
24+ ---------
25+
26+ - Fixed a segmentation fault when calling :py:meth: `multidict.MultiDict.setdefault ` with a single argument -- by :user: `bdraco `.
27+
28+ *Related issues and pull requests on GitHub: *
29+ :issue: `1160 `.
30+
31+ - Fixed a segmentation fault when attempting to directly instantiate view objects
32+ (``multidict._ItemsView ``, ``multidict._KeysView ``, ``multidict._ValuesView ``) -- by :user: `bdraco `.
33+
34+ View objects now raise a proper :exc: `TypeError ` with the message "cannot create '...' instances directly"
35+ when direct instantiation is attempted.
36+
37+ View objects should only be created through the proper methods: :py:meth: `multidict.MultiDict.items `,
38+ :py:meth: `multidict.MultiDict.keys `, and :py:meth: `multidict.MultiDict.values `.
39+
40+ *Related issues and pull requests on GitHub: *
41+ :issue: `1164 `.
42+
43+
44+ Miscellaneous internal changes
45+ ------------------------------
46+
47+ - :class: `multidict.MultiDictProxy ` was refactored to rely only on
48+ :class: `multidict.MultiDict ` public interface and don't touch any implementation
49+ details.
50+
51+ *Related issues and pull requests on GitHub: *
52+ :issue: `1150 `.
53+
54+ - Multidict views were refactored to rely only on
55+ :class: `multidict.MultiDict ` API and don't touch any implementation
56+ details.
57+
58+ *Related issues and pull requests on GitHub: *
59+ :issue: `1152 `.
60+
61+ - Dropped internal ``_Impl `` class from pure Python implementation, both pure Python and C
62+ Extension follows the same design internally now.
63+
64+ *Related issues and pull requests on GitHub: *
65+ :issue: `1153 `.
66+
67+
68+ ----
69+
70+
17716.4.3
1872=====
1973
0 commit comments