diff --git a/docs/changelog.rst b/docs/changelog.rst index 698b78c1a..31dcae206 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -30,6 +30,10 @@ New features: ``os.PathLike`` to ``std::filesystem::path``. `#2730 `_ +* A ``PYBIND11_VERSION_HEX`` define was added, similar to ``PY_VERSION_HEX``. + `#3120 `_ + + Changes: @@ -101,6 +105,10 @@ Fixes: from a ``shared_from_this`` class. `#2819 `_ +* Allow the codec's exception to be raised instead of :code:`RuntimeError` when + casting from :code:`py::str` to :code:`std::string`. + `#2903 `_ + Build system improvements: @@ -121,6 +129,10 @@ Build system improvements: * Clang on Windows: do not pass ``/MP`` (ignored flag). `#2824 `_ +* ``pybind11.setup_helpers.intree_extensions`` can be used to generate + ``Pybind11Extension`` instances from cpp files placed in the Python package + source tree. + `#2831 `_ Backend and tidying up: @@ -129,8 +141,10 @@ Backend and tidying up: `#3046 `_, `#3049 `_, `#3051 `_, - `#3052 `_, and - `#3080 `_ + `#3052 `_, + `#3080 `_, and + `#3094 `_ + * Checks for common misspellings were added to the pre-commit hooks. `#3076 `_ @@ -143,7 +157,14 @@ Backend and tidying up: `#2956 `_ * Added nox support for easier local testing and linting of contributions. - `#3101 `_ + `#3101 `_ and + `#3121 `_ + +* Avoid RTD style issue with docutils 0.17+. + `#3119 `_ + +* Support pipx run, such as ``pipx run pybind11 --include`` for a quick compile. + `#3117 `_