Skip to content

Commit 97cf7a4

Browse files
authored
VER: Release 0.74.0
See release notes.
2 parents 57bc7e5 + ac26739 commit 97cf7a4

File tree

6 files changed

+17
-15
lines changed

6 files changed

+17
-15
lines changed

CHANGELOG.md

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

3+
## 0.74.0 - 2026-03-24
4+
5+
#### Enhancements
6+
- Changed `SlowReaderBehavior.SKIP` to send "skip" instead of "drop" to the gateway
7+
- Upgraded `databento-dbn` to 0.52.0:
8+
- Added `SYMBOL_CSTR_LEN` constant and versioned variants (`SYMBOL_CSTR_LEN_V1`,
9+
`SYMBOL_CSTR_LEN_V2`, `SYMBOL_CSTR_LEN_V3`) to Python, including in each versioned
10+
module (`v1`, `v2`, `v3`) as `SYMBOL_CSTR_LEN`
11+
- Added `v1`, `v2`, and `v3` submodule imports to `databento_dbn.__init__` so they are
12+
accessible as attributes (e.g. `databento_dbn.v1`)
13+
314
## 0.73.0 - 2026-03-10
415

516
#### Enhancements

README.md

Lines changed: 2 additions & 2 deletions
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.51.0"
35+
- databento-dbn = "~0.52.0"
3636
- numpy = ">=1.23.5"
3737
- pandas = ">=1.5.3"
3838
- pip-system-certs = ">=4.0" (Windows only)
@@ -49,7 +49,7 @@ To install the latest stable version of the package from PyPI:
4949
The library needs to be configured with an API key from your account.
5050
[Sign up](https://databento.com/signup) for free and you will automatically
5151
receive a set of API keys to start with. Each API key is a 32-character
52-
string starting with `db-`, that can be found on the API Keys page of your [Databento user portal](https://databento.com/platform/keys).
52+
string starting with `db-`, that can be found on the API Keys page of your [Databento user portal](https://databento.com/portal/keys).
5353

5454
A simple Databento application looks like this:
5555

databento/live/gateway.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,6 @@ class AuthenticationRequest(GatewayControl):
124124
slow_reader_behavior: SlowReaderBehavior | str | None = None
125125
client: str = USER_AGENT
126126

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

133128
@dataclasses.dataclass
134129
class SubscriptionRequest(GatewayControl):

databento/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.73.0"
1+
__version__ = "0.74.0"

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "databento"
3-
version = "0.73.0"
3+
version = "0.74.0"
44
description = "Official Python client library for Databento"
55
readme = "README.md"
66
requires-python = ">=3.10"
@@ -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.51.0",
13+
"databento-dbn~=0.52.0",
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",

tests/test_live_client.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -363,11 +363,7 @@ async def test_live_connect_auth_with_slow_reader_behavior(
363363
assert message.dataset == live_client.dataset
364364
assert message.encoding == Encoding.DBN
365365

366-
# Temporary handling of renamed variant
367-
if slow_reader_behavior == SlowReaderBehavior.SKIP:
368-
assert message.slow_reader_behavior == "drop"
369-
else:
370-
assert message.slow_reader_behavior == slow_reader_behavior
366+
assert message.slow_reader_behavior == slow_reader_behavior
371367

372368

373369
async def test_live_connect_auth_two_clients(

0 commit comments

Comments
 (0)