Skip to content

Commit 2f1ce47

Browse files
committed
MOD: Upgrade databento-dbn to 0.52.1
1 parent 29ca8c6 commit 2f1ce47

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

CHANGELOG.md

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

3+
## 0.74.1 - TBD
4+
5+
#### Enhancements
6+
- Upgraded `databento-dbn` to 0.52.1:
7+
- Added `__index__` to all int-representable and char-backed Python enums, enabling
8+
use with `int()`, `hex()`, and as sequence indices
9+
- Fixed memory leak in Python bindings where every record object leaked ~64 bytes
10+
due to a `pyo3` 0.28 regression in `#[pyclass(dict)]` deallocation. Downgraded
11+
`pyo3` to 0.27.2
12+
- Removed unnecessary `dict` from `BidAskPair` and `ConsolidatedBidAskPair` Python
13+
classes
14+
- Fixed Python type stubs to reflect that `record_size()` is a method, not a property
15+
- Fixed Python type stubs for record fields to indicate which fields are writable
16+
(e.g. `publisher_id`, `instrument_id`, `price`, `size`) and added `@setter` stubs
17+
for enum fields (e.g. `action`, `side`)
18+
319
## 0.74.0 - 2026-03-24
420

521
#### Enhancements

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The library is fully compatible with distributions of Anaconda 2023.x and above.
3232
The minimum dependencies as found in the `pyproject.toml` are also listed below:
3333
- python = "^3.10"
3434
- aiohttp = "^3.8.3"
35-
- databento-dbn = "~0.52.0"
35+
- databento-dbn = "~0.52.1"
3636
- numpy = ">=1.23.5"
3737
- pandas = ">=1.5.3"
3838
- pip-system-certs = ">=4.0" (Windows only)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dynamic = [ "classifiers" ]
1010
dependencies = [
1111
"aiohttp>=3.8.3,<4.0.0; python_version < '3.12'",
1212
"aiohttp>=3.9.0,<4.0.0; python_version >= '3.12'",
13-
"databento-dbn~=0.52.0",
13+
"databento-dbn~=0.52.1",
1414
"numpy>=1.23.5; python_version < '3.12'",
1515
"numpy>=1.26.0; python_version >= '3.12'",
1616
"pandas>=1.5.3,<4.0.0",

0 commit comments

Comments
 (0)