Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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<T>` 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

4 changes: 2 additions & 2 deletions autowrap/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__