Skip to content

Commit ebcce70

Browse files
committed
VER: Release 0.40.0
1 parent 4b1ba64 commit ebcce70

File tree

7 files changed

+31
-31
lines changed

7 files changed

+31
-31
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## 0.40.0 - TBD
3+
## 0.40.0 - 2025-08-19
44

55
### Enhancements
66
- Added `instrument_id` and `publisher_id` setters to all records in Python

Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ resolver = "2"
1111
[workspace.package]
1212
authors = ["Databento <[email protected]>"]
1313
edition = "2021"
14-
version = "0.39.1"
14+
version = "0.40.0"
1515
documentation = "https://databento.com/docs"
1616
repository = "https://github.com/databento/dbn"
1717
license = "Apache-2.0"

python/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "databento-dbn"
3-
version = "0.39.1"
3+
version = "0.40.0"
44
description = "Python bindings for encoding and decoding Databento Binary Encoding (DBN)"
55
authors = ["Databento <[email protected]>"]
66
license = "Apache-2.0"
@@ -17,7 +17,7 @@ build-backend = "maturin"
1717

1818
[project]
1919
name = "databento-dbn"
20-
version = "0.39.1"
20+
version = "0.40.0"
2121
authors = [
2222
{ name = "Databento", email = "[email protected]" }
2323
]

python/python/databento_dbn/_lib.pyi

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ class RType(Enum):
448448
BBO_1S: int
449449
BBO_1M: int
450450

451-
def __init__(self, value: int) -> RType: ...
451+
def __init__(self, value: int) -> None: ...
452452
@classmethod
453453
def from_str(cls, value: str) -> RType: ...
454454
@classmethod
@@ -477,7 +477,7 @@ class Side(Enum):
477477
BID: str
478478
NONE: str
479479

480-
def __init__(self, value: str) -> Side: ...
480+
def __init__(self, value: str) -> None: ...
481481
@classmethod
482482
def from_str(cls, value: str) -> Side: ...
483483
@classmethod
@@ -518,7 +518,7 @@ class Action(Enum):
518518
CLEAR: str
519519
NONE: str
520520

521-
def __init__(self, value: str) -> Action: ...
521+
def __init__(self, value: str) -> None: ...
522522
@classmethod
523523
def from_str(cls, value: str) -> Action: ...
524524
@classmethod
@@ -567,7 +567,7 @@ class InstrumentClass(Enum):
567567
FX_SPOT: str
568568
COMMODITY_SPOT: str
569569

570-
def __init__(self, value: str) -> InstrumentClass: ...
570+
def __init__(self, value: str) -> None: ...
571571
@classmethod
572572
def from_str(cls, value: str) -> InstrumentClass: ...
573573
@classmethod
@@ -622,7 +622,7 @@ class MatchAlgorithm(Enum):
622622
TIME_PRO_RATA: str
623623
INSTITUTIONAL_PRIORITIZATION: str
624624

625-
def __init__(self, value: str) -> MatchAlgorithm: ...
625+
def __init__(self, value: str) -> None: ...
626626
@classmethod
627627
def from_str(cls, value: str) -> MatchAlgorithm: ...
628628
@classmethod
@@ -647,7 +647,7 @@ class UserDefinedInstrument(Enum):
647647
NO: str
648648
YES: str
649649

650-
def __init__(self, value: str) -> UserDefinedInstrument: ...
650+
def __init__(self, value: str) -> None: ...
651651
@classmethod
652652
def from_str(cls, value: str) -> UserDefinedInstrument: ...
653653
@classmethod
@@ -675,7 +675,7 @@ class SecurityUpdateAction(Enum):
675675
DELETE: str
676676
INVALID: str
677677

678-
def __init__(self, value: str) -> SecurityUpdateAction: ...
678+
def __init__(self, value: str) -> None: ...
679679
@classmethod
680680
def from_str(cls, value: str) -> SecurityUpdateAction: ...
681681
@classmethod
@@ -735,7 +735,7 @@ class SType(Enum):
735735
FIGI: str
736736
FIGI_TICKER: str
737737

738-
def __init__(self, value: str) -> SType: ...
738+
def __init__(self, value: str) -> None: ...
739739
@classmethod
740740
def from_str(cls, value: str) -> SType: ...
741741
@classmethod
@@ -821,7 +821,7 @@ class Schema(Enum):
821821
BBO_1S: str
822822
BBO_1M: str
823823

824-
def __init__(self, value: str) -> Schema: ...
824+
def __init__(self, value: str) -> None: ...
825825
@classmethod
826826
def from_str(cls, value: str) -> Schema: ...
827827
@classmethod
@@ -846,7 +846,7 @@ class Encoding(Enum):
846846
CSV: str
847847
JSON: str
848848

849-
def __init__(self, value: str) -> Encoding: ...
849+
def __init__(self, value: str) -> None: ...
850850
@classmethod
851851
def from_str(cls, value: str) -> Encoding: ...
852852
@classmethod
@@ -868,7 +868,7 @@ class Compression(Enum):
868868
NONE: str
869869
ZSTD: str
870870

