File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 0.49.0 - 2026-02-24
4+
5+ ### Enhancements
6+ - Added ` SkippedRecordsAfterSlowReading ` to the ` ErrorCode ` enum for gateway errors
7+ originating from slow client catch-up
8+
39## 0.48.0 - 2026-02-18
410
511### Enhancements
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 3.24..4.2)
66
77project (
88 databento
9- VERSION 0.48 .0
9+ VERSION 0.49 .0
1010 LANGUAGES CXX
1111 DESCRIPTION "Official Databento client library"
1212)
Original file line number Diff line number Diff line change @@ -632,6 +632,9 @@ enum ErrorCode : std::uint8_t {
632632 InvalidSubscription = 5 ,
633633 // An error occurred in the gateway.
634634 InternalError = 6 ,
635+ // A slow client was detected and records were skipped by the gateway to allow
636+ // catching up.
637+ SkippedRecordsAfterSlowReading = 7 ,
635638 // No error code was specified or this record was upgraded from a version 1 struct
636639 // where the code field didn't exist.
637640 Unset = 255 ,
Original file line number Diff line number Diff line change 11# Maintainer: Databento <support@databento.com>
22_pkgname=databento-cpp
33pkgname=databento-cpp-git
4- pkgver=0.48 .0
4+ pkgver=0.49 .0
55pkgrel=1
66pkgdesc=" Official C++ client for Databento"
77arch=(' any' )
Original file line number Diff line number Diff line change @@ -802,6 +802,9 @@ const char* ToString(ErrorCode error_code) {
802802 case ErrorCode::InternalError: {
803803 return " internal_error" ;
804804 }
805+ case ErrorCode::SkippedRecordsAfterSlowReading: {
806+ return " skipped_records_after_slow_reading" ;
807+ }
805808 case ErrorCode::Unset: {
806809 return " unset" ;
807810 }
@@ -1256,6 +1259,9 @@ ErrorCode FromString(const std::string& str) {
12561259 if (str == " internal_error" ) {
12571260 return ErrorCode::InternalError;
12581261 }
1262+ if (str == " skipped_records_after_slow_reading" ) {
1263+ return ErrorCode::SkippedRecordsAfterSlowReading;
1264+ }
12591265 if (str == " unset" ) {
12601266 return ErrorCode::Unset;
12611267 }
You can’t perform that action at this time.
0 commit comments