Skip to content
Merged
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Changelog

## 0.48.0 - 2025-01-21

#### Breaking changes
- Updated enumerations for unreleased datasets and publishers.

#### Enhancements
- Added export of `StatusAction` enum from `databento_dbn` to the root `databento` package
- Added export of `StatusReason` enum from `databento_dbn` to the root `databento` package
- Added export of `TradingEvent` enum from `databento_dbn` to the root `databento` package
- Added new dataset `EQUS.MINI` and new publishers `EQUS.MINI.EQUS`, `XNYS.TRADES.EQUS`
- Removed upper bound for supported `python` versions; the constraint is now `^3.9`
- Upgraded `databento-dbn` to 0.27.0
- Fixed export of `InstrumentDefMsgV3` to Python

#### Bug fixes
- Fixed an issue where sending a `KeyboardInterrupt` during iteration of the `Live` client could block execution waiting for the connection to close
- Fixed an issue with submitting historical metadata requests for a large number of symbols.

## 0.47.0 - 2024-12-17

#### Enhancements
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# databento-python

[![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)
![python](https://img.shields.io/badge/python-3.9+-blue.svg)
![python](https://img.shields.io/pypi/pyversions/databento.svg)
[![pypi-version](https://img.shields.io/pypi/v/databento)](https://pypi.org/project/databento)
[![license](https://img.shields.io/github/license/databento/databento-python?color=blue)](./LICENSE)
[![code-style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
Expand Down Expand Up @@ -32,7 +32,7 @@ The library is fully compatible with the latest distribution of Anaconda 3.9 and
The minimum dependencies as found in the `pyproject.toml` are also listed below:
- python = "^3.9"
- aiohttp = "^3.8.3"
- databento-dbn = "0.25.0"
- databento-dbn = "0.27.0"
- numpy= ">=1.23.5"
- pandas = ">=1.5.3"
- pip-system-certs = ">=4.0" (Windows only)
Expand Down
6 changes: 6 additions & 0 deletions databento/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@
from databento_dbn import Schema
from databento_dbn import StatMsg
from databento_dbn import StatType
from databento_dbn import StatusAction
from databento_dbn import StatusMsg
from databento_dbn import StatusReason
from databento_dbn import SType
from databento_dbn import SymbolMappingMsg
from databento_dbn import SystemMsg
from databento_dbn import TradeMsg
from databento_dbn import TradingEvent
from databento_dbn.v2 import BBO1MMsg
from databento_dbn.v2 import BBO1SMsg
from databento_dbn.v2 import CBBO1MMsg
Expand Down Expand Up @@ -96,14 +99,17 @@
"SplitDuration",
"StatMsg",
"StatType",
"StatusAction",
"StatusMsg",
"StatusReason",
"SymbolMappingMsg",
"SymbologyResolution",
"SystemMsg",
"TBBOMsg",
"TBBOMsg",
"TCBBOMsg",
"TradeMsg",
"TradingEvent",
"Venue",
]

Expand Down
3 changes: 2 additions & 1 deletion databento/common/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import json
import warnings
from collections.abc import Iterable
from collections.abc import Mapping
from io import BytesIO
from json.decoder import JSONDecodeError
from os import PathLike
Expand Down Expand Up @@ -94,7 +95,7 @@ async def _get_json_async(
def _post(
self,
url: str,
data: dict[str, object | None] | None = None,
data: Mapping[str, object | None] | None = None,
params: Iterable[tuple[str, str | None]] | None = None,
basic_auth: bool = False,
) -> Response:
Expand Down
Loading
Loading