Skip to content

0.53.0

Choose a tag to compare

@github-actions github-actions released this 07 Apr 17:44
· 38 commits to main since this release
3ba305b

Release notes

Enhancements

  • Made ts_out a permanent field on all Python record types, replacing the
    dynamic __dict__ attribute. ts_out returns an int (UNDEF_TIMESTAMP when
    not set)
  • Removed __dict__ from all Python record classes, eliminating a separate
    per-instance allocation
  • FlagSet setter methods are now const, making it easier to define constants, e.g.
    const FLAGS: FlagSet = FlagSet::empty().set_snapshot().set_last()

Breaking changes

  • record.ts_out now returns UNDEF_TIMESTAMP instead of raising AttributeError
    when ts_out is not set. Code using hasattr(record, "ts_out") should check
    record.ts_out != UNDEF_TIMESTAMP instead
  • bytes(record) now includes the 8-byte ts_out suffix when the record was
    created with ts_out. Code that separately appends ts_out bytes after
    bytes(record) should be updated to avoid double-writing
  • Arbitrary attribute assignment on record instances is no longer supported

Bug fixes

  • Fixed memory leak around ts_out assignment

Release notes

Enhancements

  • Made ts_out a permanent field on all Python record types, replacing the
    dynamic __dict__ attribute. ts_out returns an int (UNDEF_TIMESTAMP when
    not set)
  • Removed __dict__ from all Python record classes, eliminating a separate
    per-instance allocation
  • FlagSet setter methods are now const, making it easier to define constants, e.g.
    const FLAGS: FlagSet = FlagSet::empty().set_snapshot().set_last()

Breaking changes

  • record.ts_out now returns UNDEF_TIMESTAMP instead of raising AttributeError
    when ts_out is not set. Code using hasattr(record, "ts_out") should check
    record.ts_out != UNDEF_TIMESTAMP instead
  • bytes(record) now includes the 8-byte ts_out suffix when the record was
    created with ts_out. Code that separately appends ts_out bytes after
    bytes(record) should be updated to avoid double-writing
  • Arbitrary attribute assignment on record instances is no longer supported

Bug fixes

  • Fixed memory leak around ts_out assignment