Skip to content

Commit 05b23bf

Browse files
authored
VER: Release 0.48.0
See release notes.
2 parents a1ed42d + dde13cb commit 05b23bf

File tree

11 files changed

+535
-464
lines changed

11 files changed

+535
-464
lines changed

CHANGELOG.md

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

3+
## 0.48.0 - 2025-01-21
4+
5+
#### Breaking changes
6+
- Updated enumerations for unreleased datasets and publishers.
7+
8+
#### Enhancements
9+
- Added export of `StatusAction` enum from `databento_dbn` to the root `databento` package
10+
- Added export of `StatusReason` enum from `databento_dbn` to the root `databento` package
11+
- Added export of `TradingEvent` enum from `databento_dbn` to the root `databento` package
12+
- Added new dataset `EQUS.MINI` and new publishers `EQUS.MINI.EQUS`, `XNYS.TRADES.EQUS`
13+
- Removed upper bound for supported `python` versions; the constraint is now `^3.9`
14+
- Upgraded `databento-dbn` to 0.27.0
15+
- Fixed export of `InstrumentDefMsgV3` to Python
16+
17+
#### Bug fixes
18+
- Fixed an issue where sending a `KeyboardInterrupt` during iteration of the `Live` client could block execution waiting for the connection to close
19+
- Fixed an issue with submitting historical metadata requests for a large number of symbols.
20+
321
## 0.47.0 - 2024-12-17
422

523
#### Enhancements

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# databento-python
22

33
[![test](https://github.com/databento/databento-python/actions/workflows/test.yml/badge.svg?branch=dev)](https://github.com/databento/databento-python/actions/workflows/test.yml)
4-
![python](https://img.shields.io/badge/python-3.9+-blue.svg)
4+
![python](https://img.shields.io/pypi/pyversions/databento.svg)
55
[![pypi-version](https://img.shields.io/pypi/v/databento)](https://pypi.org/project/databento)
66
[![license](https://img.shields.io/github/license/databento/databento-python?color=blue)](./LICENSE)
77
[![code-style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
@@ -32,7 +32,7 @@ The library is fully compatible with the latest distribution of Anaconda 3.9 and
3232
The minimum dependencies as found in the `pyproject.toml` are also listed below:
3333
- python = "^3.9"
3434
- aiohttp = "^3.8.3"
35-
- databento-dbn = "0.25.0"
35+
- databento-dbn = "0.27.0"
3636
- numpy= ">=1.23.5"
3737
- pandas = ">=1.5.3"
3838
- pip-system-certs = ">=4.0" (Windows only)

databento/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,14 @@
1515
from databento_dbn import Schema
1616
from databento_dbn import StatMsg
1717
from databento_dbn import StatType
18+
from databento_dbn import StatusAction
1819
from databento_dbn import StatusMsg
20+
from databento_dbn import StatusReason
1921
from databento_dbn import SType
2022
from databento_dbn import SymbolMappingMsg
2123
from databento_dbn import SystemMsg
2224
from databento_dbn import TradeMsg
25+
from databento_dbn import TradingEvent
2326
from databento_dbn.v2 import BBO1MMsg
2427
from databento_dbn.v2 import BBO1SMsg
2528
from databento_dbn.v2 import CBBO1MMsg
@@ -96,14 +99,17 @@
9699
"SplitDuration",
97100
"StatMsg",
98101
"StatType",
102+
"StatusAction",
99103
"StatusMsg",
104+
"StatusReason",
100105
"SymbolMappingMsg",
101106
"SymbologyResolution",
102107
"SystemMsg",
103108
"TBBOMsg",
104109
"TBBOMsg",
105110
"TCBBOMsg",
106111
"TradeMsg",
112+
"TradingEvent",
107113
"Venue",
108114
]
109115

databento/common/http.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import json
44
import warnings
55
from collections.abc import Iterable
6+
from collections.abc import Mapping
67
from io import BytesIO
78
from json.decoder import JSONDecodeError
89
from os import PathLike
@@ -94,7 +95,7 @@ async def _get_json_async(
9495
def _post(
9596
self,
9697
url: str,
97-
data: dict[str, object | None] | None = None,
98+
data: Mapping[str, object | None] | None = None,
9899
params: Iterable[tuple[str, str | None]] | None = None,
99100
basic_auth: bool = False,
100101
) -> Response:

0 commit comments

Comments
 (0)