diff --git a/CHANGELOG.md b/CHANGELOG.md index 90d5dc1..0f77c18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 0.49.0 - 2026-04-29 + +### Enhancements +- Added `SplitDuration::Year` for historical batch job submission +- Upgraded DBN version to 0.56.0: + - Added `DecodeRecordRef::decode_buf_iter()` for lazily iterating owned `RecordBuf`s + via a standard `Iterator` + - Added `AsyncDecodeRecordRef::decode_stream()` for lazily decoding owned `RecordBuf`s + via a `futures::Stream` + - Improved `DbnFsm` decode throughput by making `AlignedBuffer` shifts lazy, + deferring the internal move to buffer refill boundaries + - Added new publisher values for Cboe Titanium Cboe Global Indices Feed + - Added support for splitting files by year to `TimeSplitter` + ## 0.48.0 - 2026-04-21 ### Enhancements diff --git a/Cargo.toml b/Cargo.toml index d2947ad..a9262c3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "databento" authors = ["Databento "] -version = "0.48.0" +version = "0.49.0" edition = "2021" repository = "https://github.com/databento/databento-rs" description = "Official Databento client library" @@ -33,7 +33,7 @@ live = ["tokio/net", "tokio/time"] chrono = ["dep:chrono"] [dependencies] -dbn = { version = "0.55", features = ["async", "serde"] } +dbn = { version = "0.56", features = ["async", "serde"] } async-compression = { version = "0.4", features = ["tokio", "zstd"], optional = true } chrono = { version = ">=0.4.34", optional = true, default-features = false, features = ["alloc"] } diff --git a/src/historical/batch.rs b/src/historical/batch.rs index 7a540ad..8498246 100644 --- a/src/historical/batch.rs +++ b/src/historical/batch.rs @@ -353,6 +353,8 @@ pub enum SplitDuration { Week, /// One file per month. Month, + /// One file per year. + Year, /// No time-based splitting. None, } @@ -569,6 +571,7 @@ impl SplitDuration { SplitDuration::Day => "day", SplitDuration::Week => "week", SplitDuration::Month => "month", + SplitDuration::Year => "year", SplitDuration::None => "none", } } @@ -588,6 +591,7 @@ impl FromStr for SplitDuration { "day" => Ok(SplitDuration::Day), "week" => Ok(SplitDuration::Week), "month" => Ok(SplitDuration::Month), + "year" => Ok(SplitDuration::Year), "none" => Ok(SplitDuration::None), _ => Err(crate::Error::bad_arg( "s",