diff --git a/CMakeLists.txt b/CMakeLists.txt index ff623d0..fd472a8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ # --- CMAKE_MINIMUM_REQUIRED( VERSION 3.17) -project(QArchive VERSION 2.2.3) +project(QArchive VERSION 2.2.4) set(CMAKE_CXX_STANDARD 11) set(CMAKE_INCLUDE_CURRENT_DIR ON) diff --git a/docs/QArchiveMemoryFile.md b/docs/QArchiveMemoryFile.md index db2e103..b3470a5 100644 --- a/docs/QArchiveMemoryFile.md +++ b/docs/QArchiveMemoryFile.md @@ -54,9 +54,11 @@ Returns file information as QJsonObject. The QJsonObject has the below format w. Returns a QBuffer pointer. This QBuffer is closed by default. You can read or write by opening this buffer. **Do not try to free this pointer. This pointer will be freed automatically when this class is destructed.** +> This is obsolete since v2.2.4 in favor of sharedBuffer() + ### std::shared_ptr\ sharedBuffer() const Returns a std::shared_ptr QBuffer. This QBuffer is closed by default. You can read or write by opening this buffer. -> Only available in the master branch, this is recommended since, you can do whatever with the shared pointer. Even if you free it, -> the pointer will take care of itself. +> Only available in v2.2.4 or later, this is recommended since, you can do whatever with the shared pointer. +> Even if you free it, he pointer will take care of itself. diff --git a/meson.build b/meson.build index f123cc0..1282f6f 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ project( 'QArchive', 'cpp', - version: '2.2.3', + version: '2.2.4', license: 'BSD-3-Clause', default_options: ['cpp_std=c++17'], meson_version: '>=0.49.0',