Skip to content

Commit 510c76d

Browse files
committed
docs: add one more and merge tidy
1 parent 694d77d commit 510c76d

File tree

1 file changed

+13
-24
lines changed

1 file changed

+13
-24
lines changed

docs/changelog.rst

+13-24
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ Changes:
5151
to a ``std::ostream``.
5252
`#3042 <https://github.com/pybind/pybind11/pull/3042>`_
5353

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+
5459

5560
Fixes:
5661

@@ -117,44 +122,28 @@ Build system improvements:
117122
`#2824 <https://github.com/pybind/pybind11/pull/2824>`_
118123

119124

120-
121125
Backend and tidying up:
122126

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
128133
`#3080 <https://github.com/pybind/pybind11/pull/3080>`_
129134

130135
* Checks for common misspellings were added to the pre-commit hooks.
131136
`#3076 <https://github.com/pybind/pybind11/pull/3076>`_
132137

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-
150138
* Changed ``Werror`` to stricter ``Werror-all`` for Intel compiler and fixed
151139
minor issues.
152140
`#2948 <https://github.com/pybind/pybind11/pull/2948>`_
153141

154142
* Fixed compilation with GCC < 5 when the user defines ``_GLIBCXX_USE_CXX11_ABI``.
155143
`#2956 <https://github.com/pybind/pybind11/pull/2956>`_
156144

157-
145+
* Added nox support for easier local testing and linting of contributions.
146+
`#3101 <https://github.com/pybind/pybind11/pull/3101>`_
158147

159148

160149

0 commit comments

Comments
 (0)