Skip to content

0.52.1

Choose a tag to compare

@github-actions github-actions released this 31 Mar 20:23
· 44 commits to main since this release
3c9465c

Release notes

Enhancements

  • Added __index__ to all int-representable and char-backed Python enums, enabling
    use with int(), hex(), and as sequence indices

Bug fixes

  • Fixed memory leak in Python bindings where every record object leaked ~64 bytes
    due to a pyo3 0.28 regression in #[pyclass(dict)] deallocation. Downgraded
    pyo3 to 0.27.2
  • Removed unnecessary dict from BidAskPair and ConsolidatedBidAskPair Python
    classes
  • Fixed Python type stubs to reflect that record_size() is a method, not a property
  • Fixed Python type stubs for record fields to indicate which fields are writable
    (e.g. publisher_id, instrument_id, price, size) and added @setter stubs
    for enum fields (e.g. action, side)