Releases: banditcpp/snowhouse
Snowhouse v5.0.0
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
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
Snowhouse v3.1.1
This patch release contains a small bugfix by getting rid of a nullptr
warning, see #41 by @MartinDelille.
Snowhouse v3.1.0
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
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 ofstd::*
in macros (by @garyfurnish)
Thanks to all contributors!
Snowhouse v3.0.0
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 whileAssert::That
did (see #26). - Our macros that behave like functions, like
AssertThat
orAssertThrow
, must be followed by a semicolon. - Several problems arising with C++11's
nullptr_t
and ourIsNull
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()
andend()
methods. IsEmpty()
andIs().Empty()
are using the containers'empty()
method instead ofsize()
(see #14). This extends this functionality to work with STL containers that have nosize()
method, like C++11'sstd::forward_list
.- Snowhouse is now explicitly using Semantic Versioning 2.0.0.
Snowhouse v2.1.0
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
Loosens the requirement for CMake version
Snowhouse v2.0.0
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.