From bcb03e942b284206244e8ffeeef058f6c3f9e076 Mon Sep 17 00:00:00 2001 From: Liryna Date: Fri, 22 Dec 2023 17:38:57 -0500 Subject: [PATCH] Release 2.1.0 Update versions and changelog --- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ Dokan.props | 2 +- appveyor.yml | 2 +- documentations/Doxyfile | 2 +- dokan/dokan.h | 2 +- dokan/dokan.rc | 8 ++++---- dokan_fuse/src/dokanfuse.rc | 8 ++++---- dokan_np/dokan_np.rc | 8 ++++---- dokan_wix/version.xml | 6 +++--- sys/dokan.rc | 8 ++++---- 10 files changed, 51 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 11551971..b41d2133 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,33 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [2.1.0.1000] - 2022-12-22 + +### Added +- Libary - New dismount callbacks were added `DokanRegisterWaitForFileSystemClosed` & `DokanUnregisterWaitForFileSystemClosed`. +- Dokanctl - New parameters: `/i` and `/r` can now use `a` to install the driver and network provider together. + +### Changed +- Installer - Due to the migration of the `INF` to primitive drivers that no longer accepts creating services for `system32/drivers`, `dokanctl` is now used to install the driver service and register `EventLog`. +- Kernel - Migrate `INF` to primitive driver and discard service and `EventLog` section. +- Multiple documentation enhancement. +- Memfs - Replace deprecated `lock_guard` by `scoped_lock`. +- Mirror - Use `OVERLAPPED` for offset write and read. +- Library - Improve failure logging `ResetTimeout` `SendReleaseIRP` `OpenRequestorToken`. +- Library - Fix `MatchFiles` not checking the pattern when `FindFilesWithPattern` returned `STATUS_NOT_IMPLEMENTED`. +- Library - Async call `BroadcastSystemMessage` to avoid possible hangs from receiver apps during un/mount. + +### Fixed +- Library - Allow directory listing without open handle (v2 regression). +- Library - `FindFiles` - Add `.` and `..` at the front of the results. +- FUSE - Fix bool wrongly used as bitwise operation. +- FUSE - Fix unsafe uncName buffer usage in dokanOptions. +- FUSE - Fix unsafe nullptr mountpoint free. +- Kernel - Fix log BSOD due to incorrect parameter type passed when forward logs are enabled. +- Kernel - Fix IRP cancellation BSOD. +- Kernel - Remove from `PendingIrp` list the IRP already freed or canceled during `DokanEventWrite`. +- Kernel - Fix deadlock due to `CcPurgeCacheSection` closing another `FileObject` for the `FCB` re-entrantly from cleanup. + ## [2.0.6.1000] - 2022-10-02 ### Changed @@ -682,6 +709,7 @@ Latest Dokan version from Hiroki Asakawa. [http://dokan-dev.net/en]( http://web.archive.org/web/20150419082954/http://dokan-dev.net/en/) +[2.1.0.1000]: https://github.com/dokan-dev/dokany/compare/v2.0.6.1000...v2.1.0.1000 [2.0.6.1000]: https://github.com/dokan-dev/dokany/compare/v2.0.5.1000...v2.0.6.1000 [2.0.5.1000]: https://github.com/dokan-dev/dokany/compare/v2.0.4.1000...v2.0.5.1000 [2.0.4.1000]: https://github.com/dokan-dev/dokany/compare/v2.0.3.2000...v2.0.4.1000 diff --git a/Dokan.props b/Dokan.props index c9debb75..c60f57bf 100644 --- a/Dokan.props +++ b/Dokan.props @@ -3,7 +3,7 @@ 2 - 2.0.6 + 2.1.0 diff --git a/appveyor.yml b/appveyor.yml index f365d34f..e44489c9 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -14,7 +14,7 @@ DOKAN_MAIN_BUILD_JOB_NAME: "Image: Visual Studio 2019; Configuration: All" skip_tags: true - version: 2.0.3-{build} + version: 2.1.0-{build} configuration: - All - SonarQube diff --git a/documentations/Doxyfile b/documentations/Doxyfile index 0127cea4..22412e08 100644 --- a/documentations/Doxyfile +++ b/documentations/Doxyfile @@ -38,7 +38,7 @@ PROJECT_NAME = Dokan # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = 2.0.6 +PROJECT_NUMBER = 2.1.0 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a diff --git a/dokan/dokan.h b/dokan/dokan.h index 156eab7a..1674c11e 100644 --- a/dokan/dokan.h +++ b/dokan/dokan.h @@ -56,7 +56,7 @@ extern "C" { /** @{ */ /** The current Dokan version (200 means ver 2.0.0). \ref DOKAN_OPTIONS.Version */ -#define DOKAN_VERSION 206 +#define DOKAN_VERSION 210 /** Minimum Dokan version (ver 2.0.0) accepted. */ #define DOKAN_MINIMUM_COMPATIBLE_VERSION 200 /** Driver file name including the DOKAN_MAJOR_API_VERSION */ diff --git a/dokan/dokan.rc b/dokan/dokan.rc index ad705283..9cfe13a2 100644 --- a/dokan/dokan.rc +++ b/dokan/dokan.rc @@ -16,8 +16,8 @@ // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2,0,6,1000 - PRODUCTVERSION 2,0,6,1000 + FILEVERSION 2,1,0,1000 + PRODUCTVERSION 2,1,0,1000 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -34,12 +34,12 @@ BEGIN BEGIN VALUE "CompanyName", "Dokan Project" VALUE "FileDescription", "Dokan Library" - VALUE "FileVersion", "2.0.6.1000" + VALUE "FileVersion", "2.1.0.1000" VALUE "InternalName", "dokan.dll" VALUE "LegalCopyright", "Copyright (C) 2023" VALUE "OriginalFilename", "dokan.dll" VALUE "ProductName", "Dokan" - VALUE "ProductVersion", "2.0.6.1000" + VALUE "ProductVersion", "2.1.0.1000" END END BLOCK "VarFileInfo" diff --git a/dokan_fuse/src/dokanfuse.rc b/dokan_fuse/src/dokanfuse.rc index 067dbec6..98aa5284 100644 --- a/dokan_fuse/src/dokanfuse.rc +++ b/dokan_fuse/src/dokanfuse.rc @@ -16,8 +16,8 @@ // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2,0,6,1000 - PRODUCTVERSION 2,0,6,1000 + FILEVERSION 2,1,0,1000 + PRODUCTVERSION 2,1,0,1000 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -34,12 +34,12 @@ BEGIN BEGIN VALUE "CompanyName", "Dokan Project" VALUE "FileDescription", "Dokan Fuse library" - VALUE "FileVersion", "2.0.6.1000" + VALUE "FileVersion", "2.1.0.1000" VALUE "InternalName", "dokanfuse.dll" VALUE "LegalCopyright", "Copyright (C) 2021" VALUE "OriginalFilename", "dokanfuse.dll" VALUE "ProductName", "Dokan" - VALUE "ProductVersion", "2.0.6.1000" + VALUE "ProductVersion", "2.1.0.1000" END END BLOCK "VarFileInfo" diff --git a/dokan_np/dokan_np.rc b/dokan_np/dokan_np.rc index 317b9d97..0b3c498c 100644 --- a/dokan_np/dokan_np.rc +++ b/dokan_np/dokan_np.rc @@ -16,8 +16,8 @@ // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2,0,6,1000 - PRODUCTVERSION 2,0,6,1000 + FILEVERSION 2,1,0,1000 + PRODUCTVERSION 2,1,0,1000 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -34,12 +34,12 @@ BEGIN BEGIN VALUE "CompanyName", "Dokan Project" VALUE "FileDescription", "Dokan Network Provider" - VALUE "FileVersion", "2.0.6.1000" + VALUE "FileVersion", "2.1.0.1000" VALUE "InternalName", "dokan.dll" VALUE "LegalCopyright", "Copyright (C) 2021" VALUE "OriginalFilename", "dokannp.dll" VALUE "ProductName", "Dokan" - VALUE "ProductVersion", "2.0.6.1000" + VALUE "ProductVersion", "2.1.0.1000" END END BLOCK "VarFileInfo" diff --git a/dokan_wix/version.xml b/dokan_wix/version.xml index 8e016ba8..6957d44d 100644 --- a/dokan_wix/version.xml +++ b/dokan_wix/version.xml @@ -1,13 +1,13 @@ - + - + - + diff --git a/sys/dokan.rc b/sys/dokan.rc index 59547ec8..c8026d15 100644 --- a/sys/dokan.rc +++ b/sys/dokan.rc @@ -16,8 +16,8 @@ // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2,0,6,1000 - PRODUCTVERSION 2,0,6,1000 + FILEVERSION 2,1,0,1000 + PRODUCTVERSION 2,1,0,1000 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -34,12 +34,12 @@ BEGIN BEGIN VALUE "CompanyName", "Dokan Project" VALUE "FileDescription", "Dokan Driver" - VALUE "FileVersion", "2.0.6.1000" + VALUE "FileVersion", "2.1.0.1000" VALUE "InternalName", "dokan.sys" VALUE "LegalCopyright", "Copyright (C) 2021" VALUE "OriginalFilename", "dokan.sys" VALUE "ProductName", "Dokan" - VALUE "ProductVersion", "2.0.6.1000" + VALUE "ProductVersion", "2.1.0.1000" END END BLOCK "VarFileInfo"