Skip to content

Commit c77e650

Browse files
committed
v2.6.0 release
1 parent 10eafbc commit c77e650

File tree

4 files changed

+21
-5
lines changed

4 files changed

+21
-5
lines changed

docs/changelog.rst

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ 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-
Upcoming version (TBA)
19-
----------------------
18+
Version 2.6.0 (Mar 28, 2025)
19+
----------------------------
2020

2121
- nanobind assigns an ABI tag to compiled extensions and uses it to isolate
2222
incompatible extensions from each other. This tag was unnecessarily
@@ -25,8 +25,24 @@ Upcoming version (TBA)
2525
long-standing inconvenience. (PR `#778
2626
<https://github.com/wjakob/nanobind/pull/778>`__).
2727

28+
- Added specialized function dispatchers to accelerate calls to 0 and
29+
1-argument functions. (PR `#944
30+
<https://github.com/wjakob/nanobind/pull/944>`__).
31+
32+
- Improved the efficiency of :cpp:func:`nb::getattr(obj, key,
33+
default) <getattr>` in cases where ``obj[key]`` does exist. (commit
34+
`bb05f5
35+
<https://github.com/wjakob/nanobind/commit/bb05f5503aef9b70498302bf30bf958e8cc605c7>`__).
36+
2837
* ABI version 16.
2938

39+
* Miscellaneous fixes and improvements (PRs `#913
40+
<https://github.com/wjakob/nanobind/pull/913>`__, `#914
41+
<https://github.com/wjakob/nanobind/pull/914>`__, `#916
42+
<https://github.com/wjakob/nanobind/pull/916>`__, `#931
43+
<https://github.com/wjakob/nanobind/pull/931>`__, `#978
44+
<https://github.com/wjakob/nanobind/pull/978>`__, commit `1595d2
45+
<https://github.com/wjakob/nanobind/commit/1595d2d40717d65835ed984b06cfc2b4da0e4858>`__).
3046

3147
Version 2.5.0 (Feb 2, 2025)
3248
---------------------------

include/nanobind/nanobind.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#define NB_VERSION_MAJOR 2
2525
#define NB_VERSION_MINOR 6
2626
#define NB_VERSION_PATCH 0
27-
#define NB_VERSION_DEV 1 // A value > 0 indicates a development release
27+
#define NB_VERSION_DEV 0 // A value > 0 indicates a development release
2828

2929
// Core C++ headers that nanobind depends on
3030
#include <cstddef>

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build"
44

55
[project]
66
name = "nanobind"
7-
version = "2.6.0dev1"
7+
version = "2.6.0"
88
description = "nanobind: tiny and efficient C++/Python bindings"
99
readme.content-type = "text/markdown"
1010
readme.text = """

src/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def cmake_dir() -> str:
1616
"Return the path to the nanobind CMake module directory."
1717
return os.path.join(os.path.abspath(os.path.dirname(__file__)), "cmake")
1818

19-
__version__ = "2.6.0dev1"
19+
__version__ = "2.6.0"
2020

2121
__all__ = (
2222
"__version__",

0 commit comments

Comments
 (0)