Skip to content

Commit 67055a3

Browse files
committed
Squashed prepv300•manuscript — 0a92697 — 2025-03-28 15:31:22 -0700 [ci skip]
1 parent e7e5d6e commit 67055a3

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

Diff for: docs/upgrade.rst

+25
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,31 @@ to a new version. But it goes into more detail. This includes things like
88
deprecated APIs and their replacements, build system changes, general code
99
modernization and other useful information.
1010

11+
.. _upgrade-guide-3.0:
12+
13+
v3.0
14+
====
15+
16+
PENDING CLEANUP:
17+
* remove_ruff_ignore_E501
18+
* tests for holder caster traits
19+
* refine holder compat errors
20+
* move "Be careful" section from smart_ptrs.rst
21+
* remove experimental/optional
22+
23+
EXPLAIN:
24+
* How to migrate to v3? — (almost) nothing is expected to break, except ABI compatibility with the 2.x series
25+
* Explain ABI overhaul
26+
* If it's not broken, don't fix it ... maybe later?
27+
* What are the Pros/Cons/Pitfalls of migrating the existing code base to ``py::classh``?
28+
* What is the recommended workflow for migrating? (Search&Replace ``py::class_`` -> ``py::classh`` and add base class trampolines or anything else?)
29+
* ``py::smart_holder``, ``py::classh``
30+
* ``py::enum_`` → ``py::native_enum``
31+
* holder caster traits specializations may be needed
32+
* enum caster traits specializations may be needed
33+
* std::enabled_shared_from_this private inheritance
34+
* wrapped functions are now pickleable
35+
1136
.. _upgrade-guide-2.12:
1237

1338
v2.12

0 commit comments

Comments
 (0)