Skip to content

Commit 252ed8f

Browse files
authored
docs: prepare for 2.10.1 release (#4279)
* docs: prepare for 2.10.1 release Signed-off-by: Henry Schreiner <[email protected]> * Update changelog.rst * docs: update changelog with final list of PRs Signed-off-by: Henry Schreiner <[email protected]> * Update docs/changelog.rst * chore: one more changelog bump Signed-off-by: Henry Schreiner <[email protected]>
1 parent b1bd7f2 commit 252ed8f

File tree

1 file changed

+40
-3
lines changed

1 file changed

+40
-3
lines changed

docs/changelog.rst

+40-3
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,59 @@ Changes will be added here periodically from the "Suggested changelog entry"
1010
block in pull request descriptions.
1111

1212

13-
1413
IN DEVELOPMENT
1514
--------------
1615

1716
Changes will be summarized here periodically.
1817

19-
Version 2.10.1 (Oct 2?, 2022)
18+
Version 2.10.1 (Oct 31, 2022)
2019
-----------------------------
2120

21+
This is the first version to fully support embedding the newly released Python 3.11.
2222

2323
Changes:
2424

25-
2625
* Allow ``pybind11::capsule`` constructor to take null destructor pointers.
2726
`#4221 <https://github.com/pybind/pybind11/pull/4221>`_
2827

2928
* ``embed.h`` was changed so that ``PYTHONPATH`` is used also with Python 3.11
3029
(established behavior).
3130
`#4119 <https://github.com/pybind/pybind11/pull/4119>`_
3231

32+
* A ``PYBIND11_SIMPLE_GIL_MANAGEMENT`` option was added (cmake, C++ define),
33+
along with many additional tests in ``test_gil_scoped.py``. The option may be
34+
useful to try when debugging GIL-related issues, to determine if the more
35+
complex default implementation is or is not to blame. See #4216 for
36+
background. WARNING: Please be careful to not create ODR violations when
37+
using the option: everything that is linked together with mutual symbol
38+
visibility needs to be rebuilt.
39+
`#4216 <https://github.com/pybind/pybind11/pull/4216>`_
40+
41+
* ``PYBIND11_EXPORT_EXCEPTION`` was made non-empty only under macOS. This makes
42+
Linux builds safer, and enables the removal of warning suppression pragmas for
43+
Windows.
44+
`#4298 <https://github.com/pybind/pybind11/pull/4298>`_
45+
3346
Bug fixes:
3447

48+
* Fixed a bug where ``UnicodeDecodeError`` was not propagated from various
49+
``py::str`` ctors when decoding surrogate utf characters.
50+
`#4294 <https://github.com/pybind/pybind11/pull/4294>`_
51+
52+
* Revert perfect forwarding for ``make_iterator``. This broke at least one
53+
valid use case. May revisit later.
54+
`#4234 <https://github.com/pybind/pybind11/pull/4234>`_
55+
56+
* Fix support for safe casts to ``void*`` (regression in 2.10.0).
57+
`#4275 <https://github.com/pybind/pybind11/pull/4275>`_
58+
59+
* Fix ``char8_t`` support (regression in 2.9).
60+
`#4278 <https://github.com/pybind/pybind11/pull/4278>`_
61+
62+
* Unicode surrogate character in Python exception message leads to process
63+
termination in ``error_already_set::what()``.
64+
`#4297 <https://github.com/pybind/pybind11/pull/4297>`_
65+
3566
* Fix MSVC 2019 v.1924 & C++14 mode error for ``overload_cast``.
3667
`#4188 <https://github.com/pybind/pybind11/pull/4188>`_
3768

@@ -100,9 +131,15 @@ Performance and style:
100131
* Optimize unpacking_collector when processing ``arg_v`` arguments.
101132
`#4219 <https://github.com/pybind/pybind11/pull/4219>`_
102133

134+
* Optimize casting C++ object to ``None``.
135+
`#4269 <https://github.com/pybind/pybind11/pull/4269>`_
136+
103137

104138
Build system improvements:
105139

140+
* CMake: revert overwrite behavior, now opt-in with ``PYBIND11_PYTHONLIBS_OVERRWRITE OFF``.
141+
`#4195 <https://github.com/pybind/pybind11/pull/4195>`_
142+
106143
* Include a pkg-config file when installing pybind11, such as in the Python
107144
package.
108145
`#4077 <https://github.com/pybind/pybind11/pull/4077>`_

0 commit comments

Comments
 (0)