From 86e2df8b8fa220738791f4ccbc7cfc11c4d6110a Mon Sep 17 00:00:00 2001 From: Dane Rigby Date: Wed, 22 Apr 2026 12:20:00 -0500 Subject: [PATCH 1/2] ADD: Update clients to support year split --- CHANGELOG.md | 5 +++++ src/historical/batch.rs | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 90d5dc1..fd1ff1c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 0.49.0 - TBD + +### Enhancements +- Added `SplitDuration::Year` for historical batch job submission + ## 0.48.0 - 2026-04-21 ### Enhancements 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", From 3c52915733988fcf9da63b562732d7ba35bf297d Mon Sep 17 00:00:00 2001 From: Carter Green Date: Tue, 28 Apr 2026 15:16:46 -0500 Subject: [PATCH 2/2] VER: Release Rust 0.49.0 --- CHANGELOG.md | 11 ++++++++++- Cargo.toml | 4 ++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd1ff1c..0f77c18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,18 @@ # Changelog -## 0.49.0 - TBD +## 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 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"] }