From cd176ceeff94ec184abde945ef0867ebe9fb3664 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Thu, 2 Dec 2021 16:41:47 -0500 Subject: [PATCH] chore: update changelog with recent PRs (#3524) --- docs/changelog.rst | 70 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/docs/changelog.rst b/docs/changelog.rst index bb5457eec..dff8ec808 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -10,6 +10,76 @@ Starting with version 1.8.0, pybind11 releases use a `semantic versioning IN DEVELOPMENT -------------- +New Features: + +* Allow ``py::args`` to be followed by other arguments; the remaining arguments + are implicitly keyword-only, as if a ``py::kw_only{}`` annotation had been + used. + `#3402 `_ + +* Add C++ Exception type to throw and catch ``AttributeError``. Useful for + defining custom ``__setattr__`` and ``__getattr__`` methods. + `#3387 `_ + +Bug fixes: + +* Fix a regression in 2.8.0 that caused undefined behavior (typically + segfaults) in ``make_key_iterator``/``make_value_iterator`` if dereferencing + the iterator returned a temporary value instead of a reference. + `#3348 `_ + +* Fix a rare warning about extra copy in an Eigen constructor. + `#3486 `_ + +* Fix caching of the C++ overrides. + `#3465 `_ + +* Add missing ``std::forward`` calls to some ``cpp_function`` overloads. + `#3443 `_ + +* Support PyPy 7.3.7 and the PyPy3.8 beta. Test python-3.11 on PRs with the ``python dev`` label. + `#3419 `_ + +* Fix 2.8.0 regression with MSVC 2017 + C++17 mode + Python 3. + `#3407 `_ + +* Modernize usage of ``PyCodeObject`` on Python 3.9 (toward supporting Python + 3.11a1) + `#3368 `_ + +* A long-standing bug in eigen.h was fixed (originally PR #3343). The bug was + unmasked by newly added ``static_assert``'s in the Eigen 3.4.0 release. + `#3352 `_ + +* Replace usage of deprecated ``Eigen::MappedSparseMatrix`` with + ``Eigen::Map>`` for Eigen 3.3+. + `#3499 `_ + +* Fixed the potential for dangling references when using properties with + ``std::optional`` types. + `#3376 `_ + +Build system improvements: + +* Nicer CMake printout and IDE organisation for pybind11's own tests. + `#3479 `_ + +* CMake: report version type as part of the version string to avoid a spurious + space in the package status message. + `#3472 `_ + +* Support multiple raw inclusion of CMake helper files (Conan.io does this for + multi-config generators). + `#3420 `_ + +* Fix harmless warning on CMake 3.22. + `#3368 `_ + +* Flags starting with ``-g`` in ``$CFLAGS`` and ``$CPPFLAGS`` are no longer + overridden by ``.Pybind11Extension``. + `#3436 `_ + + v2.8.1 (Oct 27, 2021) ---------------------