Skip to content

0.21.0

Compare
Choose a tag to compare
@github-actions github-actions released this 24 Sep 18:43
· 51 commits to main since this release
d1aa0f7

Release notes

Enhancements

  • Added --omit-header option to dbn CLI to skip encoding the header row when
    encoding CSVs
  • Added Python setter for ts_event on all records
  • Upgraded pyo3 version to 0.22.3
  • Added new consolidated publishers for XNAS.BASIC and DBEQ.MAX

Breaking changes

  • Changed handling of write_header parameter for CsvEncoder and DynEncoder. It
    now determines whether a header is written automatically in general, not only during
    instantiation of the encoder. This makes it possible to use encode_records and
    encode_decoded without writing a header
  • CsvEncoder::new creates an encoder that will always try to write a header. Use the builder with
    write_header(false) to create an encoder that won't write a header row
  • schema is now always optional for the CsvEncoder builder and no longer returns a Result
  • Changed the layout of CbboMsg to better match BboMsg
  • Renamed Schema::Cbbo to Schema::Cmbp1

Bug fixes

  • Removed debug_assert! on rtype in RecordRef::get_unchecked that was too strict.
    The method is already marked unsafe and it's okay to interpret one record type as another type
    as long as latter type's size is not greater than the former's