Skip to content

Commit dc87a09

Browse files
authored
VER: Release 0.24.0
2 parents 454dbf5 + 04ce85b commit dc87a09

File tree

7 files changed

+21
-5
lines changed

7 files changed

+21
-5
lines changed

CHANGELOG.md

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

3+
## 0.24.0 - 2024-10-22
4+
5+
### Enhancements
6+
- Added new `None` `Action` variant that will be gradually rolled out
7+
to historical and live `GLBX.MDP3` data
8+
39
## 0.23.0 - 2024-09-25
410

511
### Enhancements

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.14)
44
# Project details
55
#
66

7-
project("databento" VERSION 0.23.0 LANGUAGES CXX)
7+
project("databento" VERSION 0.24.0 LANGUAGES CXX)
88
string(TOUPPER ${PROJECT_NAME} PROJECT_NAME_UPPERCASE)
99

1010
#

include/databento/enums.hpp

+6-2
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,11 @@ enum RType : std::uint8_t {
149149
} // namespace rtype
150150
using rtype::RType;
151151

152-
// A tick action.
152+
// An order event or order book operation.
153153
//
154-
// Additional actions may be added in the future.
154+
// For example usage see:
155+
// - https://databento.com/docs/examples/order-book/order-actions
156+
// - https://databento.com/docs/examples/order-book/order-tracking
155157
namespace action {
156158
// enum because future variants may be added in the future.
157159
enum Action : char {
@@ -167,6 +169,8 @@ enum Action : char {
167169
Add = 'A',
168170
// Reset the book; clear all orders for an instrument.
169171
Clear = 'R',
172+
// Has no effect on the book, but may carry `flags` or other information.
173+
None = 'N',
170174
};
171175
} // namespace action
172176
using action::Action;

pkg/PKGBUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Maintainer: Databento <support@databento.com>
22
_pkgname=databento-cpp
33
pkgname=databento-cpp-git
4-
pkgver=0.23.0
4+
pkgver=0.24.0
55
pkgrel=1
66
pkgdesc="Official C++ client for Databento"
77
arch=('any')

scripts/build.sh

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ set -e
44
cmake -S . -B build \
55
-DDATABENTO_ENABLE_UNIT_TESTING=1 \
66
-DDATABENTO_ENABLE_EXAMPLES=1 \
7+
-DDATABENTO_ENABLE_CLANG_TIDY=1 \
78
-DDATABENTO_ENABLE_ASAN=1 \
89
-DDATABENTO_ENABLE_UBSAN=1
910
cmake --build build -- -j "$(nproc)"

src/enums.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,9 @@ const char* ToString(Action action) {
354354
case Action::Clear: {
355355
return "Clear";
356356
}
357+
case Action::None: {
358+
return "None";
359+
}
357360
default: {
358361
return "Unknown";
359362
}

tests/src/scoped_thread_tests.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ TEST(ScopedThreadTests, DefaultCtor) { const ScopedThread target{}; }
2626
TEST(ScopedThreadTests, MoveCtor) {
2727
auto res = 0;
2828
const auto initThread = [&res] { return ScopedThread{[&res] { res = 9; }}; };
29-
{ const ScopedThread target{initThread()}; } // joins
29+
{
30+
const ScopedThread target{initThread()};
31+
} // joins
3032
ASSERT_EQ(res, 9);
3133
}
3234

0 commit comments

Comments
 (0)