Skip to content

Commit a3b3e6d

Browse files
authored
VER: Release 0.39.1
2 parents 8672216 + 999d311 commit a3b3e6d

File tree

27 files changed

+216
-149
lines changed

27 files changed

+216
-149
lines changed

CHANGELOG.md

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

3+
## 0.39.1 - 2025-08-12
4+
5+
### Enhancements
6+
- Added `PUBLISHER_SPECIFIC` flag
7+
- Improved JSON encoding performance
8+
- Added a `Default` implementation for `SecurityUpdateAction`
9+
310
## 0.39.0 - 2025-07-29
411

512
### Enhancements

Cargo.lock

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ resolver = "2"
1111
[workspace.package]
1212
authors = ["Databento <[email protected]>"]
1313
edition = "2021"
14-
version = "0.39.0"
14+
version = "0.39.1"
1515
documentation = "https://databento.com/docs"
1616
repository = "https://github.com/databento/dbn"
1717
license = "Apache-2.0"

c/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ crate-type = ["staticlib"]
1616
[dependencies]
1717
anyhow = { workspace = true }
1818
dbn = { path = "../rust/dbn", features = [] }
19-
libc = "0.2.174"
19+
libc = "0.2.175"
2020

2121
[build-dependencies]
2222
cbindgen = { version = "0.29.0", default-features = false }

python/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "databento-dbn"
3-
version = "0.39.0"
3+
version = "0.39.1"
44
description = "Python bindings for encoding and decoding Databento Binary Encoding (DBN)"
55
authors = ["Databento <[email protected]>"]
66
license = "Apache-2.0"
@@ -17,7 +17,7 @@ build-backend = "maturin"
1717

1818
[project]
1919
name = "databento-dbn"
20-
version = "0.39.0"
20+
version = "0.39.1"
2121
authors = [
2222
{ name = "Databento", email = "[email protected]" }
2323
]

rust/dbn-cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ name = "dbn"
1616
path = "src/main.rs"
1717

1818
[dependencies]
19-
dbn = { path = "../dbn", version = "=0.39.0", default-features = false }
19+
dbn = { path = "../dbn", version = "=0.39.1", default-features = false }
2020

2121
anyhow = { workspace = true }
2222
clap = { version = "4.5", features = ["derive", "wrap_help"] }

rust/dbn-cli/src/filter.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ impl<D: DbnMetadata> DbnMetadata for SchemaFilter<D> {
4343
}
4444

4545
impl<D: DecodeRecordRef> DecodeRecordRef for SchemaFilter<D> {
46-
fn decode_record_ref(&mut self) -> dbn::Result<Option<dbn::RecordRef>> {
46+
fn decode_record_ref(&mut self) -> dbn::Result<Option<dbn::RecordRef<'_>>> {
4747
while let Some(record) = self.decoder.decode_record_ref()? {
4848
if self
4949
.rtype
@@ -106,7 +106,7 @@ impl<D: DbnMetadata> DbnMetadata for LimitFilter<D> {
106106
}
107107

108108
impl<D: DecodeRecordRef> DecodeRecordRef for LimitFilter<D> {
109-
fn decode_record_ref(&mut self) -> dbn::Result<Option<RecordRef>> {
109+
fn decode_record_ref(&mut self) -> dbn::Result<Option<RecordRef<'_>>> {
110110
if self
111111
.limit
112112
.map(|limit| self.record_count >= limit.get())

rust/dbn-macros/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ proc-macro = true
1212

1313
[dependencies]
1414
proc-macro-crate = "3.3.0"
15-
proc-macro2 = "1.0.95"
15+
proc-macro2 = "1.0.97"
1616
quote = "1.0.40"
1717
syn = { version = "2.0", features = ["full"] }
1818

1919
[dev-dependencies]
2020
csv = { workspace = true }
2121
dbn = { path = "../dbn" }
22-
trybuild = "1.0.106"
22+
trybuild = "1.0.110"

rust/dbn/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ serde = ["dep:serde", "time/parsing", "time/serde"]
2525
trivial_copy = []
2626

2727
[dependencies]
28-
dbn-macros = { version = "=0.39.0", path = "../dbn-macros" }
28+
dbn-macros = { version = "=0.39.1", path = "../dbn-macros" }
2929

3030
async-compression = { version = "0.4.27", features = ["tokio", "zstd"], optional = true }
3131
csv = { workspace = true }

rust/dbn/src/decode.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ pub trait DecodeRecordRef {
4343
///
4444
/// If the `length` property of the record is invalid, an
4545
/// [`Error::Decode`](crate::Error::Decode) will be returned.
46-
fn decode_record_ref(&mut self) -> crate::Result<Option<RecordRef>>;
46+
fn decode_record_ref(&mut self) -> crate::Result<Option<RecordRef<'_>>>;
4747
}
4848

4949
/// Trait for decoders with metadata about what's being decoded.
@@ -143,7 +143,7 @@ pub trait AsyncDecodeRecordRef {
143143
/// # Cancel safety
144144
/// This method is cancel safe. It can be used within a `tokio::select!` statement
145145
/// without the potential for corrupting the input stream.
146-
async fn decode_record_ref(&mut self) -> crate::Result<Option<RecordRef>>;
146+
async fn decode_record_ref(&mut self) -> crate::Result<Option<RecordRef<'_>>>;
147147
}
148148

149149
/// Async trait for types that decode DBN records of a particular type.
@@ -217,7 +217,7 @@ pub mod private {
217217
/// implementors of [`DecodeRecord`].
218218
#[doc(hidden)]
219219
pub trait LastRecord {
220-
fn last_record(&self) -> Option<RecordRef>;
220+
fn last_record(&self) -> Option<RecordRef<'_>>;
221221
}
222222
}
223223

0 commit comments

Comments
 (0)