Skip to content

Commit 7b98851

Browse files
committed
version 2.4.8
1 parent ea0c442 commit 7b98851

File tree

11 files changed

+50
-17
lines changed

11 files changed

+50
-17
lines changed

CHANGELOG.md

+31
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# Change Log
22

3+
## [2.4.8](https://github.com/doctest/doctest/tree/2.4.8) (2022-01-10)
4+
[Full Changelog](https://github.com/doctest/doctest/compare/2.4.7...2.4.8)
5+
6+
**Closed issues:**
7+
8+
- \[meta\] Change git tagging pattern [\#579](https://github.com/doctest/doctest/issues/579)
9+
- TEST\_CASE\_TEMPLATE causes "-Wunused-local-typedef" warning on Clang [\#577](https://github.com/doctest/doctest/issues/577)
10+
- Regression between 2.4.6 and 2.4.7 with Visual Studio 2015 [\#573](https://github.com/doctest/doctest/issues/573)
11+
- Regression between 2.4.6 and 2.4.7 [\#571](https://github.com/doctest/doctest/issues/571)
12+
- Compilation error on MSVS2019 with ClangCL [\#570](https://github.com/doctest/doctest/issues/570)
13+
- Compilation errors on MSVC 2015 after doctest update to 2.4.7 [\#568](https://github.com/doctest/doctest/issues/568)
14+
- `g\_oss` is causing incorrect stringification results [\#567](https://github.com/doctest/doctest/issues/567)
15+
- MSVC warnings leak through when using the library as a single header with /Wall [\#565](https://github.com/doctest/doctest/issues/565)
16+
- \[PROJECT ANNOUNCEMENT\] Looking for maintainers for Doctest [\#554](https://github.com/doctest/doctest/issues/554)
17+
- Is this still maintained? [\#537](https://github.com/doctest/doctest/issues/537)
18+
- \[Feature request\] CHECK could return the value of expression [\#496](https://github.com/doctest/doctest/issues/496)
19+
- Feature: check or return false [\#426](https://github.com/doctest/doctest/issues/426)
20+
- Undefined reference of `operator\<\<\(ostream&, const string&\)` when compiling with clang 10 and libc++ 10 on Ubuntu 16.04.6 LTS [\#356](https://github.com/doctest/doctest/issues/356)
21+
- Doctest is not able to compile on OSX [\#126](https://github.com/doctest/doctest/issues/126)
22+
23+
**Merged pull requests:**
24+
25+
- Continuous Integration Refactor [\#580](https://github.com/doctest/doctest/pull/580) ([Saalvage](https://github.com/Saalvage))
26+
- Fix semicolon enforcement [\#578](https://github.com/doctest/doctest/pull/578) ([Saalvage](https://github.com/Saalvage))
27+
- Fix unused variable 2 [\#576](https://github.com/doctest/doctest/pull/576) ([Saalvage](https://github.com/Saalvage))
28+
- Alternative approach to Windows color initialization [\#575](https://github.com/doctest/doctest/pull/575) ([Saalvage](https://github.com/Saalvage))
29+
- Assertions returning booleans [\#574](https://github.com/doctest/doctest/pull/574) ([Saalvage](https://github.com/Saalvage))
30+
- Fix the thread-local string-stream [\#569](https://github.com/doctest/doctest/pull/569) ([Saalvage](https://github.com/Saalvage))
31+
- Clean up warning suppression a bit; Fixes \#565 [\#566](https://github.com/doctest/doctest/pull/566) ([Saalvage](https://github.com/Saalvage))
32+
- Add Universal Windows Platform support [\#558](https://github.com/doctest/doctest/pull/558) ([isaevil](https://github.com/isaevil))
33+
334
## [2.4.7](https://github.com/doctest/doctest/tree/2.4.7) (2021-12-10)
435
[Full Changelog](https://github.com/doctest/doctest/compare/2.4.6...2.4.7)
536

doc/html_generated/configuration.html

+5
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
- [**```DOCTEST_CONFIG_NO_POSIX_SIGNALS```**](#doctest_config_no_posix_signals)
3737
- [**```DOCTEST_CONFIG_INCLUDE_TYPE_TRAITS```**](#doctest_config_include_type_traits)
3838
- [**```DOCTEST_CONFIG_NO_MULTI_LANE_ATOMICS```**](#doctest_config_no_multi_lane_atomics)
39+
- [**```DOCTEST_CONFIG_EVALUATE_ASSERTS_EVEN_WHEN_DISABLED```**](#doctest_config_evaluate_asserts_even_when_disabled)
3940

4041
For most people the only configuration needed is telling **doctest** which source file should host all the implementation code:
4142

@@ -244,6 +245,10 @@
244245

245246
This can be used to disable multi lane atomics. Multi lane atomics can speed up highly parallel use of assert statements, but have a small overhead for single threaded applications.
246247

248+
### **```DOCTEST_CONFIG_EVALUATE_ASSERTS_EVEN_WHEN_DISABLED```**
249+
250+
This can be used to evaluate asserts even when **```DOCTEST_CONFIG_DISABLE```** is used - this is useful when they are used in production code within if statements so that the condition continues to be evaluated.
251+
247252
---------------
248253

249254
[Home](readme.html#reference)

doc/html_generated/features.html

+6-7
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
- 0 warnings even with the most aggressive flags (on all tested compilers!!!)
2020
- ```-Weverything -pedantic``` for **clang**
2121
- ```-Wall -Wextra -pedantic``` and **>> over 35 <<** other warnings **not** covered by these flags for **GCC**!!! - see [**here**](../../scripts/cmake/common.cmake#L84)
22-
- ```/Wall``` for **MSVC** (except for: ```C4514```, ```C4571```, ```C4710```, ```C4711```)
22+
- ```/Wall``` for **MSVC**
2323
- doesn't error on unrecognized [**command line**](commandline.html) options and supports prefixes for interop with client command line parsing
2424
- can set options [**procedurally**](main.html) and not deal with passing ```argc```/```argv``` from the command line
2525
- doesn't leave warnings disabled after itself
@@ -29,18 +29,17 @@
2929
**SOME OF THIS IS OUTDATED**
3030

3131
- Standards compliant **C++11** code - should work with any **C++11** capable compiler (use tag [**1.2.9**](https://github.com/doctest/doctest/tree/1.2.9) for C++98 and older compilers)
32-
- tested with **GCC**: **4.8**, **4.9**, **5**, **6**, **7**, **8**, **9**, **10**
33-
- tested with **Clang**: **3.5**, **3.6**, **3.7**, **3.8**, **3.9**, **4**, **5**, **6**, **7**, **8**, **9** (XCode 6+)
34-
- tested with **MSVC**: **2015**, **2017**, **2019** (also in 32 bit mode)
35-
- per-commit tested on [**travis**](https://travis-ci.org/doctest/doctest) and [**appveyor**](https://ci.appveyor.com/project/doctest/doctest) CI services
32+
- tested with **GCC**: **4.8**, **4.9**, **5**, **6**, **7**, **8**, **9**, **10**, **11**
33+
- tested with **Clang**: **3.5**, **3.6**, **3.7**, **3.8**, **3.9**, **4**, **5**, **6**, **7**, **8**, **9**, **10**, **11**, **12**, **13** (XCode 10+)
34+
- tested with **MSVC**: **2015**, **2017**, **2019**, **2022** (also in 32 bit mode)
35+
- per-commit tested on [**GitHub Actions**](https://github.com/doctest/doctest/actions)
3636
- warnings as errors even on the most aggressive warning levels - see [**here**](../../scripts/cmake/common.cmake#L84)
3737
- statically analyzed on the CI - [**Cppcheck**](http://cppcheck.sourceforge.net/) / [**Clang-Tidy**](https://clang.llvm.org/extra/clang-tidy/) / [**Coverity Scan**](https://scan.coverity.com/) / [**OCLint**](http://oclint.org/) / [**Visual Studio Analyzer**](https://docs.microsoft.com/en-us/visualstudio/code-quality/analyzing-c-cpp-code-quality-by-using-code-analysis)
3838
- all tests have their output compared to reference output of a previous known good run
3939
- all tests built and ran in **Debug**/**Release** modes
4040
- all tests ran through **valgrind** under **Linux** (sadly [not under OSX](https://github.com/doctest/doctest/issues/11))
4141
- all tests ran through **address**, **UB** and **thread** sanitizers under **Linux**/**OSX**
42-
- tests are ran in more than **150** different configurations on UNIX (Linux + OSX) on **travis** CI
43-
- tests are ran in a total of **14** different configurations on Windows on **appveyor** CI
42+
- tests are ran in more than **300** different configurations on UNIX (Linux + OSX) & Windows
4443

4544
## Other features:
4645

doc/html_generated/roadmap.html

-2
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,6 @@
145145
### Things that are very unlikely to enter the roadmap:
146146

147147
- rethink static code analysis suppressions - users shouldn't have to use the same flags for code which uses doctest macros/types
148-
- move the "react()" part (the one that throws for REQUIRE asserts - or for when "abort-after=<int>" is reached) to a function call in the while() part of the asserts
149-
- stop using underscores for the beginning of identifiers - the anonymous variables - against the standard...
150148
- templated fixture test cases
151149
- test with missed warning flags for GCC
152150
- https://github.com/Barro/compiler-warnings

doctest/doctest.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
#define DOCTEST_VERSION_MAJOR 2
5050
#define DOCTEST_VERSION_MINOR 4
51-
#define DOCTEST_VERSION_PATCH 7
51+
#define DOCTEST_VERSION_PATCH 8
5252

5353
// util we need here
5454
#define DOCTEST_TOSTR_IMPL(x) #x

doctest/parts/doctest_fwd.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
#define DOCTEST_VERSION_MAJOR 2
4747
#define DOCTEST_VERSION_MINOR 4
48-
#define DOCTEST_VERSION_PATCH 7
48+
#define DOCTEST_VERSION_PATCH 8
4949

5050
// util we need here
5151
#define DOCTEST_TOSTR_IMPL(x) #x
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[doctest] doctest version is "2.4.7"
1+
[doctest] doctest version is "2.4.8"
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<doctest binary="all_features" version="2.4.7">
2+
<doctest binary="all_features" version="2.4.8">
33
<Options order_by="file" rand_seed="324" first="0" last="4294967295" abort_after="0" subcase_filter_levels="2147483647" case_sensitive="false" no_throw="false" no_skip="false"/>
44
</doctest>

meson.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
project('doctest', ['cpp'], version: '2.4.7', meson_version:'>=0.50')
1+
project('doctest', ['cpp'], version: '2.4.8', meson_version:'>=0.50')
22

33
doctest_dep = declare_dependency(include_directories: include_directories('doctest'))
44

scripts/release_process.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
- update version in version.txt (following semver)
22
- run update_stuff.py from the scripts folder
3-
- regenerate test output
3+
- regenerate test output (actually only the `version` test's output changes and that was done to maximize code coverage - might remove it to simplify the release process)
44
- first run cmake with -DDOCTEST_TEST_MODE=COLLECT
55
- then run ctest & git add the changed and/or new .txt files
6-
- run update_changelog.py to update the changelog based on the closed issues & PRs
6+
- run update_changelog.py to update the changelog based on the closed issues & PRs (uses github changelog generator)
77
- might need credentials/access tokens
88
- might need a tmp folder in the root drive (C or D) if on Windows
99
- commit in dev

scripts/version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.7
1+
2.4.8

0 commit comments

Comments
 (0)