Releases: MichaelTrikergiotis/mtl
Releases · MichaelTrikergiotis/mtl
2.0.0
Additions
- Added
mtl::is_std_tuple
type trait. - Added
mtl::is_std_tuple_v
type trait. - Added
const char*
overload formtl::to_num
. - Added
char
overload formtl::string::contains
.
Improvements
- Major performance improvement for
mtl::string::replace
withstd::string
/char
/char
arguments.- No longer performs any allocations.
- Major performance improvement for
mtl::string::contains
withstd::string
/char
arguments. - Improved
mtl::console::print_color
to support arguments that containCRLF
. - Improved
mtl::console::println_color
to support arguments that containCRLF
. - Improved performance for
mtl::console::print_color
. - Improved performance for
mtl::console::println_color
. - Improved
mtl::for_each
withstd::pair
. - Improved
mtl::for_each
withstd::tuple
. - Improved the
clang-tidy
configuration. - Improved type traits to be more robust.
- Improved exception messages.
- Improved error-detection and security.
- Added multiple
nullptr
checks throughout the entire codebase. - Removed a division from
mtl::string::pad
. - Updated to
fmt 8.0.1
.
Fixes
- Workaround for a
clang-tidy
bug. - Fixed a bug in
mtl::keep_duplicates_preserve
and all its variants.- Added tests to check that the bug never occurs again.
- Fixed
mtl::console::print_color
from spilling color withchar
that is newline. - Fixed
mtl::console::println_color
from spilling color withchar
that is newline. - Fixed
mtl::is_char
type trait to matchsigned char
. - Fixed
mtl::is_char_v
type trait to matchsigned char
.
Other
- A lot of code cleanup and refactoring.
- Added a new check to the
mtl-format
script. - Improved the utility scripts.
- Improved the documentation in various ways.
- Improved a lot of variable names.
- Improved a lot of comments.
- Improved a lot of tests.
- Added a ton of new tests.
1.2.2
- Improved argument names, documentation and comments.
- Improved performance for
mtl::console::print
. - Improved performance for
mtl::console::println
. - Very minor performance improvement for
mtl::console::print_all
. - Removed an extraneous comparison from
mtl::string::strip_front
. - Removed many tests that were too similar.
- Added, updated and renamed many tests.
- Updated to doctest 2.4.6.
1.2.1
- Added links to a repository with detailed examples :
- Fixed compilation errors with
mtl::for_each
when usingconst std::tuple
.- Added tests to check the errors don't occur again.
- Fixed compilation errors with
mtl::for_each
when usingconst std::pair
.- Added tests to check the errors don't occur again.
- Refactored some tests.
- Added many more tests.
1.2.0
- Increased performance for some functions :
- Increased performance for
mtl::string::split
. - Increased performance for
mtl::console::print_color
. - Increased performance for
mtl::console::println_color
. - Increased performance for
mtl::filesystem::read_all_lines
.
- Increased performance for
- Updated logo.
- Now looks great on GitHub with dark theme.
- Updated to doctest 2.4.4.
- Fix for a mingw cross-compilation issue.
- Fixed a redefinition error.
- Added tests to check that redefinition errors will not occur again.
- Fixed a bug in
mtl::string::split
with non-empty output containers.- Added tests to check the bug doesn't occur again.
- Fixed a bug in
mtl::filesystem::read_all_lines
with non-empty output containers.- Added tests to check the bug doesn't occur again.
- Added many more tests.
1.1.2
- Fixed a bug in
mtl::string::strip
.- Added tests to make sure the bug doesn't occur again.
- Fixed a bug in
mtl::string::strip_front
.- Added tests to make sure the bug doesn't occur again.
1.1.1
- Added navigation menus to documentation.
- Faster compilation by removing unused headers.
- Better performance for
mtl::filesystem::read_all_lines
. - Fixed a Windows compilation issue involving the
Windows.h
header. - Fixed
mtl::not_unique
incorrect predicate usage.
1.1.0
- Performance improvements in some cases.
- Code cleanup and minor fixes.
- Updated fmt to 7.1.3.
- Updated doctest to 2.4.1.
- Updated some utility scripts.
- Updated and added documentation.
- Documentation for all class member functions.
- Added examples to readme.
- Added more tests.
1.0.1
- Increased performance for
mtl::rng
,mtl::random_choice
,mtl::shuffle
. - Added more tests for random algorithms and random number generators.
- Fixed an bug that occurred from libstdc++ non-standard behavior.
1.0.0
The first public release of the Modern Template Library.