Skip to content

Releases: banditcpp/snowhouse

Snowhouse v5.0.0

04 Mar 00:06
3faaff8
Compare
Choose a tag to compare

This release changes the C++ standard of Snowhouse to C++11. Hence, Snowhouse requires a C++11-compliant compiler. Also the required CMake version is updated from 2.8 to 3.1 (only necessary if you want to compile the Snowhouse tests or for one of many options to include Snowhouse into your project).

If AssertThrow() fails because another exception (than the expected one) has been thrown, Snowhouse prints the description of the unexpected exception. Kudos to @Cogitri, see issue #47 and PR #48.

The definition of the macro SNOWHOUSE_HAS_NULLPTR is removed.

Snowhouse exceptions are now derived from the std::exception hierarchy, thus their method names changed.

Snowhouse v4.0.1

28 Feb 12:18
Compare
Choose a tag to compare

This patch release gets rid of a -Wnon-virtual-dtor warning when compiling with C++11 support.

Note that this release (and further major version 4 releases) will not provide a headers-only branch, since further maintenance of major version 4 is one a side branch (maint-v4) and version 5.0.0 will be releases in the very near future.

Snowhouse v4.0.0

26 Dec 23:58
cd0761b
Compare
Choose a tag to compare

This release improves the display of booleans (see #45) and strings (see #42) by setting their DefaultStringizers.

Snowhouse v3.1.1

10 Jun 15:13
v3.1.1
Compare
Choose a tag to compare

This patch release contains a small bugfix by getting rid of a nullptr
warning, see #41 by @MartinDelille.

Snowhouse v3.1.0

09 Jan 22:16
v3.1.0
Compare
Choose a tag to compare

This is a minor update of Snowhouse.

The only new feature is that you can use Snowhouse as a CMake library, see #38 by @HauserV. For this, the library is moved into an include subdirectory.
Note that this is a compatibility-breaking change if you use the master branch as a submodule, which, however, is not a documented use of Snowhouse. In the headers-only branch, nothing changes (except the documentation).

Snowhouse v3.0.1

05 Dec 19:05
Compare
Choose a tag to compare

This release contains mainly internal and compatibility changes:

  • CMake and CI changes for C++ standard compatibility
  • Allow clang-cl (Windows) builds (by @skystrife)
  • Ensure that Snowhouse macros do not shadow variable names
  • Use ::std::* instead of std::* in macros (by @garyfurnish)

Thanks to all contributors!

Snowhouse v3.0.0

08 Apr 16:33
v3.0.0
Compare
Choose a tag to compare

This is a compatibility-breaking release of Snowhouse.

The main (user-relevant) changes in this release are:

  • A bug is fixed that AssertThat did sometimes not work while Assert::That did (see #26).
  • Our macros that behave like functions, like AssertThat or AssertThrow, must be followed by a semicolon.
  • Several problems arising with C++11's nullptr_t and our IsNull are resolved (see #17 and #18).
  • Stringizers are officially documented (see #20).
  • Container stringizers are smarter and handle every container having a const iterator as well as begin() and end() methods.
  • IsEmpty() and Is().Empty() are using the containers' empty() method instead of size() (see #14). This extends this functionality to work with STL containers that have no size() method, like C++11's std::forward_list.
  • Snowhouse is now explicitly using Semantic Versioning 2.0.0.

Snowhouse v2.1.0

03 Apr 18:33
Compare
Choose a tag to compare

Joakim Karlsson (1):

  • Adds #if guards around nullptr specific code

Simon Bourne (1):

  • Fix formatting for "nullptr"

simon.bourne (1):

  • Add Null checks. Macros don't require 'using namespace snowhouse' to work. Fix Stringize for nullptr_t

Snowhouse v2.0.1

03 Apr 18:32
Compare
Choose a tag to compare

Loosens the requirement for CMake version

Snowhouse v2.0.0

03 Apr 18:31
Compare
Choose a tag to compare

Joakim Karlsson (8):

  • chore(documentation): Added info about using stream operators for better output
  • testing: Copied tests from igloo to snowhouse
  • chore: moved basic tests to own files.
  • fix: error in stringize tests.
  • chore: added script for compiling with different configurations
  • [fix]: removed auto_ptr to avoid deprecated warnings in C++11
  • chore: added license file.
  • Put the C++11 and C++ tracks on the same branch

Jędrzej (1):

  • Fix typo in README.md

Roman Maksymyschyn (3):

  • Add is greater than or equal to assertion.
  • Add is less than or equal to assertion.
  • Add usage examples of GreaterThanOrEqualTo and LessThanOrEqualTo to the realm.

Simon Bourne (8):

  • Make error handler configurable
  • Add a test for configurable errors
  • Capitalise Handle method on error handler.
  • Test for AssertThrows, and ability to disable unprefixed macro.
  • Remove unused FailureHandler member.
  • Add SNOWHOUSE prefixed macros.
  • Update docs
  • Example use cases for custome failure handlers.