Releases: databento/dbn
Releases · databento/dbn
0.22.0
Release notes
Enhancements
- Added Python type stubs for Record
__init__methods
Breaking changes
- Combine
_reserved3and_reserved4fields inCbboMsg - Changed setters for
charRecord fields to accept a single-character strings - Changed
rtypeandlengthto no longer be settable from Python. Users should
use the Record type__init__methods to initialize records
Bug fixes
- Added missing Python type stub for
CMBP_1variant inSchema
0.21.0
Release notes
Enhancements
- Added
--omit-headeroption todbnCLI to skip encoding the header row when
encoding CSVs - Added Python setter for
ts_eventon all records - Upgraded
pyo3version to 0.22.3 - Added new consolidated publishers for
XNAS.BASICandDBEQ.MAX
Breaking changes
- Changed handling of
write_headerparameter forCsvEncoderandDynEncoder. It
now determines whether a header is written automatically in general, not only during
instantiation of the encoder. This makes it possible to useencode_recordsand
encode_decodedwithout writing a header CsvEncoder::newcreates 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 rowschemais now always optional for theCsvEncoderbuilder and no longer returns aResult- Changed the layout of
CbboMsgto better matchBboMsg - Renamed
Schema::CbbotoSchema::Cmbp1
Bug fixes
- Removed
debug_assert!onrtypeinRecordRef::get_uncheckedthat 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
0.20.1
Release notes
Enhancements
- Added
DynAsyncBufWriterfor buffering compressed or uncompressed async output - Added new publisher values for
XCIS.BBOTRADESandXNYS.BBOTRADES
Bug fixes
- Added missing Python type stub for
pretty_ts_refinStatMsg
0.20.0
Release notes
Enhancements
- Added new
STypevariants for reference data:Isin,UsCode,BbgCompId,BbgCompTicker,Figi,FigiTicker - Added new publisher value for
DBEQ.SUMMARY
Breaking changes
- Renamed
SType::Nasdaqvariant toSType::NasdaqSymbol - Renamed
SType::Cmsvariant toSType::CmsSymbol
0.19.2
Release notes
Bug fixes
- Fixed issue where
AsyncDynReaderwould only decode the first frame of multi-frame
Zstandard files
0.19.1
Release notes
Bug fixes
- Update
rtype_dispatchandschema_dispatchmacros forBboMsg - Update
RecordEnumandRecordRefEnumforBboMsg
0.19.0
Release notes
Enhancements
- Added
BboMsgrecord struct for futurebbo-1mandbbo-1sschemas - Upgraded
pyo3version to 0.22.1 - Upgraded
json-writerto 0.4
Breaking changes
- Added
Defaulttrait implementation forMbp1Msgdue to it no longer needing
to support multiplertypevalues. Thedefault_for_schemafunction has been removed - Changed
Bbo1sMsgandBbo1mMsgto be aliases forBboMsg - Changed the default value of the
sidefields toSide::None - Reordered parameters and added defaults to Python
Metadatainitializer to match
required arguments in Rust
0.18.3
Release notes
Bug fixes
- Fixed issue where DBN encoders would permit symbols in the metadata that left no space
for a null terminator - Updated metadata length calculation to respect
symbol_cstr_lenfield rather than
inferring the length fromversion
0.18.2
Release notes
Enhancements
- Added new
shutdownmethod to async encoders to more easily ensure the end
of output is written and I/O cleaned up. Previously this required a call to
.get_mut().shutdown().await - Changed
AsyncDynWriterandAsyncDbnEncoder::with_zstdto use a zstd checksum like
the sync equivalents - Added new publisher values for
XNAS.BASICandXNAS.NLS
Bug fixes
- Fixed bug where DBN metadata would still be upgraded after passing
AsIsto
DbnDecoder::set_upgrade_policyandAsyncDbnDecoder::set_upgrade_policy
0.18.1
Release notes
Enhancements
- Added new
stat_typefor UncrossingPrice - Added new publisher values for
XNAS.BASIC - Added new off-market publisher values for
IFEU.IMPACTandNDEX.IMPACT
Bug fixes
- Fix descriptions for
FINNandFINYpublishers.