871-
def __init__(self, value: str) -> Compression: ...
871+
def __init__(self, value: str) -> None: ...
872872
@classmethod
873873
def from_str(cls, value: str) -> Compression: ...
874874
@classmethod
@@ -952,7 +952,7 @@ class StatType(Enum):
952952
DELTA: int
953953
UNCROSSING_PRICE: int
954954

955-
def __init__(self, value: int) -> StatType: ...
955+
def __init__(self, value: int) -> None: ...
956956
@classmethod
957957
def from_int(cls, value: int) -> StatType: ...
958958
@classmethod
@@ -972,7 +972,7 @@ class StatUpdateAction(Enum):
972972
NEW: int
973973
DELETE: int
974974

975-
def __init__(self, value: int) -> StatUpdateAction: ...
975+
def __init__(self, value: int) -> None: ...
976976
@classmethod
977977
def from_int(cls, value: int) -> StatUpdateAction: ...
978978
@classmethod
@@ -1034,7 +1034,7 @@ class StatusAction(Enum):
10341034
SSR_CHANGE: int
10351035
NOT_AVAILABLE_FOR_TRADING: int
10361036

1037-
def __init__(self, value: int) -> StatusAction: ...
1037+
def __init__(self, value: int) -> None: ...
10381038
@classmethod
10391039
def from_int(cls, value: int) -> StatusAction: ...
10401040
@classmethod
@@ -1154,7 +1154,7 @@ class StatusReason(Enum):
11541154
MARKET_WIDE_HALT_RESUMPTION: int
11551155
QUOTATION_NOT_AVAILABLE: int
11561156

1157-
def __init__(self, value: int) -> StatusReason: ...
1157+
def __init__(self, value: int) -> None: ...
11581158
@classmethod
11591159
def from_int(cls, value: int) -> StatusReason: ...
11601160
@classmethod
@@ -1183,7 +1183,7 @@ class TradingEvent(Enum):
11831183
IMPLIED_MATCHING_ON: int
11841184
IMPLIED_MATCHING_OFF: int
11851185

1186-
def __init__(self, value: int) -> TradingEvent: ...
1186+
def __init__(self, value: int) -> None: ...
11871187
@classmethod
11881188
def from_int(cls, value: int) -> TradingEvent: ...
11891189
@classmethod
@@ -1206,7 +1206,7 @@ class TriState(Enum):
12061206
NO: str
12071207
YES: str
12081208

1209-
def __init__(self, value: str) -> TriState: ...
1209+
def __init__(self, value: str) -> None: ...
12101210
@classmethod
12111211
def from_str(cls, value: str) -> TriState: ...
12121212
@classmethod
@@ -1235,7 +1235,7 @@ class VersionUpgradePolicy(Enum):
12351235
UPGRADE_TO_V2: int
12361236
UPGRADE_TO_V3: int
12371237

1238-
def __init__(self, value: int) -> VersionUpgradePolicy: ...
1238+
def __init__(self, value: int) -> None: ...
12391239
@classmethod
12401240
def variants(cls) -> Iterable[VersionUpgradePolicy]: ...
12411241

@@ -1265,7 +1265,7 @@ class ErrorCode(Enum):
12651265
INVALID_SUBSCRIPTION: int
12661266
INTERNAL_ERROR: int
12671267

1268-
def __init__(self, value: int) -> ErrorCode: ...
1268+
def __init__(self, value: int) -> None: ...
12691269
@classmethod
12701270
def from_str(cls, value: str) -> ErrorCode: ...
12711271
@classmethod
@@ -1298,7 +1298,7 @@ class SystemCode(Enum):
12981298
REPLAY_COMPLETED: int
12991299
END_OF_INTERVAL: int
13001300

1301-
def __init__(self, value: int) -> SystemCode: ...
1301+
def __init__(self, value: int) -> None: ...
13021302
@classmethod
13031303
def from_str(cls, value: str) -> SystemCode: ...
13041304
@classmethod

rust/dbn-cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ name = "dbn"
1616
path = "src/main.rs"
1717

1818
[dependencies]
19-
dbn = { path = "../dbn", version = "=0.39.1", default-features = false }
19+
dbn = { path = "../dbn", version = "=0.40.0", default-features = false }
2020

2121
anyhow = { workspace = true }
2222
clap = { version = "4.5", features = ["derive", "wrap_help"] }

rust/dbn/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ serde = ["dep:serde", "time/parsing", "time/serde"]
2525
trivial_copy = []
2626

2727
[dependencies]
28-
dbn-macros = { version = "=0.39.1", path = "../dbn-macros" }
28+
dbn-macros = { version = "=0.40.0", path = "../dbn-macros" }
2929

3030
async-compression = { version = "0.4.27", features = ["tokio", "zstd"], optional = true }
3131
csv = { workspace = true }

0 commit comments

Comments
 (0)