- Update Cython to 3.0.10 to reduce C warnings and future support for Python 3.13.
- Stop using C++ mode in Cython to reduce compile error on some compilers.
Packer()
hasbuf_size
option to specify initial size of internal buffer to reduce reallocation.- The default internal buffer size of Packer() is reduced from 1MiB to 256KiB to optimize for common use cases. Use
buf_size
if you are packing large data. - Timestamp.to_datetime() and Timestamp.from_datetime() become more accurate by avoiding floating point calculations. (#591)
- The Cython code for Unpacker has been slightly rewritten for maintainability.
- The fallback implementation of Packer() and Unpacker() now uses keyword-only arguments to improve compatibility with the Cython implementation.
PRs
- Avoid using floating points during timestamp-datetime conversions by @hakanakyurek in #591
- use ruff instead of black by @methane in #598
- update Cython and setuptools by @methane in #599
- Add experimental support for Python 3.13 by @methane in #600
- update README by @methane in #561
- update cibuildwheel to 2.17 by @methane in #601
- implement buffer protocol by @methane in #602
- Remove unused code by @methane in #603
- packer: add
buf_size
option by @methane in #604 - update readme by @methane in #605
- cython: better exception handling by @methane in #606
- better error checks by @methane in #607
- Cleanup code and pyproject by @methane in #608
- Release v1.1.0rc1 by @methane in #609
- do not install cython as build dependency by @methane in #610
New Contributors
- @hakanakyurek made their first contribution in #591
Full Changelog: v1.0.8...v1.1.0rc1