From 6c3871c06be4b5835ccf2435ef9e66849a049bd4 Mon Sep 17 00:00:00 2001 From: Carter Green Date: Tue, 10 Mar 2026 16:55:23 -0500 Subject: [PATCH 1/5] MOD: Change skip repr to match variant name --- CHANGELOG.md | 5 +++++ databento/live/gateway.py | 5 ----- databento/version.py | 2 +- pyproject.toml | 2 +- tests/test_live_client.py | 6 +----- 5 files changed, 8 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 27759cb..1f83247 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 0.74.0 - TBD + +#### Enhancements +- Changed `SlowReaderBehavior.SKIP` to send "skip" instead of "drop" to the gateway + ## 0.73.0 - 2026-03-10 #### Enhancements diff --git a/databento/live/gateway.py b/databento/live/gateway.py index 4dee1d0..76a9f64 100644 --- a/databento/live/gateway.py +++ b/databento/live/gateway.py @@ -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): diff --git a/databento/version.py b/databento/version.py index 160a513..f9ecada 100644 --- a/databento/version.py +++ b/databento/version.py @@ -1 +1 @@ -__version__ = "0.73.0" +__version__ = "0.74.0" diff --git a/pyproject.toml b/pyproject.toml index 3e9d425..45ff7a0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/tests/test_live_client.py b/tests/test_live_client.py index 40e78c0..75aa7bb 100644 --- a/tests/test_live_client.py +++ b/tests/test_live_client.py @@ -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( From 0585b95103277ed4a2a57ecd40ef2b02d0faba40 Mon Sep 17 00:00:00 2001 From: Nick Macholl Date: Tue, 17 Mar 2026 14:51:49 -0700 Subject: [PATCH 2/5] MOD: Upgrade databento-dbn to 0.52.0 --- CHANGELOG.md | 8 +++++++- README.md | 2 +- pyproject.toml | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f83247..b2d7069 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,13 @@ ## 0.74.0 - TBD #### Enhancements -- Changed `SlowReaderBehavior.SKIP` to send "skip" instead of "drop" to the gateway +- Changed default of `Live` client `slow_reader_behavior` to `SlowReaderBehavior.SKIP` instead of `SlowReaderBehavior.DROP` +- 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 diff --git a/README.md b/README.md index 1e83b38..9f8e409 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/pyproject.toml b/pyproject.toml index 45ff7a0..7dadbf1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", From 7e66d6bc5553b9a68934459aee7b910e23c91d8e Mon Sep 17 00:00:00 2001 From: Enda Peng Date: Thu, 19 Mar 2026 15:29:20 -0400 Subject: [PATCH 3/5] FIX: Small issues batch fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9f8e409..5c7fccc 100644 --- a/README.md +++ b/README.md @@ -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: From 7a1374005d18820d44c64cd6f97f9f1a433c132a Mon Sep 17 00:00:00 2001 From: Nick Macholl Date: Tue, 24 Mar 2026 10:32:29 -0700 Subject: [PATCH 4/5] VER: Release 0.74.0 --- CHANGELOG.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b2d7069..acabb24 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,8 @@ # Changelog -## 0.74.0 - TBD +## 0.74.0 - 2026-03-24 #### Enhancements -- Changed default of `Live` client `slow_reader_behavior` to `SlowReaderBehavior.SKIP` instead of `SlowReaderBehavior.DROP` - 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 @@ -11,6 +10,9 @@ - Added `v1`, `v2`, and `v3` submodule imports to `databento_dbn.__init__` so they are accessible as attributes (e.g. `databento_dbn.v1`) +#### Breaking changes +- Changed default of `Live` client `slow_reader_behavior` to `SlowReaderBehavior.SKIP` instead of `SlowReaderBehavior.DROP` + ## 0.73.0 - 2026-03-10 #### Enhancements From ac267392af042e9b7d89cbc3b757de2a9743dad0 Mon Sep 17 00:00:00 2001 From: Nick Macholl Date: Tue, 24 Mar 2026 15:13:53 -0700 Subject: [PATCH 5/5] FIX: Fix change note for slow_reader_behavior --- CHANGELOG.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index acabb24..a16ab7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## 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 @@ -10,9 +11,6 @@ - Added `v1`, `v2`, and `v3` submodule imports to `databento_dbn.__init__` so they are accessible as attributes (e.g. `databento_dbn.v1`) -#### Breaking changes -- Changed default of `Live` client `slow_reader_behavior` to `SlowReaderBehavior.SKIP` instead of `SlowReaderBehavior.DROP` - ## 0.73.0 - 2026-03-10 #### Enhancements