Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "databento"
authors = ["Databento <support@databento.com>"]
version = "0.48.0"
version = "0.49.0"
edition = "2021"
repository = "https://github.com/databento/databento-rs"
description = "Official Databento client library"
Expand Down Expand Up @@ -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"] }
Expand Down
4 changes: 4 additions & 0 deletions src/historical/batch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,8 @@ pub enum SplitDuration {
Week,
/// One file per month.
Month,
/// One file per year.
Year,
/// No time-based splitting.
None,
}
Expand Down Expand Up @@ -569,6 +571,7 @@ impl SplitDuration {
SplitDuration::Day => "day",
SplitDuration::Week => "week",
SplitDuration::Month => "month",
SplitDuration::Year => "year",
SplitDuration::None => "none",
}
}
Expand All @@ -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",
Expand Down
Loading