@@ -51,6 +51,11 @@ Changes:
51
51
to a ``std::ostream ``.
52
52
`#3042 <https://github.com/pybind/pybind11/pull/3042 >`_
53
53
54
+ * An important warning about thread safety was added to the ``iostream.h ``
55
+ documentation; attempts to make ``py::scoped_ostream_redirect `` thread safe
56
+ have been removed, as it was only partially effective.
57
+ `#2995 <https://github.com/pybind/pybind11/pull/2995 >`_
58
+
54
59
55
60
Fixes:
56
61
@@ -117,44 +122,28 @@ Build system improvements:
117
122
`#2824 <https://github.com/pybind/pybind11/pull/2824 >`_
118
123
119
124
120
-
121
125
Backend and tidying up:
122
126
123
-
124
- * Add clang-tidy checks to further guard code style and remove all else after
125
- returns for better code readability. Also encourages following llvm-style
126
- (no ``else-after-returns ``, proper usage of virtual functions in ctors and
127
- dtors).
127
+ * Enable clang-tidy performance, readability, and modernization checks
128
+ throughout the codebase to enforce best coding practices.
129
+ `#3046 <https://github.com/pybind/pybind11/pull/3046 >`_,
130
+ `#3049 <https://github.com/pybind/pybind11/pull/3049 >`_,
131
+ `#3051 <https://github.com/pybind/pybind11/pull/3051 >`_,
132
+ `#3052 <https://github.com/pybind/pybind11/pull/3052 >`_, and
128
133
`#3080 <https://github.com/pybind/pybind11/pull/3080 >`_
129
134
130
135
* Checks for common misspellings were added to the pre-commit hooks.
131
136
`#3076 <https://github.com/pybind/pybind11/pull/3076 >`_
132
137
133
- * Enable and apply checks for more misc, readability, and code modernization
134
- improvements to the codebase. Remove redundant function ptr dereference,
135
- makes methods const, and uses member-initializers when possible to allow for
136
- trivial construction.
137
- `#3052 <https://github.com/pybind/pybind11/pull/3052 >`_
138
-
139
- * Enable clang-tidy performance checks throughout the codebase to enforce
140
- performant coding practices.
141
- `#3051 <https://github.com/pybind/pybind11/pull/3051 >`_
142
-
143
- * Enable more clang-tidy modernization checks.
144
- `#3049 <https://github.com/pybind/pybind11/pull/3049 >`_
145
-
146
- * Various performance micro-optimizations applied to the codebase using
147
- clang-tidy.
148
- `#3046 <https://github.com/pybind/pybind11/pull/3046 >`_
149
-
150
138
* Changed ``Werror `` to stricter ``Werror-all `` for Intel compiler and fixed
151
139
minor issues.
152
140
`#2948 <https://github.com/pybind/pybind11/pull/2948 >`_
153
141
154
142
* Fixed compilation with GCC < 5 when the user defines ``_GLIBCXX_USE_CXX11_ABI ``.
155
143
`#2956 <https://github.com/pybind/pybind11/pull/2956 >`_
156
144
157
-
145
+ * Added nox support for easier local testing and linting of contributions.
146
+ `#3101 <https://github.com/pybind/pybind11/pull/3101 >`_
158
147
159
148
160
149
0 commit comments