Skip to content

Commit 0e000c5

Browse files
authored
VER: Release 0.29.0
2 parents 6375e7b + 9b18344 commit 0e000c5

File tree

7 files changed

+26
-10
lines changed

7 files changed

+26
-10
lines changed

CHANGELOG.md

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

3+
## 0.29.0 - 2025-02-04
4+
5+
### Enhancements
6+
- Fixed documentation for using external versions of libraries (credit: @ElBellaCiao)
7+
8+
### Breaking changes
9+
- Updated the minimum supported C++ standard to C++17
10+
311
## 0.28.0 - 2025-01-21
412

513
### Breaking changes

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
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.28.0 LANGUAGES CXX)
7+
project("databento" VERSION 0.29.0 LANGUAGES CXX)
88
string(TOUPPER ${PROJECT_NAME} PROJECT_NAME_UPPERCASE)
99

1010
#
@@ -100,7 +100,7 @@ message(STATUS "Added all header and implementation files.")
100100
# Set the project standard and warnings
101101
#
102102

103-
target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_11)
103+
target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_17)
104104
include(cmake/CompilerWarnings.cmake)
105105
set_target_warnings(${PROJECT_NAME})
106106
include(cmake/Sanitizers.cmake)

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ The client supports both streaming real-time and historical market data through
99

1010
## Usage
1111

12-
The minimum C++ standard is C++11 and the minimum CMake version is 3.14.
12+
The minimum C++ standard is C++17 and the minimum CMake version is 3.14.
1313

1414
### Integration
1515

16-
The easiest way to use our library is by embedding it with [CMake FetchContent](https://cmake.org/cmake/help/v3.11/module/FetchContent.html).
16+
The easiest way to use our library is by embedding it with [CMake FetchContent](https://cmake.org/cmake/help/latest/module/FetchContent.html).
1717
Your `CMakeLists.txt` should look something like the following:
1818

1919
```cmake
@@ -69,7 +69,7 @@ You'll need to ensure the following dependencies are installed:
6969

7070
By default, date, cpp-httplib and nlohmann\_json are downloaded by CMake as part of the build process.
7171
If you would like to use a local version of these libraries, enable the CMake flag
72-
`DATABENTO_ENABLE_EXTERNAL_DATE`, `DATABENTO_ENABLE_EXTERNAL_HTTPLIB`, or `DATABENTO_ENABLE_EXTERNAL_JSON` respectively.
72+
`DATABENTO_USE_EXTERNAL_DATE`, `DATABENTO_USE_EXTERNAL_HTTPLIB`, or `DATABENTO_USE_EXTERNAL_JSON` respectively.
7373

7474
#### Ubuntu
7575

cmake/Utils.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ function(add_example_target name file)
5454
PRIVATE
5555
databento::databento
5656
)
57-
target_compile_features(${name} PUBLIC cxx_std_11)
57+
target_compile_features(${name} PUBLIC cxx_std_17)
5858
set_target_warnings(${name})
5959
endfunction()

pkg/PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Maintainer: Databento <[email protected]>
22
_pkgname=databento-cpp
33
pkgname=databento-cpp-git
4-
pkgver=0.28.0
4+
pkgver=0.29.0
55
pkgrel=1
66
pkgdesc="Official C++ client for Databento"
77
arch=('any')

scripts/build.sh

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
#! /usr/bin/env bash
2-
set -e
2+
set -euo pipefail
3+
set -x
4+
5+
# Control the parallelism with the `NPROC` env
6+
# If unset, it defaults to the smaller of `nproc` or 8
7+
if [ -z "${NPROC+x}" ]; then
8+
NPROC="$(nproc)"
9+
NPROC="$(( $NPROC > 8 ? 8 : $NPROC ))"
10+
fi
311

412
cmake -S . -B build \
513
-DDATABENTO_ENABLE_UNIT_TESTING=1 \
614
-DDATABENTO_ENABLE_EXAMPLES=1 \
715
-DDATABENTO_ENABLE_CLANG_TIDY=1 \
816
-DDATABENTO_ENABLE_ASAN=1 \
917
-DDATABENTO_ENABLE_UBSAN=1
10-
cmake --build build -- -j "$(nproc)"
18+
cmake --build build -- -j "$NPROC"

tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ target_include_directories(
7878
# Set the compiler standard
7979
#
8080

81-
target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_11)
81+
target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_17)
8282
# Ensure std::string debug info is included
8383
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND CMAKE_BUILD_TYPE STREQUAL "Debug")
8484
target_compile_options(${PROJECT_NAME} PRIVATE -fstandalone-debug)

0 commit comments

Comments
 (0)