- Add support for :ref:`custom-stats`.
- Change the allocate and ready callbacks on
:cpp:class:`spead2::recv::chunk_stream` to take a pointer to the batch
statistics. This is a **backwards-incompatible change** (keep in mind that
chunking receive is still experimental). Code that uses
:cpp:class:`spead2::recv::chunk_ring_stream` is unaffected.
- Change the design of deleters for
:cpp:class:`spead2::memory_allocator`. Code that calls ``get_user`` or
``get_deleter`` on a pointer allocated by spead2 may now get a ``nullptr``
back. Code that uses a custom memory allocator and that calls these
functions on pointers allocated by that allocator should continue to work.
- Allow a ready callback to be used together with
:cpp:class:`spead2::recv::chunk_ring_stream`, to finish preparation of a
chunk before it pushed to the ringbuffer.
- In Python, avoid copying immediate items when given as 0-d arrays with dtype
``>u8``. This makes it practical to pre-define heaps and later update their
values rather than creating new heap objects.
- Make :py:class:`spead2.send.Stream`, :py:class:`spead2.send.SyncStream` and
:py:class:`spead2.send.asyncio.AsyncStream` available for type annotations.
- Fix an occasional segfault when stopping a
:py:class:`spead2.recv.ChunkRingStream`.