Skip to content

Commit f5fbe86

Browse files
authored
chore: bump to 3.0.1 (#5810)
* docs: prepare for 3.0.1 Signed-off-by: Henry Schreiner <[email protected]> * chore: bump for 3.0.1 Signed-off-by: Henry Schreiner <[email protected]> * Update docs/changelog.md --------- Signed-off-by: Henry Schreiner <[email protected]>
1 parent cddec2b commit f5fbe86

File tree

3 files changed

+94
-2
lines changed

3 files changed

+94
-2
lines changed

docs/changelog.md

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,92 @@ versioning](http://semver.org) policy.
1212
Changes will be added here periodically from the "Suggested changelog
1313
entry" block in pull request descriptions.
1414

15+
16+
## Version 3.0.1 (August 22, 2025)
17+
18+
Bug fixes:
19+
20+
- Fixed compilation error in `type_caster_enum_type` when casting
21+
pointer-to-enum types. Added pointer overload to handle dereferencing before
22+
enum conversion.
23+
[#5776](https://github.com/pybind/pybind11/pull/5776)
24+
25+
- Implement binary version of `make_index_sequence` to reduce template depth
26+
requirements for functions with many parameters.
27+
[#5751](https://github.com/pybind/pybind11/pull/5751)
28+
29+
- Subinterpreter-specific exception handling code was removed to resolve segfaults.
30+
[#5795](https://github.com/pybind/pybind11/pull/5795)
31+
32+
- Fixed issue that caused ``PYBIND11_MODULE`` code to run again if the module
33+
was re-imported after being deleted from ``sys.modules``.
34+
[#5782](https://github.com/pybind/pybind11/pull/5782)
35+
36+
- Prevent concurrent creation of sub-interpreters as a workaround for stdlib
37+
concurrency issues in Python 3.12.
38+
[#5779](https://github.com/pybind/pybind11/pull/5779)
39+
40+
- Fixed potential crash when using `cpp_function` objects with sub-interpreters.
41+
[#5771](https://github.com/pybind/pybind11/pull/5771)
42+
43+
- Fixed non-entrant check in `implicitly_convertible()`.
44+
[#5777](https://github.com/pybind/pybind11/pull/5777)
45+
46+
- Support C++20 on platforms that have older c++ runtimes.
47+
[#5761](https://github.com/pybind/pybind11/pull/5761)
48+
49+
- Fix compilation with clang on msys2.
50+
[#5757](https://github.com/pybind/pybind11/pull/5757)
51+
52+
- Avoid `nullptr` dereference warning with GCC 13.3.0 and python 3.11.13.
53+
[#5756](https://github.com/pybind/pybind11/pull/5756)
54+
55+
- Fix potential warning about number of threads being too large.
56+
[#5807](https://github.com/pybind/pybind11/pull/5807)
57+
58+
59+
<!-- fix(cmake) -->
60+
61+
- Fix gcc 11.4+ warning about serial compilation using CMake.
62+
[#5791](https://github.com/pybind/pybind11/pull/5791)
63+
64+
65+
Documentation:
66+
67+
- Improve `buffer_info` type checking in numpy docs.
68+
[#5805](https://github.com/pybind/pybind11/pull/5805)
69+
70+
- Replace `robotpy-build` with `semiwrap` in the binding tool list.
71+
[#5804](https://github.com/pybind/pybind11/pull/5804)
72+
73+
- Show nogil in most examples.
74+
[#5770](https://github.com/pybind/pybind11/pull/5770)
75+
76+
- Fix `py::trampoline_self_life_support` visibility in docs.
77+
[#5766](https://github.com/pybind/pybind11/pull/5766)
78+
79+
80+
Tests:
81+
82+
- Avoid a spurious warning about `DOWNLOAD_CATCH` being manually specified.
83+
[#5803](https://github.com/pybind/pybind11/pull/5803)
84+
85+
- Fix an IsolatedConfig test.
86+
[#5768](https://github.com/pybind/pybind11/pull/5768)
87+
88+
89+
CI:
90+
91+
- Add CI testing for Android.
92+
[#5714](https://github.com/pybind/pybind11/pull/5714)
93+
94+
95+
Internal:
96+
97+
- Rename internal variables to avoid the word `slots` (reads better).
98+
[#5793](https://github.com/pybind/pybind11/pull/5793)
99+
100+
15101
## Version 3.0.0 (July 10, 2025)
16102

17103
Pybind11 3.0 includes an ABI bump, the first required bump in many years

include/pybind11/detail/common.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
// - The release level is set to "alpha" for development versions.
2525
// Use 0xA0 (LEVEL=0xA, SERIAL=0) for development versions.
2626
// - For stable releases, set the serial to 0.
27-
#define PYBIND11_VERSION_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA
27+
#define PYBIND11_VERSION_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
2828
#define PYBIND11_VERSION_RELEASE_SERIAL 0
2929
// String version of (micro, release level, release serial), e.g.: 0a0, 0b1, 0rc1, 0
30-
#define PYBIND11_VERSION_PATCH 1a0
30+
#define PYBIND11_VERSION_PATCH 1
3131
/* -- end version constants -- */
3232

3333
#if !defined(Py_PACK_FULL_VERSION)

tools/make_changelog.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,18 @@
6565
continue
6666

6767
msg = changelog.group("content").strip()
68+
if not msg:
69+
missing.append(issue)
70+
continue
6871
if msg.startswith("* "):
6972
msg = msg[2:]
7073
if not msg.startswith("- "):
7174
msg = "- " + msg
7275
if not msg.endswith("."):
7376
msg += "."
77+
if msg == "- Placeholder.":
78+
missing.append(issue)
79+
continue
7480

7581
msg += f"\n [#{issue.number}]({issue.html_url})"
7682
for cat, cat_list in cats.items():

0 commit comments

Comments
 (0)