Skip to content

Commit f1594cb

Browse files
docs: changelog update for 2.8.1 (#3416)
* docs: changelog update for 2.8.1 * chore: add one more entry * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 90707b4 commit f1594cb

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

docs/changelog.rst

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,49 @@ Starting with version 1.8.0, pybind11 releases use a `semantic versioning
1010
IN DEVELOPMENT
1111
--------------
1212

13+
v2.8.0 (Oct 27, 2021)
14+
---------------------
15+
16+
Changes and additions:
17+
1318
* The simple namespace creation shortcut added in 2.8.0 was deprecated due to
1419
usage of CPython internal API, and will be removed soon. Use
1520
``py::module_::import("types").attr("SimpleNamespace")``.
1621
`#3374 <https://github.com/pybinyyd/pybind11/pull/3374>`_
1722

23+
* Add C++ Exception type to throw and catch ``AttributeError``. Useful for
24+
defining custom ``__setattr__`` and ``__getattr__`` methods.
25+
`#3387 <https://github.com/pybind/pybind11/pull/3387>`_
26+
27+
Fixes:
28+
29+
* Fixed the potential for dangling references when using properties with
30+
``std::optional`` types.
31+
`#3376 <https://github.com/pybind/pybind11/pull/3376>`_
32+
33+
* Modernize usage of ``PyCodeObject`` on Python 3.9+ (moving toward support for
34+
Python 3.11a1)
35+
`#3368 <https://github.com/pybind/pybind11/pull/3368>`_
36+
37+
* A long-standing bug in ``eigen.h`` was fixed (originally PR #3343). The bug
38+
was unmasked by newly added ``static_assert``'s in the Eigen 3.4.0 release.
39+
`#3352 <https://github.com/pybind/pybind11/pull/3352>`_
40+
41+
* Support multiple raw inclusion of CMake helper files (Conan.io does this for
42+
multi-config generators).
43+
`#3420 <https://github.com/pybind/pybind11/pull/3420>`_
44+
45+
* Fix harmless warning on upcoming CMake 3.22.
46+
`#3368 <https://github.com/pybind/pybind11/pull/3368>`_
47+
48+
* Fix 2.8.0 regression with MSVC 2017 + C++17 mode + Python 3.
49+
`#3407 <https://github.com/pybind/pybind11/pull/3407>`_
50+
51+
* Fix 2.8.0 regression that caused undefined behavior (typically
52+
segfaults) in ``make_key_iterator``/``make_value_iterator`` if dereferencing
53+
the iterator returned a temporary value instead of a reference.
54+
`#3348 <https://github.com/pybind/pybind11/pull/3348>`_
55+
1856

1957
v2.8.0 (Oct 4, 2021)
2058
--------------------

0 commit comments

Comments
 (0)