Skip to content

Commit d2b6262

Browse files
committed
VER: Release 0.30.0
1 parent afd46aa commit d2b6262

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 0.30.0 - 2025-07-22
4+
5+
### Breaking changes
6+
- Upgraded DBN version to 0.38.0:
7+
- Renamed `Compression::ZStd` to `Zstd` for consistency
8+
39
## 0.29.0 - 2025-07-15
410

511
### Breaking changes

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "databento"
33
authors = ["Databento <support@databento.com>"]
4-
version = "0.29.0"
4+
version = "0.30.0"
55
edition = "2021"
66
repository = "https://github.com/databento/databento-rs"
77
description = "Official Databento client library"
@@ -31,7 +31,7 @@ historical = [
3131
live = ["dep:hex", "dep:sha2", "tokio/net"]
3232

3333
[dependencies]
34-
dbn = { version = "0.37.0", features = ["async", "serde"] }
34+
dbn = { version = "0.38.0", features = ["async", "serde"] }
3535

3636
async-compression = { version = "0.4", features = ["tokio", "zstd"], optional = true }
3737
# Async stream trait

src/historical/batch.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,8 @@ pub struct SubmitJobParams {
253253
/// The data encoding. Defaults to [`Dbn`](Encoding::Dbn).
254254
#[builder(default = Encoding::Dbn)]
255255
pub encoding: Encoding,
256-
/// The data compression mode. Defaults to [`ZStd`](Compression::ZStd).
257-
#[builder(default = Compression::ZStd)]
256+
/// The data compression mode. Defaults to [`Zstd`](Compression::Zstd).
257+
#[builder(default = Compression::Zstd)]
258258
pub compression: Compression,
259259
/// If `true`, prices will be formatted to the correct scale (using the fixed-
260260
/// precision scalar 1e-9). Only valid for [`Encoding::Csv`] and [`Encoding::Json`].
@@ -784,7 +784,7 @@ mod tests {
784784
let res: Vec<Test> = serde_json::from_str(JSON).unwrap();
785785
assert_eq!(
786786
res.into_iter().map(|t| t.compression).collect::<Vec<_>>(),
787-
vec![Compression::None, Compression::None, Compression::ZStd]
787+
vec![Compression::None, Compression::None, Compression::Zstd]
788788
);
789789
}
790790
}

src/historical/timeseries.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ impl TimeseriesClient<'_> {
123123
("dataset", dataset.to_owned()),
124124
("schema", schema.to_string()),
125125
("encoding", Encoding::Dbn.to_string()),
126-
("compression", Compression::ZStd.to_string()),
126+
("compression", Compression::Zstd.to_string()),
127127
("stype_in", stype_in.to_string()),
128128
("stype_out", stype_out.to_string()),
129129
("symbols", symbols.to_api_string()),

0 commit comments

Comments
 (0)