Skip to content

Commit d2d8455

Browse files
committed
v2.2.2
1 parent ab30621 commit d2d8455

File tree

8 files changed

+271
-48
lines changed

8 files changed

+271
-48
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if(NOT DEFINED PROJECT_NAME)
66
set(NOT_SUBPROJECT ON)
77
endif()
88

9-
project(Catch2 LANGUAGES CXX VERSION 2.2.1)
9+
project(Catch2 LANGUAGES CXX VERSION 2.2.2)
1010

1111
include(GNUInstallDirs)
1212

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
[![Build Status](https://travis-ci.org/catchorg/Catch2.svg?branch=master)](https://travis-ci.org/catchorg/Catch2)
66
[![Build status](https://ci.appveyor.com/api/projects/status/github/catchorg/Catch2?svg=true)](https://ci.appveyor.com/project/catchorg/catch2)
77
[![codecov](https://codecov.io/gh/catchorg/Catch2/branch/master/graph/badge.svg)](https://codecov.io/gh/catchorg/Catch2)
8-
[![Try online](https://img.shields.io/badge/try-online-blue.svg)](https://wandbox.org/permlink/zDKMK3eGMC9IP2jy)
8+
[![Try online](https://img.shields.io/badge/try-online-blue.svg)](https://wandbox.org/permlink/fRDMfYjUnrbOFwLn)
99

10-
<a href="https://github.com/catchorg/Catch2/releases/download/v2.2.1/catch.hpp">The latest version of the single header can be downloaded directly using this link</a>
10+
<a href="https://github.com/catchorg/Catch2/releases/download/v2.2.2/catch.hpp">The latest version of the single header can be downloaded directly using this link</a>
1111

1212
## Catch2 is released!
1313

conanfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
class CatchConan(ConanFile):
66
name = "Catch"
7-
version = "2.2.1"
7+
version = "2.2.2"
88
description = "A modern, C++-native, header-only, framework for unit-tests, TDD and BDD"
99
author = "philsquared"
1010
generators = "cmake"

docs/release-notes.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
<a id="top"></a>
22

3+
# 2.2.2
4+
5+
## Fixes
6+
* Fixed bug in `WithinAbs::match()` failing spuriously (#1228)
7+
* Fixed clang-tidy diagnostic about virtual call in destructor (#1226)
8+
* Reduced the number of GCC warnings suppression leaking out of the header (#1090, #1091)
9+
* Only `-Wparentheses` should be leaking now
10+
* Added upper bound on the time benchmark timer calibration is allowed to take (#1237)
11+
* On platforms where `std::chrono::high_resolution_clock`'s resolution is low, the calibration would appear stuck
12+
* Fixed compilation error when stringifying static arrays of `unsigned char`s (#1238)
13+
14+
## Improvements
15+
* XML encoder now hex-encodes invalid UTF-8 sequences (#1207)
16+
* This affects xml and junit reporters
17+
* Some invalid UTF-8 parts are left as is, e.g. surrogate pairs. This is because certain extensions of UTF-8 allow them, such as WTF-8.
18+
* CLR objects (`T^`) can now be stringified (#1216)
19+
* This affects code compiled as C++/CLI
20+
* Added `PredicateMatcher`, a matcher that takes an arbitrary predicate function (#1236)
21+
* See [documentation for details](https://github.com/catchorg/Catch2/blob/master/docs/matchers.md)
22+
23+
## Others
24+
* Modified CMake-installed pkg-config to allow `#include <catch.hpp>`(#1239)
25+
* The plans to standardize on `#include <catch2/catch.hpp>` are still in effect
26+
27+
328
# 2.2.1
429

530
## Fixes

include/catch.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
#define CATCH_VERSION_MAJOR 2
1313
#define CATCH_VERSION_MINOR 2
14-
#define CATCH_VERSION_PATCH 1
14+
#define CATCH_VERSION_PATCH 2
1515

1616
#ifdef __clang__
1717
# pragma clang system_header

include/internal/catch_version.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ namespace Catch {
3737
}
3838

3939
Version const& libraryVersion() {
40-
static Version version( 2, 2, 1, "", 0 );
40+
static Version version( 2, 2, 2, "", 0 );
4141
return version;
4242
}
4343

0 commit comments

Comments
 (0)