Releases: databento/databento-rs
Releases · databento/databento-rs
0.22.0
Release notes
- Added an implementation
From<Date>forDateRangeandDateTimeRangeto make it
simpler to request a single full day's worth of data - Added conversions between
DateRangeandDateTimeRange - Added conversions from
timeseries::GetRangeParams,timeseries::GetRangeToFileParams,
anddbn::Metadatatosymbology::ResolveParams - Upgraded DBN version to 0.31.0:
- Added support for mapping symbols from instrument definitions to
PitSymbolMap
with a newon_instrument_def()method - Added instrument definition compatibility trait
InstrumentDefRecfor generalizing
across different versions of the instrument definition record - Added
OrdandPartialOrdimplementations for all enums andFlagSetto allow
for use in ordered containers likeBTreeMap - Added
decode_records()method toAsyncDbnDecoderandAsyncDbnRecordDecoder
which is similar to the sync decoder methods of the same name - Removed deprecated
datasetmodule. The top-levelDatasetenum and itsconstas_str()
method provide the same functionality for all datasets - Removed deprecated
SymbolIndex::get_for_rec_ref()method
- Added support for mapping symbols from instrument definitions to
0.21.0
Release notes
Enhancements
- Improved error when calling
LiveClient::next_record()on an instance that hasn't
been started - Improved error when calling
LiveClient::start()on an instance that has already
been started - Upgraded DBN version to 0.29.0:
0.20.0
Release notes
Enhancements
- Added
LiveClient::reconnect()andLiveClient::resubscribe()methods to make it easier
to resume a live session after losing the connection to the live gateway - Added
subscriptions()andsubscriptions_mut()getters toLiveClientfor getting all
active subscriptions - Added
shutdown()method tolive::Protocolto clean up the active session - Downgraded to tracing span level on
LiveClient::next_record()to "debug" to reduce
performance impact - Added
From<&[&str]>andFrom<[str; N]>implementations forSymbols
Breaking changes
- Changed
LiveClient::close()to take&mut selfrather than an owned value toselfnow
that clients can be reused through thereconnect()method - Changed
LiveClient::subscribe()to take aSubscriptionparameter rather than a
&Subscriptionbecause it will now store theSubscriptionstruct internally - Upgraded DBN version to 0.28.0:
- Added
CommoditySpotInstrumentClassvariant and madeInstrumentClass
non-exhaustive to allow future additions without breaking changes
- Added
0.19.0
Release notes
Enhancements
- Upgraded DBN version to 0.27.0:
- Updated enumerations for unreleased US equities datasets and publishers
- Added new venue
EQUSfor consolidated US equities - Added new dataset
EQUS.MINIand new publishersEQUS.MINI.EQUSand
XNYS.TRADES.EQUS
Bug fixes
- Changed historical metadata methods with
symbolsparameter to use aPOSTrequest
to allow for requesting supported maximum of 2000 symbols
0.18.0
Release notes
Enhancements
- Upgraded DBN version to 0.26.0:
- Added
v3namespace in preparation for future DBN version 3 release. DBN version 2
remains the current and default version - Added
v3::InstrumentDefMsgrecord with new fields to support normalizing multi-leg
strategy definitions- Removal of statistics-schema related fields
trading_reference_price,
trading_reference_date, andsettl_price_type - Removal of the status-schema related field
md_security_trading_status
- Removal of statistics-schema related fields
- Added initial support for merging DBN:
- Decoding streams:
MergeDecoderandMergeRecordDecoderstructs - Metadata:
MergeDecoderstruct andMetadata::merge()method - In the CLI: specify more than one input file to initiate a merge
- Decoding streams:
- Eliminated
unsafeinFromimplementations for record structs from different versions
- Added
0.17.0
Release notes
Enhancements
- Upgraded DBN version to 0.25.0:
- Added
v1andv2namespaces in DBN to allow unambiguously referring to the record
types for a given DBN version regardless of whether the record type has changed - Changed
dataset()method onMetadataBuilderto accept animpl ToStringso now
Datasetand&strcan be passed directly - Changed async DBN decoding to return
Ok(None)when an incomplete record remains in
the stream. This matches the existing behavior of sync DBN decoding
- Added
- Upgraded
thiserrorversion to 2.0
Breaking changes
- Removed deprecated
Packagingenum andpackagingfield that's no longer supported
by the API - As part of the DBN version upgrade:
VersionUpgradePolicy::Upgradewas renamed toUpgradeToV2- Changed async DBN decoding to return
Ok(None)when an incomplete record remains in
the stream
0.16.0
Release notes
Enhancements
- Upgraded DBN version to 0.23.1:
- Added floating-point getters for price fields
- Added new IntelligentCross venues
ASPN,ASMT, andASPI - Upgraded
thiserrorversion to 2.0
Deprecations
- Deprecated
Packagingenum andpackagingfield onSubmitJobParamsandBatchJob.
These will be removed in a future version. All files from a batch job can be downloaded
with thebatch().download()method on the historical client
Release notes
Enhancements
- Upgraded DBN version to 0.25.0:
- Added
v1andv2namespaces in DBN to allow unambiguously referring to the record
types for a given DBN version regardless of whether the record type has changed - Changed
dataset()method onMetadataBuilderto accept animpl ToStringso now
Datasetand&strcan be passed directly - Changed async DBN decoding to return
Ok(None)when an incomplete record remains in
the stream. This matches the existing behavior of sync DBN decoding
- Added
- Upgraded
thiserrorversion to 2.0
Breaking changes
- Removed deprecated
Packagingenum andpackagingfield that's no longer supported
by the API - As part of the DBN version upgrade:
VersionUpgradePolicy::Upgradewas renamed toUpgradeToV2- Changed async DBN decoding to return
Ok(None)when an incomplete record remains in
the stream
0.15.0
Release notes
Enhancements
- Upgraded DBN version to 0.23.0:
- Added new
NoneActionvariant that will be gradually rolled out
to historical and liveGLBX.MDP3data - Added consistent escaping of non-printable and non-ASCII values when text encoding
c_charfields - Implemented
DefaultforActionandSide - Implemented missing
Serializefor (withserdefeature enabled) forVenue,
Dataset,Publisher,Compression,SType,Schema, andEncoding
- Added new
0.14.1
Release notes
Enhancements
- Upgraded DBN version to 0.22.1:
- Fixed buffer overrun
- Combined
_reserved3andreserved4fields inCbboMsg
0.14.0
Release notes
Enhancements
- Made several previously internal functions public to allow advanced users more
customization and piecemeal usage of the live API:ApiKeySymbols::to_chunked_api_string()live::protocolmodule containing implementations of the raw API messages
- Changed from
logcrate totracingfor better diagnostics - Upgraded DBN version to 0.22.0 for combined
_reserved3and
_reserved4fields inCbboMsg