From ba1b083faa5bd59afd278d49c84c14b89bdd26c1 Mon Sep 17 00:00:00 2001 From: Llewellyn Falco Date: Mon, 18 May 2020 15:19:38 -0700 Subject: [PATCH] v.8.8.0 release --- ApprovalTests/ApprovalTests.hpp | 2 ++ ApprovalTests/ApprovalTestsVersion.h | 6 +++--- README.md | 2 +- build/release_notes/relnotes_8.8.0.md | 13 +++++++++++++ build/relnotes_x.y.z.md | 5 +---- build/version.ini | 4 ++-- doc/Features.md | 3 +++ doc/how_tos/UseTheFmtLibraryToPrintObjects.md | 4 ++-- doc/mdsource/Features.source.md | 2 ++ mdsource/README.source.md | 2 +- 10 files changed, 30 insertions(+), 13 deletions(-) create mode 100644 build/release_notes/relnotes_8.8.0.md diff --git a/ApprovalTests/ApprovalTests.hpp b/ApprovalTests/ApprovalTests.hpp index 14de2921d..0532b105f 100644 --- a/ApprovalTests/ApprovalTests.hpp +++ b/ApprovalTests/ApprovalTests.hpp @@ -24,6 +24,7 @@ #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/CartesianProduct.h" #include "ApprovalTests/writers/ExistingFile.h" #include "ApprovalTests/utilities/MoreHelpMessages.h" @@ -66,6 +67,7 @@ #include "ApprovalTests/integrations/boost_test/BoostTestApprovals.h" #include "ApprovalTests/integrations/catch/Catch2Approvals.h" #include "ApprovalTests/integrations/doctest/DocTestApprovals.h" +#include "ApprovalTests/integrations/fmt/FmtApprovals.h" #include "ApprovalTests/integrations/google/GoogleConfiguration.h" #include "ApprovalTests/integrations/google/GoogleTestApprovals.h" #include "ApprovalTests/integrations/ut/UTApprovals.h" diff --git a/ApprovalTests/ApprovalTestsVersion.h b/ApprovalTests/ApprovalTestsVersion.h index 471748471..c30db82b1 100644 --- a/ApprovalTests/ApprovalTestsVersion.h +++ b/ApprovalTests/ApprovalTestsVersion.h @@ -3,9 +3,9 @@ #include "ApprovalTests/ApprovalsMacroDefaults.h" #define APPROVAL_TESTS_VERSION_MAJOR 8 -#define APPROVAL_TESTS_VERSION_MINOR 7 -#define APPROVAL_TESTS_VERSION_PATCH 1 -#define APPROVAL_TESTS_VERSION_STR "8.7.1" +#define APPROVAL_TESTS_VERSION_MINOR 8 +#define APPROVAL_TESTS_VERSION_PATCH 0 +#define APPROVAL_TESTS_VERSION_STR "8.8.0" #define APPROVAL_TESTS_VERSION \ (APPROVAL_TESTS_VERSION_MAJOR * 10000 + APPROVAL_TESTS_VERSION_MINOR * 100 + \ diff --git a/README.md b/README.md index 02815dc20..15463ffc5 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ To change this file edit the source file and then execute ./run_markdown_templat [![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) -Download the latest version (v.8.7.1) of the **single header file** here. +Download the latest version (v.8.8.0) of the **single header file** here. ## Contents diff --git a/build/release_notes/relnotes_8.8.0.md b/build/release_notes/relnotes_8.8.0.md new file mode 100644 index 000000000..c434e382d --- /dev/null +++ b/build/release_notes/relnotes_8.8.0.md @@ -0,0 +1,13 @@ + + +* **Breaking changes** + * None +* **New features** + * FmtApprovals (#124) + Added integration with the [{fmt}](https://fmt.dev/) library. + See [How to Use the Fmt Library To Print Objects](/doc/how_tos/UseTheFmtLibraryToPrintObjects.md#top). + Thanks @alepez +* **Bug fixes** + * None +* **Other changes** + * None diff --git a/build/relnotes_x.y.z.md b/build/relnotes_x.y.z.md index 0672ff23e..20478daaf 100644 --- a/build/relnotes_x.y.z.md +++ b/build/relnotes_x.y.z.md @@ -3,10 +3,7 @@ * **Breaking changes** * None * **New features** - * FmtApprovals (#124) - Added integration with the [{fmt}](https://fmt.dev/) library. - See [How to Use the Fmt Library To Print Objects](/doc/how_tos/UseTheFmtLibraryToPrintObjects.md#top). - Thanks @alepez + * None * **Bug fixes** * None * **Other changes** diff --git a/build/version.ini b/build/version.ini index c6d03db30..31fb4984b 100644 --- a/build/version.ini +++ b/build/version.ini @@ -1,5 +1,5 @@ [VERSION] major = 8 -minor = 7 -patch = 1 +minor = 8 +patch = 0 diff --git a/doc/Features.md b/doc/Features.md index 81a8fdb6c..69f75f2d2 100644 --- a/doc/Features.md +++ b/doc/Features.md @@ -15,6 +15,7 @@ To change this file edit the source file and then execute ./run_markdown_templat ## Contents * [v.x.y.z](#vxyz) + * [v.8.8.0](#v880) * [FmtApprovals](#fmtapprovals) * [v.8.7.0](#v870) * [Options](#options) @@ -59,6 +60,8 @@ To change this file edit the source file and then execute ./run_markdown_templat ## v.x.y.z +## v.8.8.0 + ### FmtApprovals See [How to Use the Fmt Library To Print Objects](/doc/how_tos/UseTheFmtLibraryToPrintObjects.md#top). diff --git a/doc/how_tos/UseTheFmtLibraryToPrintObjects.md b/doc/how_tos/UseTheFmtLibraryToPrintObjects.md index 1a82408f5..eb8ac72ee 100644 --- a/doc/how_tos/UseTheFmtLibraryToPrintObjects.md +++ b/doc/how_tos/UseTheFmtLibraryToPrintObjects.md @@ -31,7 +31,7 @@ For example, vectors are not `ostream (<<)` printable by default. However, they ```cpp -std::vector numbers = {1,2,3}; +std::vector numbers = {1, 2, 3}; FmtApprovals::verify(numbers); ``` snippet source | anchor @@ -54,7 +54,7 @@ This will produce the following output: ```cpp #include ``` -snippet source | anchor +snippet source | anchor ## Installation diff --git a/doc/mdsource/Features.source.md b/doc/mdsource/Features.source.md index 14cfd0e6a..843af8092 100644 --- a/doc/mdsource/Features.source.md +++ b/doc/mdsource/Features.source.md @@ -8,6 +8,8 @@ toc ## v.x.y.z +## v.8.8.0 + ### FmtApprovals See [How to Use the Fmt Library To Print Objects](/doc/how_tos/UseTheFmtLibraryToPrintObjects.md#top). diff --git a/mdsource/README.source.md b/mdsource/README.source.md index 4a4d6b8f4..14a39ccbb 100644 --- a/mdsource/README.source.md +++ b/mdsource/README.source.md @@ -8,7 +8,7 @@ [![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) -Download the latest version (v.8.7.1) of the **single header file** here. +Download the latest version (v.8.8.0) of the **single header file** here. toc