diff --git a/CHANGELOG.md b/CHANGELOG.md index 5411d52..27ddc85 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1 +1,21 @@ -autowrap 0.24.1 +autowrap 0.25.0 + +NumPy Integration: + +- Added buffer protocol wrappers for numpy integration with zero-copy + support for const reference and value returns +- Added `libcpp_vector_as_np` conversion provider for fast numpy array + interop using memcpy instead of element-by-element conversion +- ArrayWrapper classes now support additional integer array types + (Int8-64, UInt8-64) with extra methods (`__init__(size)`, `resize()`, `size()`) + +New Features: + +- Added `wrap-len` annotation for automatic `__len__()` method generation + on C++ container classes. Supports `size()`, `length()`, `count()`, and + `getSize()` method names +- Added `wrap-hash: std` directive to use C++ `std::hash` specializations + directly for Python `__hash__()` generation +- Fixed ArrayWrapper inlining to place wrappers only in `.pyx` files, + preventing conflicts with user-defined ArrayWrappers in `.pxd` files + diff --git a/autowrap/version.py b/autowrap/version.py index 814b1d9..70b90eb 100644 --- a/autowrap/version.py +++ b/autowrap/version.py @@ -30,10 +30,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. """ -__version__ = "0.24.1" +__version__ = "0.25.0" # For backward compatibility with older code expecting tuple format -__version_tuple__ = (0, 24, 1) +__version_tuple__ = (0, 25, 0) # for compatibility with older version: version = __version_tuple__