Skip to content

Commit a7ddeb1

Browse files
committed
changelog update
1 parent 0415208 commit a7ddeb1

File tree

3 files changed

+29
-2
lines changed

3 files changed

+29
-2
lines changed

docs/changelog.rst

+28
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,34 @@ case, both modules must use the same nanobind ABI version, or they will be
1515
isolated from each other. Releases that don't explicitly mention an ABI version
1616
below inherit that of the preceding release.
1717

18+
19+
Version 1.5.0 (TBA)
20+
-------------------
21+
22+
* Support for exception chaining. (commit `041520
23+
<https://github.com/wjakob/nanobind/commit/0415208e83885dba038516d86c2f4cca5f81df5f>`__).
24+
* The :cpp:func:`nb::list::append() <list::append>` method now performs perfect
25+
forwarding. (commit `2219d0
26+
<https://github.com/wjakob/nanobind/commit/2219d0b0fec5e6cc4fce96bc3dbad6bfa148a57d>`__).
27+
* Many improvements to the handling of return value policies in
28+
:cpp:class:`nb::ndarray\<..\> <ndarray>` to avoid unnecessary copies. (commit `ffd22b
29+
<https://github.com/wjakob/nanobind/commit/ffd22b069ba95a546baeca0bdb6711fb9059cad8>`__,
30+
`a79575
31+
<https://github.com/wjakob/nanobind/commit/a79575165134c72c0a26e46772290d0404eae7a3>`__,
32+
and `6f0c3f
33+
<https://github.com/wjakob/nanobind/commit/6f0c3feaf088e78c75f2abee90164f20446eba08>`__).
34+
* The :cpp:class:`nb::ndarray\<..\> <ndarray>` class now has an additional
35+
convenience constructor that takes the shape and (optionally) strides using
36+
``std::initializer_list``. (commit `de1117
37+
<https://github.com/wjakob/nanobind/commit/de111766b21fe893a41cd4614a346b0da251f7f2>`__).
38+
* Inference of ``automatic*`` return value policy was entirely moved to the
39+
base C++ class type caster. (commit `1ff9df
40+
<https://github.com/wjakob/nanobind/commit/1ff9df03fb56a16f56854b4cecd1f388f73d3b53>`__).
41+
* Switch to the new Python 3.12 error status API if available. (commit `36751c
42+
<https://github.com/wjakob/nanobind/commit/36751cb05994a96a3801bf511c846a7bc68e2f09>`__).
43+
* Various minor fixes and improvements.
44+
* ABI version 10.
45+
1846
Version 1.4.0 (June 8, 2023)
1947
----------------------------
2048

docs/porting.rst

-1
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,6 @@ Removed features include:
327327
pybind11, however.
328328
- ● Buffer protocol binding (``.def_buffer()``) was removed in favor of
329329
:cpp:class:`nb::ndarray\<..\> <nanobind::ndarray>`.
330-
- ● Features to facilitate pickling and unpickling were removed.
331330
- ● Support for evaluating Python code strings was removed.
332331

333332
Bullet points marked with ● may be reintroduced eventually, but this will

src/nb_internals.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
/// Tracks the ABI of nanobind
1919
#ifndef NB_INTERNALS_VERSION
20-
# define NB_INTERNALS_VERSION 9
20+
# define NB_INTERNALS_VERSION 10
2121
#endif
2222

2323
/// On MSVC, debug and release builds are not ABI-compatible!

0 commit comments

Comments
 (0)