github pybind/pybind11 v3.0.4
Version 3.0.4

11 hours ago

Bug fixes:

  • Fixed test builds with installed Eigen 5 by improving Eigen3 CMake package detection.
    #6036

  • Fixed move semantics of scoped_ostream_redirect to preserve buffered output and avoid crashes when moved redirects restore stream buffers.
    #6033

  • Fixed py::dynamic_attr() traversal on Python 3.13+ to correctly propagate PyObject_VisitManagedDict() results.
    #6032

  • Fixed std::shared_ptr<T> fallback casting to avoid unnecessary copy-constructor instantiation in reference_internal paths.
    #6028

CI:

  • Updated setup-uv to the maintained GitHub Action tag scheme.
    #6035

  • Updated pre-commit hooks.
    #6029

  • Updated GitHub Actions dependencies, including actions-setup-cmake and cibuildwheel.
    #6027

Don't miss a new pybind11 release

NewReleases is sending notifications on new releases.