Skip to content

Releases: nicholasjng/nanobind-bazel

v2.2.0

19 Oct 08:28
87ce5fd
Compare
Choose a tag to compare

NB: Re-released due to a Bazel 6.x breakage from an unnecessary rules_cc update.

This release bumps nanobind to v2.2.0, which contains support for extension builds targeting free-threaded interpreters (Python 3.13+ only).

It also reverts semantic versioning again to match nanobind's, since the decoupling was too unexpected for library users (and versions were never off by one minor, anyway, as nanobind does not release that often). In short, from this release on, [email protected] bootstraps nanobind==X.Y.Z by default.

What's Changed

Full Changelog: v2.1.0...v2.2.0

v2.1.0

25 Jul 08:18
Compare
Choose a tag to compare

This release adds the nanobind_shared_library and nanobind_stubgen rules/macros, to allow C++ shared libraries containing a statically linked nanobind and automatic stub generation at build time, respectively.

From now on, users can bazel run //:mypkg/stubgen/target to build an extension and generate stubs for it at the same time. An example of this is given in the nanobind example.

Note: The nanobind_stubgen() rule can be considered experimental at this point. In particular, pattern files and non-standard output paths have not yet been exhaustively tested. Please raise an issue to report any bugs you experience with it!

What's Changed

Full Changelog: v2.0.0...v2.1.0

v2.0.0

28 May 11:17
Compare
Choose a tag to compare

This release enables building nanobind extensions in Bazel for nanobind v2.0.0, which was released recently.

Right now, stubgen is not yet implemented, since some questions around how to incorporate it into the build defs still linger.

v1.0.0

08 Apr 13:13
d3ff4e8
Compare
Choose a tag to compare

The first stable release of nanobind-bazel. Mirrors nanobind@v1 builds.