Skip to content

Commit 3b5f748

Browse files
committed
MOD: Deprecate packaging in clients
1 parent 04ce85b commit 3b5f748

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## 0.25.0 - TBD
4+
5+
### Deprecations
6+
- Deprecated `Packaging` enum and `packaging` field on `BatchJob`. These will be
7+
removed in a future version. All files from a batch job can be downloaded with the
8+
`BatchDownload` method on the historical client
9+
310
## 0.24.0 - 2024-10-22
411

512
### Enhancements

include/databento/batch.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ struct BatchJob {
3131
SplitDuration split_duration;
3232
std::uint64_t split_size;
3333
bool split_symbols;
34+
// NOTE: deprecated and will be removed in a future version
3435
Packaging packaging;
3536
Delivery delivery;
3637
std::uint64_t record_count;

include/databento/enums.hpp

+2
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ enum class SplitDuration : std::uint8_t {
8686
};
8787

8888
// Represents how a batch job will be packaged.
89+
//
90+
// NOTE: Deprecated now that all batch jobs can be downloaded as a ZIP file.
8991
enum class Packaging : std::uint8_t {
9092
None = 0,
9193
Zip,

0 commit comments

Comments
 (0)