@@ -25,7 +25,8 @@ Version 2.2.0 (TBA)
25
25
fine-grained locking scheme (see `PEP 703
26
26
<https://peps.python.org/pep-0703/> `__) to better leverage multi-core
27
27
parallelism. A `separate documation page <free-threading >`__ explains this in
28
- detail.
28
+ detail. (PRs `#695 <https://github.com/wjakob/nanobind/pull/720 >`__, `#720
29
+ <https://github.com/wjakob/nanobind/pull/720> `__)
29
30
30
31
- nanobind has always used `PEP 590 vector calls
31
32
<https://www.python.org/dev/peps/pep-0590> `__ to efficiently dispatch calls
@@ -41,11 +42,16 @@ Version 2.2.0 (TBA)
41
42
`#0acecb4 <https://github.com/wjakob/nanobind/commit/0acecb474874f286119dce2b97b84142b6ada1a8 >`__).
42
43
43
44
* A new :cpp:class: `nb::is_flag() <is_flag> ` annotation in
44
- :cpp:class: `nb::enum_\< T\> () <enum_> ` produces enumeration bindings deriving
45
- from :py:class: `enum.Flag `, which enables bit-wise combination using compatible
46
- operators (``& ``, ``| ``, ``^ ``, and ``~ ``). Further combining the annotation
47
- with :cpp:class: `nb::is_arithmetic() <is_flag> ` creates enumerations deriving
48
- from :py:class: `enum.IntFlag `.
45
+ :cpp:class: `nb::enum_\< T\> () <enum_> ` produces enumeration
46
+ bindings deriving from :py:class: `enum.Flag `, which enables
47
+ bit-wise combination using compatible operators (``& ``, ``| ``,
48
+ ``^ ``, and ``~ ``). Further combining the annotation with
49
+ :cpp:class: `nb::is_arithmetic() <is_flag> ` creates
50
+ enumerations deriving from :py:class: `enum.IntFlag `. (PRs
51
+ `#688 <https://github.com/wjakob/nanobind/pull/688 >`__,
52
+ `#688 <https://github.com/wjakob/nanobind/pull/688 >`__,
53
+ `#727 <https://github.com/wjakob/nanobind/pull/727 >`__,
54
+ `#732 <https://github.com/wjakob/nanobind/pull/732 >`__)
49
55
50
56
* A refactor of :cpp:class: `nb::ndarray\< ...\> <ndarray> ` was an opportunity to
51
57
realize two usability improvements:
@@ -103,8 +109,13 @@ Version 2.2.0 (TBA)
103
109
which previously did nothing, now accepts C- or F-contiguous arrays and
104
110
rejects non-contiguous ones.
105
111
112
+ PR `#721 <https://github.com/wjakob/nanobind/pull/721 >`__
113
+ and commit `4647ef
114
+ <https://github.com/wjakob/nanobind/commit/4647efcc45d96e530d41a3461cd9727656bc2ca3> `__.
115
+
106
116
- The NVIDIA CUDA compiler (``nvcc ``) is now explicitly supported and included
107
- in nanobind's CI test suite.
117
+ in nanobind's CI test suite (PR `#710
118
+ <https://github.com/wjakob/nanobind/pull/710> `__).
108
119
109
120
* Added support for return value policy customization to the type casters of
110
121
``Eigen::Ref<...> `` and ``Eigen::Map<...> `` (commit `67316e
@@ -137,10 +148,13 @@ Version 2.2.0 (TBA)
137
148
138
149
* ABI version 15.
139
150
140
- * Minor fixes and improvements (PR `#696
141
- <https://github.com/wjakob/nanobind/pull/696> `__, `#693
142
- <https://github.com/wjakob/nanobind/pull/693> `__, commit `75d259
143
- <https://github.com/wjakob/nanobind/commit/75d259c7c16db9586e5cd3aa4715e09a25e76d83> `__).
151
+ * Minor fixes and improvements (PRs
152
+ `#722 <https://github.com/wjakob/nanobind/pull/722 >`__,
153
+ `#24 <https://github.com/wjakob/nanobind/pull/724 >`__,
154
+ `#715 <https://github.com/wjakob/nanobind/pull/715 >`__,
155
+ `#696 <https://github.com/wjakob/nanobind/pull/696 >`__,
156
+ `#693 <https://github.com/wjakob/nanobind/pull/693 >`__,
157
+ commit `75d259 <https://github.com/wjakob/nanobind/commit/75d259c7c16db9586e5cd3aa4715e09a25e76d83 >`__).
144
158
145
159
Version 2.1.0 (Aug 11, 2024)
146
160
----------------------------
@@ -194,7 +208,7 @@ Version 2.1.0 (Aug 11, 2024)
194
208
function (commit `91fafa5
195
209
<https://github.com/wjakob/nanobind/commit/01fafa5b9e1de0f1ab2a9d108cd0fce20ab9568f> `__).
196
210
197
- * Various minor ``stubgen `` fixes (PR
211
+ * Various minor ``stubgen `` fixes (PRs
198
212
`#667 <https://github.com/wjakob/nanobind/pull/667 >`__,
199
213
`#658 <https://github.com/wjakob/nanobind/pull/658 >`__,
200
214
`#632 <https://github.com/wjakob/nanobind/pull/632 >`__,
0 commit comments