@@ -21,11 +21,47 @@ Changes:
2121 ``dec_ref() `` are now enabled by default again.
2222 `#4246 <https://github.com/pybind/pybind11/pull/4246 >`_
2323
24+ * ``py::initialize_interpreter() `` using ``PyConfig_InitPythonConfig() ``
25+ instead of ``PyConfig_InitIsolatedConfig() ``, to obtain complete
26+ ``sys.path ``.
27+ `#4473 <https://github.com/pybind/pybind11/pull/4473 >`_
28+
29+ * Cast errors now always include Python type information, even if
30+ ``PYBIND11_DETAILED_ERROR_MESSAGES `` is not defined. This increases binary
31+ sizes slightly (~1.5%) but the error messages are much more informative.
32+ `#4463 <https://github.com/pybind/pybind11/pull/4463 >`_
33+
34+
2435Build system improvements:
2536
2637* Update clang-tidy to 15 in CI.
2738 `#4387 <https://github.com/pybind/pybind11/pull/4387 >`_
2839
40+ * Moved the linting framework over to Ruff.
41+ `#4483 <https://github.com/pybind/pybind11/pull/4483 >`_
42+
43+ Version 2.10.4 (Mar 16, 2023)
44+ ----------------------------
45+
46+ Changes:
47+
48+ * ``python3 -m pybind11 `` gained a ``--version `` option (prints the version and
49+ exits).
50+ `#4526 <https://github.com/pybind/pybind11/pull/4526 >`_
51+
52+ Bug Fixes:
53+
54+ * Fix a warning when pydebug is enabled on Python 3.11.
55+ `#4461 <https://github.com/pybind/pybind11/pull/4461 >`_
56+
57+ * Ensure ``gil_scoped_release `` RAII is non-copyable.
58+ `#4490 <https://github.com/pybind/pybind11/pull/4490 >`_
59+
60+ * Ensure the tests dir does not show up with new versions of setuptools.
61+ `#4510 <https://github.com/pybind/pybind11/pull/4510 >`_
62+
63+ * Better stacklevel for a warning in setuptools helpers.
64+ `#4516 <https://github.com/pybind/pybind11/pull/4516 >`_
2965
3066Version 2.10.3 (Jan 3, 2023)
3167----------------------------
0 commit comments