Skip to content

Releases: databento/dbn

0.8.0

19 Jul 23:01
0134a0f

Choose a tag to compare

Release notes

Enhancements

  • Switched from anyhow::Error to custom dbn::Error for all public fallible functions
    and methods. This should make it easier to disambiguate between error types.
  • EncodeDbn::encode_record and EncodeDbn::record_record_ref no longer treat a
    BrokenPipe error differently
  • Added AsyncDbnDecoder
  • Added pretty::Px and pretty::Ts newtypes to expose price and timestamp formatting
    logic outside of CSV and JSON encoding
  • Added interning for Python strings
  • Added rtype to encoded JSON and CSV to aid differeniating between different record types.
    This is particularly important when working with live data.
  • Added pretty_ Python attributes for DBN price fields
  • Added pretty_ Python attributes for DBN UTC timestamp fields

Breaking changes

  • All fallible operations now return a dbn::Error instead of an anyhow::Error
  • Updated serialization order to serialize ts_recv and ts_event first
  • Moved header fields (rtype, publisher_id, instrument_id, and ts_event) to
    nested object under the key hd in JSON encoding to match structure definitions
  • Changed JSON encoding of all 64-bit integers to strings to avoid loss of precision
  • Updated MboMsg serialization order to serialize action, side, and channel_id
    earlier given their importance
  • Updated Mbp1Msg, Mbp10Msg, and TradeMsg serialization order to serialize
    action, side, and depth earlier given their importance
  • Updated InstrumentDefMsg serialization order to serialize raw_symbol,
    security_update_action, and instrument_class earlier given their importance
  • Removed bool return value from EncodeDbn::encode_record and
    EncodeDbn::record_record_ref. These now return dbn::Result<()>.

Bug fixes

  • Fixed handling of NUL byte when encoding DBN to CSV and JSON
  • Fixed handling of broken pipe in dbn CLI tool

0.7.1

26 Jun 23:36
ff72b89

Choose a tag to compare

Release notes

  • Added Python variants method to return an iterator over the enum variants for
    Compression, Encoding, Schema, and SType
  • Improved Python enum conversions for Compression, Encoding, Schema, and SType

0.7.0

20 Jun 17:30
968b7d7

Choose a tag to compare

Release notes

  • Added publishers enums
  • Added export to Python for Compression, Encoding, SType, and Schema
    enums
  • Added async JSON encoder
  • Fixed pretty timestamp formatting to match API
  • Improved Python string representation of ErrorMsg and SystemMsg
  • Dropped support for Python 3.7

0.6.1

02 Jun 18:54
aca7385

Choose a tag to compare

v0.6.1

Released version 0.6.1

0.6.0

26 May 19:55
2a3b744

Choose a tag to compare

v0.6.0

Released version 0.6.0

0.5.1

05 May 09:31
636c151

Choose a tag to compare

v0.5.1

Released version 0.5.1

0.5.0

25 Apr 21:14
cc605c7

Choose a tag to compare

v0.5.0

Released version 0.5.0

0.4.3

07 Apr 04:20
8d81dd9

Choose a tag to compare

v0.4.3

Released version 0.4.3

0.4.2

06 Apr 23:03
43d6ef6

Choose a tag to compare

v0.4.2

Released version 0.4.2

0.4.1

05 Apr 20:44
eb9d6e9

Choose a tag to compare

v0.4.1

Released version 0.4.1