Bit7z v4.0.7
Changes from v4.0.6:
- Fixed missing conversion from tstring to path in
BitItemsVector::indexPaths
(closes #199). - Updated project version in
CMakeLists.txt
. - Fixed GitHub actions.
- Added
nativePath()
method toBitArchiveItem
. - Added support for recursively deleting the content of folder items within archives.
- Previously,
BitArchiveEditor
could only delete the metadata of the folder, not its content.// Deleting all the content of the "folder". // Note: if no policy is passed, the method will still use the old behavior. editor.deleteItem("folder", DeletePolicy::RecurseDirs);
- Previously,
- Fixed
BitOutputArchive::addFiles
overloads.- Previously, the method overload prevented you from using the method's default arguments.
- Now you can, for example, pass only one argument:
// Adds all the files within the given path, recursively including the ones inside subfolders. // Previously, you had to explicitly do archive.addFiles("directory/path/", "*", true); archive.addFiles("directory/path/");
- Optimized
BitArchiveReader::items()
.- From my tests, now the method is on average ~25% faster than before.
- Added missing headers in
bit7z.hpp
. - Updated minimum required version of CMake.
- Improved and updated the README.
Full Changelog: v4.0.6...v4.0.7
This is a maintenance release. For a full changelog of the other changes introduced by bit7z v4, please check https://github.com/rikyoz/bit7z/releases/tag/v4.0.0.
Binaries built using the default options with Clang10, GCC 9, MinGW 8, MSVC 2015, 2017, 2019, and 2022 👇