Releases: databento/databento-rs
Releases · databento/databento-rs
0.43.0
Release notes
Enhancements
- Upgraded DBN version to 0.51.0:
- Added logic to set
codewhen upgrading version 1ErrorMsgto newer versions - Upgraded
async-compressiondependency version to 0.4.41 - Upgraded
timeversion to 0.3.47 - Fixed miri issue with potential for unaligned data when decoding DBN through
DbnFsm
- Added logic to set
0.42.0
Release notes
Enhancements
- Upgraded DBN version to 0.50.0:
- Added
SkippedRecordsAfterSlowReadingto theErrorCodeenum for gateway errors
originating from slow client catch-up
- Added
- Upgraded reqwest version to 0.13
0.41.0
Release notes
Enhancements
- Added three new methods to the Live client for more control over when I/O occurs. Together
they provide an alternative tonext_record():fill_buf(): reads available data from the socket into the internal buffer without
processing recordstry_next_record(): returns the next record from the internal buffer without
performing any I/O. ReturnsOk(None)if no complete records are available in the buffer.is_closed(): returns whether the connection has been closed
- Added
SlowReaderBehaviorenum andslow_reader_behavior()setter on the live client builder to configure
gateway behavior when client falls behind - Added
slow_reader_behavior()getter toLiveClient - Upgraded DBN version to 0.49.0:
- Added
encode_recordstoEncodeRecordandAsyncEncodeRecordtraits for more
efficient batch encoding - Added
encode_record_refstoEncodeRecordRefandAsyncEncodeRecordReftraits with
more efficient vectored I/O implementation for DBN
- Added
Breaking changes
- From DBN:
- Moved
encode_recordsmethod from theEncodeDbntrait toEncodeRecord
- Moved
0.40.0
Release notes
Enhancements
- Added support for using compression in the live API:
- Added
compression()setter on the live client builder - Added
compression()getter on the live client
- Added
- A new
Unknown(String)variant was added to the reference data enumsCountry,
Currency,Event, andEventSubType. This allows for forward compatibility when
new variants are added - Upgraded DBN version to 0.48.0:
- Added initial support for splitting DBN files
- Added new publisher for Blue Ocean ATS (
OCEA_MEMOIR_OCEA)
- Added
http_client_buildermethod to the reference and historical client builders
to allow more customization over the HTTP client used - Improved logging in Historical and Reference APIs
- The following reference data enums now implement
Display:CountryCurrencyEventEventSubTypeFrequencyOutturnStyleSecurityType
Breaking changes
- Refactor
live::protocolmessages to implement a newRawApiMsgtrait - Move optional session parameters into
SessionOptionsstruct which implements
Default - As part of adding the new variant to the four reference data enums:
Country,Currency,Event, andEventSubTypeare no longerCopy- The
Errortype of theFromStrimplementation was changed toInfallible: any
unknown string will be parsed to theUnknownvariant - The
as_strmethod on these enums was removed: useas_refinstead
Eventhas been marked non-exhaustivehistorical::ClientBuilderandreference::ClientBuilderare no longerClone
Bug fixes
- From DBN:
- Fixed issue where
AsyncDynReaderinstances created fromwith_buffer()would only
decode the first frame of multi-frame Zstandard files
- Fixed issue where
0.39.0
Release notes
Enhancements
- Upgraded DBN version to 0.47.0:
- Added new off-market publisher for Cboe Futures Exchange (
XCBF_PITCH_XOFF) - Added new
StatTypevariants to be used byXCBF.PITCHdataset:UpperPriceLimitLowerPriceLimitBlockVolumeVenueSpecificVolume1
- Upgraded
timeversion to 0.3.45
- Added new off-market publisher for Cboe Futures Exchange (
- Improved documentation of heartbeat intervals
0.38.0
Release notes
Breaking changes
- Changed
Error::BadArgument::param_namefrom aStringto a&'static str
Bug fixes
- Fixed panic on failed write during authentication
0.37.0
Release notes
Enhancements
- Added optional
chronofeature for convertingchronodate and datetime types to
DateRange,DateTimeRange, andSubscription::start(credit: @wtn) - Upgraded DBN version to 0.45.0:
- Added new venue, dataset, and publisher for Cboe Futures Exchange (
XCBF.PITCH)
- Added new venue, dataset, and publisher for Cboe Futures Exchange (
Breaking changes
- Changed the default to
truefor themap_symbolsparameter in
SubmitJobParams::builder()for JSON and CSV encodings - Moved
DateTimeLiketrait to top level
Bug fixes
- Fixed checksum verification for resumed downloads in
batch().download(). Previously,
it would erroneously fail
0.36.0
Release notes
Enhancements
- Added support for using built-in range syntax for specifying date and datetime ranges
in the historical API, e.g.date!(2020-01-01)..=date!(2020-12-31) - Changed
metadata().get_dataset_range(),metadata().list_schemas(), and
metadata().list_unit_prices()to accept anyimpl AsRef<str>as the dataset
parameter - Upgraded DBN version to 0.44.0:
- Added logic to set
codewhen upgrading version 1SystemMsgto newer versions - Added
Dataset::publishers()method to retrieve allPublishervalues for a
dataset
- Added logic to set
Breaking changes
- Updated the minimum supported
tokioversion to 1.41, which was released one year ago - Made reference enums
Country,Currency, andEventSubTypenon-exhaustive - Removed variants from
CountryandCurrencythat were not present in any data - Added more variants to
EventSubType
0.35.0
Release notes
Enhancements
- Initial release with Reference API support
- Upgraded DBN version to 0.43.0:
- Added explicit
Unsetvariant forSystemCodeandErrorCode - Added
Defaultimplementation forSystemCodeandErrorCode
- Added explicit
0.34.1
Release notes
Enhancements
- Upgraded DBN version to 0.42.0
Bug fixes
- Fixed visibility of fields in
DateRangeandDateTimeRange
Release notes
Enhancements
- Initial release with Reference API support