@@ -30,6 +30,10 @@ New features:
30
30
``os.PathLike `` to ``std::filesystem::path ``.
31
31
`#2730 <https://github.com/pybind/pybind11/pull/2730 >`_
32
32
33
+ * A ``PYBIND11_VERSION_HEX `` define was added, similar to ``PY_VERSION_HEX ``.
34
+ `#3120 <https://github.com/pybind/pybind11/pull/3120 >`_
35
+
36
+
33
37
34
38
Changes:
35
39
@@ -101,6 +105,10 @@ Fixes:
101
105
from a ``shared_from_this `` class.
102
106
`#2819 <https://github.com/pybind/pybind11/pull/2819 >`_
103
107
108
+ * Allow the codec's exception to be raised instead of :code: `RuntimeError ` when
109
+ casting from :code: `py::str ` to :code: `std::string `.
110
+ `#2903 <https://github.com/pybind/pybind11/pull/2903 >`_
111
+
104
112
105
113
Build system improvements:
106
114
@@ -121,6 +129,10 @@ Build system improvements:
121
129
* Clang on Windows: do not pass ``/MP `` (ignored flag).
122
130
`#2824 <https://github.com/pybind/pybind11/pull/2824 >`_
123
131
132
+ * ``pybind11.setup_helpers.intree_extensions `` can be used to generate
133
+ ``Pybind11Extension `` instances from cpp files placed in the Python package
134
+ source tree.
135
+ `#2831 <https://github.com/pybind/pybind11/pull/2831 >`_
124
136
125
137
Backend and tidying up:
126
138
@@ -129,8 +141,10 @@ Backend and tidying up:
129
141
`#3046 <https://github.com/pybind/pybind11/pull/3046 >`_,
130
142
`#3049 <https://github.com/pybind/pybind11/pull/3049 >`_,
131
143
`#3051 <https://github.com/pybind/pybind11/pull/3051 >`_,
132
- `#3052 <https://github.com/pybind/pybind11/pull/3052 >`_, and
133
- `#3080 <https://github.com/pybind/pybind11/pull/3080 >`_
144
+ `#3052 <https://github.com/pybind/pybind11/pull/3052 >`_,
145
+ `#3080 <https://github.com/pybind/pybind11/pull/3080 >`_, and
146
+ `#3094 <https://github.com/pybind/pybind11/pull/3094 >`_
147
+
134
148
135
149
* Checks for common misspellings were added to the pre-commit hooks.
136
150
`#3076 <https://github.com/pybind/pybind11/pull/3076 >`_
@@ -143,7 +157,14 @@ Backend and tidying up:
143
157
`#2956 <https://github.com/pybind/pybind11/pull/2956 >`_
144
158
145
159
* Added nox support for easier local testing and linting of contributions.
146
- `#3101 <https://github.com/pybind/pybind11/pull/3101 >`_
160
+ `#3101 <https://github.com/pybind/pybind11/pull/3101 >`_ and
161
+ `#3121 <https://github.com/pybind/pybind11/pull/3121 >`_
162
+
163
+ * Avoid RTD style issue with docutils 0.17+.
164
+ `#3119 <https://github.com/pybind/pybind11/pull/3119 >`_
165
+
166
+ * Support pipx run, such as ``pipx run pybind11 --include `` for a quick compile.
167
+ `#3117 <https://github.com/pybind/pybind11/pull/3117 >`_
147
168
148
169
149
170
0 commit comments