Skip to content

Commit a3589e1

Browse files
committed
VER: Release 0.38.0
1 parent 6fb6f55 commit a3589e1

File tree

5 files changed

+17
-20
lines changed

5 files changed

+17
-20
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,12 @@ jobs:
3232
-DHAVE_RULES=ON
3333
cmake --build build --config Release --parallel
3434
sudo cmake --install build --prefix /usr
35-
- name: Install gtest
36-
uses: MarkusJx/googletest-installer@v1.1
3735
- name: CMake configure
3836
run: |
3937
cmake -S . -B build \
4038
-GNinja \
4139
-DCMAKE_CXX_COMPILER=${{ matrix.compiler }} \
40+
-DDATABENTO_USE_EXTERNAL_GTEST=0 \
4241
-DDATABENTO_ENABLE_UNIT_TESTING=1 \
4342
-DDATABENTO_ENABLE_EXAMPLES=1 \
4443
-DDATABENTO_ENABLE_CLANG_TIDY=1 \

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
# Changelog
22

3-
## 0.38.0 - TBD
3+
## 0.38.0 - 2025-06-10
44

55
### Enhancements
66
- Made the buffer size used by the live clients when reading from the TCP socket
77
configurable through the `LiveBuilder::SetBufferSize()` method
88
- Added log level prefix to `ConsoleLogReceiver` output
9+
- Added `iomanip` compatibility: fill, precision, and width to `pretty::Px` (formerly
10+
`FixPx`)
11+
- Added new `pretty::Ts` helper type for human-readable formatting of `UnixNanos`
912

1013
### Breaking changes
1114
- Live client instances can only be created through the `LiveBuilder` class
@@ -14,6 +17,10 @@
1417
- Added new optional `ShouldLog` virtual method to `ILogReceiver` to
1518
filter the levels of log messages that will be sent to the receiver
1619

20+
### Deprecations
21+
- Deprecated `FixPx` in favor of `pretty::Px` which has consistent naming with the API
22+
and the Python and Rust client libraries
23+
1724
## 0.37.1 - 2025-06-03
1825

1926
### Bug fixes

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 3.24..4.0)
66

77
project(
88
databento
9-
VERSION 0.37.1
9+
VERSION 0.38.0
1010
LANGUAGES CXX
1111
DESCRIPTION "Official Databento client library"
1212
)

pkg/PKGBUILD

Lines changed: 1 addition & 1 deletion
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.37.1
4+
pkgver=0.38.0
55
pkgrel=1
66
pkgdesc="Official C++ client for Databento"
77
arch=('any')

tests/CMakeLists.txt

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -120,25 +120,16 @@ else()
120120
# Visual Studio by default links C runtimes dynamically but gtest by default links them statically
121121
set(gtest_force_shared_crt ON CACHE BOOL "Link dynamic CRT" FORCE)
122122
endif()
123-
if(CMAKE_VERSION VERSION_LESS 3.24)
124-
FetchContent_Declare(
125-
googletest
126-
URL https://github.com/google/googletest/archive/refs/tags/release-1.12.1.tar.gz
127-
)
128-
else()
129-
# DOWNLOAD_EXTRACT_TIMESTAMP added in 3.24
130-
FetchContent_Declare(
131-
googletest
132-
URL https://github.com/google/googletest/archive/refs/tags/release-1.12.1.tar.gz
133-
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
134-
)
135-
endif()
123+
FetchContent_Declare(
124+
googletest
125+
URL https://github.com/google/googletest/releases/download/v1.17.0/googletest-1.17.0.tar.gz
126+
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
127+
)
136128
FetchContent_MakeAvailable(googletest)
137129
target_link_libraries(
138130
${PROJECT_NAME}
139131
PUBLIC
140-
gtest
141-
gtest_main
132+
gmock_main
142133
${${CMAKE_PROJECT_NAME}_TEST_LIB}
143134
)
144135
# Ignore compiler warnings in headers

0 commit comments

Comments
 (0)