Skip to content

Commit

Permalink
v.10.9.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
claremacrae committed Apr 30, 2021
1 parent 9456525 commit 4d46227
Show file tree
Hide file tree
Showing 7 changed files with 61 additions and 48 deletions.
48 changes: 24 additions & 24 deletions ApprovalTests/ApprovalTests.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
#include "ApprovalTests/reporters/ConvertForCygwin.h"
#include "ApprovalTests/launchers/CommandLauncher.h"
#include "ApprovalTests/reporters/CommandReporter.h"
#include "ApprovalTests/utilities/FileUtils.h"
#include "ApprovalTests/utilities/WinMinGWUtils.h"
#include "ApprovalTests/ApprovalsMacroDefaults.h"
#include "ApprovalTests/utilities/Macros.h"
#include "ApprovalTests/utilities/WinMinGWUtils.h"
#include "ApprovalTests/utilities/FileUtils.h"
#include "ApprovalTests/utilities/StringMaker.h"
#include "ApprovalTests/utilities/StringUtils.h"
#include "ApprovalTests/utilities/SystemUtils.h"
Expand All @@ -25,35 +25,38 @@
#include "ApprovalTests/utilities/Blocker.h"
#include "ApprovalTests/utilities/MachineBlocker.h"
#include "ApprovalTests/reporters/AutoApproveReporter.h"
#include "ApprovalTests/utilities/Path.h"
#include "ApprovalTests/core/ApprovalNamer.h"
#include "ApprovalTests/namers/ApprovalTestNamer.h"
#include "ApprovalTests/namers/SectionNameDisposer.h"
#include "ApprovalTests/integrations/google/GoogleCustomizationsFactory.h"
#include "ApprovalTests/integrations/fmt/FmtToString.h"
#include "ApprovalTests/utilities/MoreHelpMessages.h"
#include "ApprovalTests/utilities/CartesianProduct.h"
#include "ApprovalTests/reporters/DefaultReporter.h"
#include "ApprovalTests/namers/DefaultNamerFactory.h"
#include "ApprovalTests/scrubbers/Scrubbers.h"
#include "ApprovalTests/core/Options.h"
#include "ApprovalTests/namers/ExistingFileNamer.h"
#include "ApprovalTests/namers/NamerFactory.h"
#include "ApprovalTests/ApprovalUtils.h"
#include "ApprovalTests/core/ApprovalComparator.h"
#include "ApprovalTests/comparators/ComparatorDisposer.h"
#include "ApprovalTests/comparators/ComparatorFactory.h"
#include "ApprovalTests/core/ApprovalWriter.h"
#include "ApprovalTests/writers/ExistingFile.h"
#include "ApprovalTests/writers/StringWriter.h"
#include "ApprovalTests/core/FileApprover.h"
#include "ApprovalTests/namers/SubdirectoryDisposer.h"
#include "ApprovalTests/reporters/DefaultReporterFactory.h"
#include "ApprovalTests/reporters/DefaultReporterDisposer.h"
#include "ApprovalTests/reporters/FirstWorkingReporter.h"
#include "ApprovalTests/reporters/DefaultFrontLoadedReporter.h"
#include "ApprovalTests/reporters/FrontLoadedReporterFactory.h"
#include "ApprovalTests/reporters/FrontLoadedReporterDisposer.h"
#include "ApprovalTests/reporters/DefaultReporterFactory.h"
#include "ApprovalTests/reporters/DefaultReporterDisposer.h"
#include "ApprovalTests/namers/SubdirectoryDisposer.h"
#include "ApprovalTests/scrubbers/Scrubbers.h"
#include "ApprovalTests/namers/DefaultNamerFactory.h"
#include "ApprovalTests/core/Options.h"
#include "ApprovalTests/namers/ExistingFileNamer.h"
#include "ApprovalTests/writers/ExistingFile.h"
#include "ApprovalTests/namers/DefaultNamerDisposer.h"
#include "ApprovalTests/writers/StringWriter.h"
#include "ApprovalTests/core/ApprovalComparator.h"
#include "ApprovalTests/comparators/ComparatorDisposer.h"
#include "ApprovalTests/comparators/ComparatorFactory.h"
#include "ApprovalTests/core/FileApprover.h"
#include "ApprovalTests/ApprovalUtils.h"
#include "ApprovalTests/Approvals.h"
#include "ApprovalTests/namers/TemplatedCustomNamer.h"
#include "ApprovalTests/integrations/google/GoogleCustomizationsFactory.h"
#include "ApprovalTests/integrations/fmt/FmtToString.h"
#include "ApprovalTests/utilities/MoreHelpMessages.h"
#include "ApprovalTests/utilities/CartesianProduct.h"
#include "ApprovalTests/reporters/DefaultReporter.h"
#include "ApprovalTests/CombinationApprovals.h"
#include "ApprovalTests/comparators/TextFileComparator.h"
#include "ApprovalTests/core/ApprovalException.h"
Expand All @@ -67,9 +70,7 @@
#include "ApprovalTests/integrations/google/GoogleTestApprovals.h"
#include "ApprovalTests/integrations/ut/UTApprovals.h"
#include "ApprovalTests/namers/HelpMessages.h"
#include "ApprovalTests/namers/NamerFactory.h"
#include "ApprovalTests/namers/SeparateApprovedAndReceivedDirectoriesNamer.h"
#include "ApprovalTests/namers/TemplatedCustomNamer.h"
#include "ApprovalTests/reporters/AutoApproveIfMissingReporter.h"
#include "ApprovalTests/reporters/BlockingReporter.h"
#include "ApprovalTests/reporters/CIBuildOnlyReporter.h"
Expand All @@ -85,7 +86,6 @@
#include "ApprovalTests/utilities/DateUtils.h"
#include "ApprovalTests/utilities/ExceptionCollector.h"
#include "ApprovalTests/utilities/FileUtilsSystemSpecific.h"
#include "ApprovalTests/utilities/Path.h"

