Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## 0.74.0 - 2026-03-24

#### Enhancements
- Changed `SlowReaderBehavior.SKIP` to send "skip" instead of "drop" to the gateway
- Upgraded `databento-dbn` to 0.52.0:
- Added `SYMBOL_CSTR_LEN` constant and versioned variants (`SYMBOL_CSTR_LEN_V1`,
`SYMBOL_CSTR_LEN_V2`, `SYMBOL_CSTR_LEN_V3`) to Python, including in each versioned
module (`v1`, `v2`, `v3`) as `SYMBOL_CSTR_LEN`
- Added `v1`, `v2`, and `v3` submodule imports to `databento_dbn.__init__` so they are
accessible as attributes (e.g. `databento_dbn.v1`)

## 0.73.0 - 2026-03-10

#### Enhancements
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The library is fully compatible with distributions of Anaconda 2023.x and above.
The minimum dependencies as found in the `pyproject.toml` are also listed below:
- python = "^3.10"
- aiohttp = "^3.8.3"
- databento-dbn = "~0.51.0"
- databento-dbn = "~0.52.0"
- numpy = ">=1.23.5"
- pandas = ">=1.5.3"
- pip-system-certs = ">=4.0" (Windows only)
Expand All @@ -49,7 +49,7 @@ To install the latest stable version of the package from PyPI:
The library needs to be configured with an API key from your account.
[Sign up](https://databento.com/signup) for free and you will automatically
receive a set of API keys to start with. Each API key is a 32-character
string starting with `db-`, that can be found on the API Keys page of your [Databento user portal](https://databento.com/platform/keys).
string starting with `db-`, that can be found on the API Keys page of your [Databento user portal](https://databento.com/portal/keys).

A simple Databento application looks like this:

Expand Down
5 changes: 0 additions & 5 deletions databento/live/gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,6 @@ class AuthenticationRequest(GatewayControl):
slow_reader_behavior: SlowReaderBehavior | str | None = None
client: str = USER_AGENT

def __post_init__(self) -> None:
# Temporary work around for LSG support
if self.slow_reader_behavior in [SlowReaderBehavior.SKIP, "skip"]:
self.slow_reader_behavior = "drop"


@dataclasses.dataclass
class SubscriptionRequest(GatewayControl):
Expand Down
2 changes: 1 addition & 1 deletion databento/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.73.0"
__version__ = "0.74.0"
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "databento"
version = "0.73.0"
version = "0.74.0"
description = "Official Python client library for Databento"
readme = "README.md"
requires-python = ">=3.10"
Expand All @@ -10,7 +10,7 @@ dynamic = [ "classifiers" ]
dependencies = [
"aiohttp>=3.8.3,<4.0.0; python_version < '3.12'",
"aiohttp>=3.9.0,<4.0.0; python_version >= '3.12'",
"databento-dbn~=0.51.0",
"databento-dbn~=0.52.0",
"numpy>=1.23.5; python_version < '3.12'",
"numpy>=1.26.0; python_version >= '3.12'",
"pandas>=1.5.3,<4.0.0",
Expand Down
6 changes: 1 addition & 5 deletions tests/test_live_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,11 +363,7 @@ async def test_live_connect_auth_with_slow_reader_behavior(
assert message.dataset == live_client.dataset
assert message.encoding == Encoding.DBN

# Temporary handling of renamed variant
if slow_reader_behavior == SlowReaderBehavior.SKIP:
assert message.slow_reader_behavior == "drop"
else:
assert message.slow_reader_behavior == slow_reader_behavior
assert message.slow_reader_behavior == slow_reader_behavior


async def test_live_connect_auth_two_clients(
Expand Down
Loading