From 8d7f1ee0621c17fa370b704b2100ffa0243d5bfb Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Thu, 23 May 2024 16:30:00 +0200 Subject: [PATCH] v2.0.0 release --- docs/changelog.rst | 4 ++-- include/nanobind/nanobind.h | 6 +++--- src/__init__.py | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 68d70de1..34e7feb2 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -15,8 +15,8 @@ case, both modules must use the same nanobind ABI version, or they will be isolated from each other. Releases that don't explicitly mention an ABI version below inherit that of the preceding release. -Version 2.0.0 (TBA) -------------------- +Version 2.0.0 (May 23, 2024) +---------------------------- The 2.0.0 release of nanobind is entirely dedicated to *types* [#f1]_! The project has always advertised seamless Python ↔ C++ interoperability, and this diff --git a/include/nanobind/nanobind.h b/include/nanobind/nanobind.h index 1e6f6cfd..e16fc805 100644 --- a/include/nanobind/nanobind.h +++ b/include/nanobind/nanobind.h @@ -21,9 +21,9 @@ # pragma warning(disable: 4251) // [..] needs to have a dll-interface to be used by clients of class [..] #endif -#define NB_VERSION_MAJOR 1 -#define NB_VERSION_MINOR 9 -#define NB_VERSION_PATCH 2 +#define NB_VERSION_MAJOR 2 +#define NB_VERSION_MINOR 0 +#define NB_VERSION_PATCH 0 // Core C++ headers that nanobind depends on #include diff --git a/src/__init__.py b/src/__init__.py index 1694d374..76539c37 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -12,7 +12,7 @@ def cmake_dir() -> str: "Return the path to the nanobind CMake module directory." return os.path.join(os.path.abspath(os.path.dirname(__file__)), "cmake") -__version__ = "1.9.2" +__version__ = "2.0.0" __all__ = ( "__version__",