#ifdef APPROVAL_TESTS_INCLUDE_CPPS
// Cpp files will be included in the single-header file here
Expand Down
4 changes: 2 additions & 2 deletions ApprovalTests/ApprovalTestsVersion.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#pragma once

#define APPROVAL_TESTS_VERSION_MAJOR 10
#define APPROVAL_TESTS_VERSION_MINOR 8
#define APPROVAL_TESTS_VERSION_MINOR 9
#define APPROVAL_TESTS_VERSION_PATCH 0
#define APPROVAL_TESTS_VERSION_STR "10.8.0"
#define APPROVAL_TESTS_VERSION_STR "10.9.0"

#define APPROVAL_TESTS_VERSION \
(APPROVAL_TESTS_VERSION_MAJOR * 10000 + APPROVAL_TESTS_VERSION_MINOR * 100 + \
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v1.4%20adopted-ff69b4.svg)](/CODE_OF_CONDUCT.md#top)

:arrow_down: <a href="https://github.com/approvals/ApprovalTests.cpp/releases/download/v.10.8.0/ApprovalTests.v.10.8.0.hpp">
Download the latest version (v.10.8.0) of the **single header file** here.</a>
:arrow_down: <a href="https://github.com/approvals/ApprovalTests.cpp/releases/download/v.10.9.0/ApprovalTests.v.10.9.0.hpp">
Download the latest version (v.10.9.0) of the **single header file** here.</a>

:book: [**Read the Docs**](https://approvaltestscpp.readthedocs.io/en/latest/)

Expand Down
26 changes: 26 additions & 0 deletions build/release_notes/relnotes_10.9.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!-- See the [v.10.9.0 milestone](https://github.com/approvals/ApprovalTests.cpp/milestone/__MILESTONE_NUMBER__?closed=1) for the full list of changes. -->

* **Breaking changes**
* None
* **New features**
* Custom template namer: see [TemplatedCustomNamer](/doc/Namers.md#templatedcustomnamer). (#149)
* This gives great flexibility
* It also introduces the ability to run Approval Tests on machines that do not have the source code, such as when doing cross-compilation.
* `Options.withNamer()`: [Options](/doc/Options.md#top) now has the ability to specify a custom namer.
* New `Path` utility class: see [Path.h](/ApprovalTests/utilities/Path.h) and [Path.cpp](/ApprovalTests/utilities/Path.cpp)
* **Bug fixes**
* Calls to `Approvals::verify()` and related methods no longer spuriously pass if the received and approved
filenames are identical (#178)
* `TextDiffReporter` no longer throws when reporting that files differ.
* This improves the content of logs when running Approval Tests in CI builds. (#106)
* ApprovalTests.cpp's tests and examples should now never be built when used as a sub-project. (#179)
* **Other changes**
* Added new documentation sections:
* [Code to copy for your first Boost.Test Approvals test](/doc/UsingBoostTest.md#code-to-copy-for-your-first-boosttest-approvals-test)
* [Code to copy for your first Catch2 Approvals test](/doc/UsingCatch.md#code-to-copy-for-your-first-catch2-approvals-test)
* [Code to copy for your first CppUTest Approvals test](/doc/UsingCppUTest.md#code-to-copy-for-your-first-cpputest-approvals-test)
* [Code to copy for your first doctest Approvals test](/doc/UsingDoctest.md#code-to-copy-for-your-first-doctest-approvals-test)
* [Code to copy for your first Google Test Approvals test](/doc/UsingGoogleTests.md#code-to-copy-for-your-first-google-test-approvals-test)
* [Code to copy for your first \[Boost\].UT Approvals test](/doc/UsingUT.md#code-to-copy-for-your-first-boostut-approvals-test)
* Removed CI builds for clang and gcc < v9
* Some of our internal tests now use [gulrak's filesystem](https://github.com/gulrak/filesystem). Thanks @gulrak!
22 changes: 3 additions & 19 deletions build/relnotes_x.y.z.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,8 @@
* **Breaking changes**
* None
* **New features**
* Custom template namer: see [TemplatedCustomNamer](/doc/Namers.md#templatedcustomnamer). (#149)
* This gives great flexibility
* It also introduces the ability to run Approval Tests on machines that do not have the source code, such as when doing cross-compilation.
* `Options.withNamer()`: [Options](/doc/Options.md#top) now has the ability to specify a custom namer.
* New `Path` utility class: see [Path.h](/ApprovalTests/utilities/Path.h) and [Path.cpp](/ApprovalTests/utilities/Path.cpp)
* None
* **Bug fixes**
* Calls to `Approvals::verify()` and related methods no longer spuriously pass if the received and approved
filenames are identical (#178)
* `TextDiffReporter` no longer throws when reporting that files differ.
* This improves the content of logs when running Approval Tests in CI builds. (#106)
* ApprovalTests.cpp's tests and examples should now never be built when used as a sub-project. (#179)
* None
* **Other changes**
* Added new documentation sections:
* [Code to copy for your first Boost.Test Approvals test](/doc/UsingBoostTest.md#code-to-copy-for-your-first-boosttest-approvals-test)
* [Code to copy for your first Catch2 Approvals test](/doc/UsingCatch.md#code-to-copy-for-your-first-catch2-approvals-test)
* [Code to copy for your first CppUTest Approvals test](/doc/UsingCppUTest.md#code-to-copy-for-your-first-cpputest-approvals-test)
* [Code to copy for your first doctest Approvals test](/doc/UsingDoctest.md#code-to-copy-for-your-first-doctest-approvals-test)
* [Code to copy for your first Google Test Approvals test](/doc/UsingGoogleTests.md#code-to-copy-for-your-first-google-test-approvals-test)
* [Code to copy for your first \[Boost\].UT Approvals test](/doc/UsingUT.md#code-to-copy-for-your-first-boostut-approvals-test)
* Removed CI builds for clang and gcc < v9
* Some of our internal tests now use [gulrak's filesystem](https://github.com/gulrak/filesystem). Thanks @gulrak!
* None
2 changes: 1 addition & 1 deletion build/version.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[VERSION]
major = 10
minor = 8
minor = 9
patch = 0

3 changes: 3 additions & 0 deletions doc/Features.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
## Contents

* [v.x.y.z](#vxyz)
* [v.10.9.0](#v1090)
* [Custom template namer](#custom-template-namer)
* [Options.withNamer()](#optionswithnamer)
* [Path](#path)
Expand Down Expand Up @@ -75,6 +76,8 @@

## v.x.y.z

## v.10.9.0

### Custom template namer

See [TemplatedCustomNamer](/doc/Namers.md#templatedcustomnamer)
Expand Down

0 comments on commit 4d46227

Please sign in to comment.