Skip to content

Commit

Permalink
v1.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
wjakob committed Apr 5, 2023
1 parent 7149459 commit 9ccb980
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
26 changes: 26 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,32 @@ Changelog

nanobind uses a `semantic versioning <http://semver.org>`__ policy.

Version 1.1.0 (April 5, 2023)
-----------------------------

* Added :cpp:func:`size <ndarray::size>`, :cpp:func:`shape_ptr
<ndarray::shape_ptr>`, :cpp:func:`stride_ptr <ndarray::stride_ptr>` members
to to the :cpp:class:`nb::ndarray\<..\> <ndarray>` class. (PR `#161
<https://github.com/wjakob/nanobind/pull/161>`__).
* Allow macros in :c:macro:`NB_MODULE(..) <NB_MODULE>` name parameter. (PR
`#168 <https://github.com/wjakob/nanobind/pull/168>`__).
* The :cpp:class:`nb::ndarray\<..\> <ndarray>` interface is more tolerant when
converting Python (PyTorch/NumPy/..) arrays with a size-0 dimension that have
mismatched strides. (PR `#162
<https://github.com/wjakob/nanobind/pull/162>`__).
* Removed the ``<anonymous>`` label from docstrings of anonymous functions,
which caused issues in MyPy. (PR `#172
<https://github.com/wjakob/nanobind/pull/172>`__).
* Fixed an issue in the propagation of return value policies that broke
user-provided/custom policies in properties (PR `#170
<https://github.com/wjakob/nanobind/pull/170>`__).
* The Eigen interface now converts 1x1 matrices to 1x1 NumPy arrays instead of
scalars. (commit `445781
<https://github.com/wjakob/nanobind/commit/445781fc2cf2fa326cc22e8fd483e8e4a7bf6cf5>`__).
* The ``nanobind`` package now has a simple command line interface. (commit
`d5ccc8
<https://github.com/wjakob/nanobind/commit/d5ccc8844b29ca6cd5188ffd8d16e034bcee9f73>`__).

Version 1.0.0 (March 28, 2023)
-----------------------------

Expand Down
2 changes: 1 addition & 1 deletion include/nanobind/nanobind.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__",
Expand Down

0 comments on commit 9ccb980

Please sign in to comment.