File tree Expand file tree Collapse file tree 3 files changed +13
-8
lines changed
Expand file tree Collapse file tree 3 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3- ## 0.21.1 - TBD
3+ ## 0.22.0 - TBD
44
55### Enhancements
6- - Renamed example directory to examples
7- - Renamed test directory to tests
6+ - Added ` Intraday ` variant to ` DatasetCondition ` in preparation for intraday data being
7+ available from the historical API
8+ - Renamed ` example ` directory to ` examples `
9+ - Renamed ` test ` directory to ` tests `
10+
11+ ### Breaking changes
12+ - Removed previously deprecated ` DatasetCondition::Bad ` variant
813
914## 0.21.0 - 2024-07-30
1015
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ enum class DatasetCondition : std::uint8_t {
114114 Degraded,
115115 Pending,
116116 Missing,
117- Bad, // Deprecated
117+ Intraday,
118118};
119119
120120// Sentinel values for different DBN record types.
Original file line number Diff line number Diff line change @@ -251,8 +251,8 @@ const char* ToString(DatasetCondition condition) {
251251 case DatasetCondition::Missing: {
252252 return " missing" ;
253253 }
254- case DatasetCondition::Bad : { // Deprecated
255- return " bad " ;
254+ case DatasetCondition::Intraday : {
255+ return " intraday " ;
256256 }
257257 default : {
258258 return " unknown" ;
@@ -1104,8 +1104,8 @@ DatasetCondition FromString(const std::string& str) {
11041104 if (str == " missing" ) {
11051105 return DatasetCondition::Missing;
11061106 }
1107- if (str == " bad " ) {
1108- return DatasetCondition::Bad; // Deprecated
1107+ if (str == " intraday " ) {
1108+ return DatasetCondition::Intraday;
11091109 }
11101110 throw InvalidArgumentError{" FromString<DatasetCondition>" , " str" ,
11111111 " unknown value '" + str + ' \' ' };
You can’t perform that action at this time.
0 commit comments