Releases: databento/dbn
Releases · databento/dbn
0.8.0
Release notes
Enhancements
- Switched from
anyhow::Errorto customdbn::Errorfor all public fallible functions
and methods. This should make it easier to disambiguate between error types. EncodeDbn::encode_recordandEncodeDbn::record_record_refno longer treat a
BrokenPipeerror differently- Added
AsyncDbnDecoder - Added
pretty::Pxandpretty::Tsnewtypes to expose price and timestamp formatting
logic outside of CSV and JSON encoding - Added interning for Python strings
- Added
rtypeto 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::Errorinstead of ananyhow::Error - Updated serialization order to serialize
ts_recvandts_eventfirst - Moved header fields (
rtype,publisher_id,instrument_id, andts_event) to
nested object under the keyhdin JSON encoding to match structure definitions - Changed JSON encoding of all 64-bit integers to strings to avoid loss of precision
- Updated
MboMsgserialization order to serializeaction,side, andchannel_id
earlier given their importance - Updated
Mbp1Msg,Mbp10Msg, andTradeMsgserialization order to serialize
action,side, anddepthearlier given their importance - Updated
InstrumentDefMsgserialization order to serializeraw_symbol,
security_update_action, andinstrument_classearlier given their importance - Removed
boolreturn value fromEncodeDbn::encode_recordand
EncodeDbn::record_record_ref. These now returndbn::Result<()>.
Bug fixes
- Fixed handling of NUL byte when encoding DBN to CSV and JSON
- Fixed handling of broken pipe in
dbnCLI tool
0.7.1
Release notes
- Added Python
variantsmethod to return an iterator over the enum variants for
Compression,Encoding,Schema, andSType - Improved Python enum conversions for
Compression,Encoding,Schema, andSType
0.7.0
Release notes
- Added publishers enums
- Added export to Python for
Compression,Encoding,SType, andSchema
enums - Added async JSON encoder
- Fixed pretty timestamp formatting to match API
- Improved Python string representation of
ErrorMsgandSystemMsg - Dropped support for Python 3.7
0.6.1
v0.6.1 Released version 0.6.1
0.6.0
v0.6.0 Released version 0.6.0
0.5.1
v0.5.1 Released version 0.5.1
0.5.0
v0.5.0 Released version 0.5.0
0.4.3
v0.4.3 Released version 0.4.3
0.4.2
v0.4.2 Released version 0.4.2
0.4.1
v0.4.1 Released version 0.4.1