diff --git a/docs/changelog.rst b/docs/changelog.rst index 7763195d..57f4592c 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -7,6 +7,32 @@ Changelog nanobind uses a `semantic versioning `__ policy. +Version 1.1.0 (April 5, 2023) +----------------------------- + +* Added :cpp:func:`size `, :cpp:func:`shape_ptr + `, :cpp:func:`stride_ptr ` members + to to the :cpp:class:`nb::ndarray\<..\> ` class. (PR `#161 + `__). +* Allow macros in :c:macro:`NB_MODULE(..) ` name parameter. (PR + `#168 `__). +* The :cpp:class:`nb::ndarray\<..\> ` interface is more tolerant when + converting Python (PyTorch/NumPy/..) arrays with a size-0 dimension that have + mismatched strides. (PR `#162 + `__). +* Removed the ```` label from docstrings of anonymous functions, + which caused issues in MyPy. (PR `#172 + `__). +* Fixed an issue in the propagation of return value policies that broke + user-provided/custom policies in properties (PR `#170 + `__). +* The Eigen interface now converts 1x1 matrices to 1x1 NumPy arrays instead of + scalars. (commit `445781 + `__). +* The ``nanobind`` package now has a simple command line interface. (commit + `d5ccc8 + `__). + Version 1.0.0 (March 28, 2023) ----------------------------- diff --git a/include/nanobind/nanobind.h b/include/nanobind/nanobind.h index a767e8bd..40a9b1fe 100644 --- a/include/nanobind/nanobind.h +++ b/include/nanobind/nanobind.h @@ -22,7 +22,7 @@ #endif #define NB_VERSION_MAJOR 1 -#define NB_VERSION_MINOR 0 +#define NB_VERSION_MINOR 1 #define NB_VERSION_PATCH 0 // Core C++ headers that nanobind depends on diff --git a/src/__init__.py b/src/__init__.py index a8463458..2ed1dfdc 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.0.0" +__version__ = "1.1.0" __all__ = ( "__version__",