Skip to content

Commit 32ae6fa

Browse files
committed
Release 2.3.0
1 parent 3a46d4e commit 32ae6fa

File tree

10 files changed

+42
-52
lines changed

10 files changed

+42
-52
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,24 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
55

6+
## [2.3.0.1000] - 2025-04-19
7+
8+
### Changed
9+
- Installer - Fail installation if the driver (service) is already present. This is to catch the case when the driver was installed manually or by another installer (third party).
10+
- Memfs - Update `spdlog` to `v1.15.1`.
11+
- Kernel - Add `Fcb::UncleanCount` to track and unsure `IRP_MJ_CLEANUP` is executed. Fixes rare BSOD during `FsRtlNotify`.
12+
13+
### Fixed
14+
- FUSE - Fix a Y2038 bug by replacing `Int32x32To64` with multiplication.
15+
- Library - Fix memory leak in `DispatchWrite` when pool not used.
16+
- Library - Fix memory leak when `SendWriteRequest` IO fails.
17+
- Library - Fix crash when `DispatchDirectoryInformation` is called with unknown `fileInfoClass`.
18+
- Library - Send `STATUS_INVALID_PARAMETER` to driver for unknown events.
19+
- Kernel - Rename - Set the correct `AccessMode` for the provided handle during `ObReferenceObjectByHandle`.
20+
- Kernel - Prevent `FsRtlNotifyFullChangeDirectory` when `Fcb` is pending deletion.
21+
- Kernel/Library - Properly implement the deletion semantic for `DELETE_ON_CLOSE` and `FileDispositionInformation`. See the documentation [here](https://github.com/dokan-dev/dokany/commit/3a46d4eb90e7b12c8d9400365faa6232c282e596) and [here](https://github.com/dokan-dev/dokany/commit/11d73494df76d69b20199fd5ddfc3f750b85ac87) how to behavior changed and [here](https://github.com/dokan-dev/dokany/commit/e08b83c7ab4f1f6efea3a72a6fa0a3f1514385ad) how it was implemented.
22+
- NetworkProvider - Return proper error during `NPCancelConnection` to allow other providers to handle the request.
23+
624
## [2.2.1.1000] - 2025-01-18
725

826
### Changed
@@ -730,6 +748,7 @@ Latest Dokan version from Hiroki Asakawa.
730748
[http://dokan-dev.net/en]( http://web.archive.org/web/20150419082954/http://dokan-dev.net/en/)
731749

732750

751+
[2.3.0.1000]: https://github.com/dokan-dev/dokany/compare/v2.2.1.1000...v2.3.0.1000
733752
[2.2.1.1000]: https://github.com/dokan-dev/dokany/compare/v2.2.0.1000...v2.2.1.1000
734753
[2.2.0.1000]: https://github.com/dokan-dev/dokany/compare/v2.1.0.1000...v2.2.0.1000
735754
[2.1.0.1000]: https://github.com/dokan-dev/dokany/compare/v2.0.6.1000...v2.1.0.1000

Dokan.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<ImportGroup Label="PropertySheets" />
44
<PropertyGroup Label="UserMacros">
55
<DOKANAPIVersion>2</DOKANAPIVersion>
6-
<DOKANVersion>2.2.1</DOKANVersion>
6+
<DOKANVersion>2.3.0</DOKANVersion>
77
</PropertyGroup>
88
<PropertyGroup />
99
<ItemDefinitionGroup />

documentations/Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ PROJECT_NAME = Dokan
3838
# could be handy for archiving the generated documentation or if some version
3939
# control system is used.
4040

41-
PROJECT_NUMBER = 2.2.0
41+
PROJECT_NUMBER = 2.3.0
4242

4343
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4444
# for a project that appears at the top of each page and should give viewer a

dokan/dokan.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ extern "C" {
5656
/** @{ */
5757

5858
/** The current Dokan version (200 means ver 2.0.0). \ref DOKAN_OPTIONS.Version */
59-
#define DOKAN_VERSION 221
59+
#define DOKAN_VERSION 230
6060
/** Minimum Dokan version (ver 2.0.0) accepted. */
6161
#define DOKAN_MINIMUM_COMPATIBLE_VERSION 200
6262
/** Driver file name including the DOKAN_MAJOR_API_VERSION */

dokan/dokan.rc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
//
1717

1818
VS_VERSION_INFO VERSIONINFO
19-
FILEVERSION 2,2,1,1000
20-
PRODUCTVERSION 2,2,1,1000
19+
FILEVERSION 2,3,0,1000
20+
PRODUCTVERSION 2,3,0,1000
2121
FILEFLAGSMASK 0x3fL
2222
#ifdef _DEBUG
2323
FILEFLAGS 0x1L
@@ -34,12 +34,12 @@ BEGIN
3434
BEGIN
3535
VALUE "CompanyName", "Dokan Project"
3636
VALUE "FileDescription", "Dokan Library"
37-
VALUE "FileVersion", "2.2.1.1000"
37+
VALUE "FileVersion", "2.3.0.1000"
3838
VALUE "InternalName", "dokan.dll"
3939
VALUE "LegalCopyright", "Copyright (C) 2025"
4040
VALUE "OriginalFilename", "dokan.dll"
4141
VALUE "ProductName", "Dokan"
42-
VALUE "ProductVersion", "2.2.1.1000"
42+
VALUE "ProductVersion", "2.3.0.1000"
4343
END
4444
END
4545
BLOCK "VarFileInfo"

dokan_fuse/src/dokanfuse.rc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
//
1717

1818
VS_VERSION_INFO VERSIONINFO
19-
FILEVERSION 2,2,1,1000
20-
PRODUCTVERSION 2,2,1,1000
19+
FILEVERSION 2,3,0,1000
20+
PRODUCTVERSION 2,3,0,1000
2121
FILEFLAGSMASK 0x3fL
2222
#ifdef _DEBUG
2323
FILEFLAGS 0x1L
@@ -34,12 +34,12 @@ BEGIN
3434
BEGIN
3535
VALUE "CompanyName", "Dokan Project"
3636
VALUE "FileDescription", "Dokan Fuse library"
37-
VALUE "FileVersion", "2.2.1.1000"
37+
VALUE "FileVersion", "2.3.0.1000"
3838
VALUE "InternalName", "dokanfuse.dll"
3939
VALUE "LegalCopyright", "Copyright (C) 2021"
4040
VALUE "OriginalFilename", "dokanfuse.dll"
4141
VALUE "ProductName", "Dokan"
42-
VALUE "ProductVersion", "2.2.1.1000"
42+
VALUE "ProductVersion", "2.3.0.1000"
4343
END
4444
END
4545
BLOCK "VarFileInfo"

dokan_np/dokan_np.rc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
//
1717

1818
VS_VERSION_INFO VERSIONINFO
19-
FILEVERSION 2,2,1,1000
20-
PRODUCTVERSION 2,2,1,1000
19+
FILEVERSION 2,3,0,1000
20+
PRODUCTVERSION 2,3,0,1000
2121
FILEFLAGSMASK 0x3fL
2222
#ifdef _DEBUG
2323
FILEFLAGS 0x1L
@@ -34,12 +34,12 @@ BEGIN
3434
BEGIN
3535
VALUE "CompanyName", "Dokan Project"
3636
VALUE "FileDescription", "Dokan Network Provider"
37-
VALUE "FileVersion", "2.2.1.1000"
37+
VALUE "FileVersion", "2.3.0.1000"
3838
VALUE "InternalName", "dokan.dll"
3939
VALUE "LegalCopyright", "Copyright (C) 2021"
4040
VALUE "OriginalFilename", "dokannp.dll"
4141
VALUE "ProductName", "Dokan"
42-
VALUE "ProductVersion", "2.2.1.1000"
42+
VALUE "ProductVersion", "2.3.0.1000"
4343
END
4444
END
4545
BLOCK "VarFileInfo"

dokan_wix/version.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Include>
33
<?define ProductName="Dokan Library" ?>
4-
<?define ProductCodeX64="{9A7325EA-D3C9-0202-0001-250118171055}" ?>
4+
<?define ProductCodeX64="{9A7325EA-D3C9-0203-0000-250419162816}" ?>
55
<?define UpgradeCodeX64="{31A8F445-2AC6-494B-819C-4F4E1B2AECF1}" ?>
6-
<?define ProductCodeX86="{D1680D5B-295F-0202-0001-250118171055}" ?>
6+
<?define ProductCodeX86="{D1680D5B-295F-0203-0000-250419162816}" ?>
77
<?define UpgradeCodeX86="{B08DE90A-F064-4ADC-99AC-2EC933417CC5}" ?>
8-
<?define ProductCodeARM64="{24671A98-9A6B-0202-0001-250118171055}" ?>
8+
<?define ProductCodeARM64="{24671A98-9A6B-0203-0000-250419162816}" ?>
99
<?define UpgradeCodeARM64="{BD055051-AFAD-497D-8297-C4389835870A}" ?>
1010
<?define ProviderKey="{6DE61B71-BBFA-4007-8660-BD13A0DF9004}" ?>
1111
<?define BundleUpgradeCode="{F9DD32AC-C2BA-4B2C-841F-B34ABED0A0F1}" ?>
12-
<?define BaseVersion="2.2.1" ?>
12+
<?define BaseVersion="2.3.0" ?>
1313
<?define MajorVersion="2" ?>
1414
<?define BuildVersion="1000" ?>
1515
<?define CompanyName="Dokany Project" ?>

scripts/build_and_release.ps1

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -9,35 +9,6 @@ Add-VisualStudio-Path
99
# EV_CERTTHUMBPRINT - EV Sign certificat thumb print
1010
# CHOCO_API_KEY - Chocolatey API key to publish new installers
1111

12-
Write-Host Set Dokan version ...
13-
if (!(Test-Path -Path .\dokan_wix\SetAssemblyVersion\bin\Release\SetAssemblyVersion.exe)) {
14-
Exec-External { msbuild .\dokan_wix\SetAssemblyVersion.sln /p:Configuration=Release /p:Platform="Any CPU" /t:rebuild }
15-
}
16-
Exec-External { .\dokan_wix\SetAssemblyVersion\bin\Release\SetAssemblyVersion CHANGELOG.md .\dokan_wix\version.xml . }
17-
Write-Host Build dokan version done !
18-
19-
Exec-External { .\scripts\build.ps1 }
20-
21-
Exec-External { .\scripts\sign.ps1 }
22-
23-
Exec-External { MakeCab /f .\dokan_wix\dokan.ddf }
24-
if (-not ([string]::IsNullOrEmpty($env:EV_CERTTHUMBPRINT)))
25-
{
26-
Write-Host EV Sign cab ...
27-
set-alias st "$env:SIGNTOOL"
28-
Exec-External { st sign /v /tr http://timestamp.digicert.com /td sha256 /fd sha256 /as /sha1 "$env:EV_CERTTHUMBPRINT" .\dokan_wix\Dokan.cab }
29-
Write-Host EV Sign cab done
30-
Read-Host -Prompt "Please submit driver cab to developer hardware dashboard. Hit ENTER when it is done..."
31-
}
32-
else { Write-Host EV_CERTTHUMBPRINT env variable is missing. EV Signature cab is needed for developer hardware dashboard submission. }
33-
34-
if (Test-Path -Path C:\cygwin64) {
35-
Write-Host Include Cygwin binaries in installer
36-
(gc .\dokan_wix\version.xml) -replace 'BuildCygwin="false"', 'BuildCygwin="true"' | sc .\dokan_wix\version.xml
37-
} else {
38-
Write-Host Exclude Cygwin binaries from installer
39-
(gc .\dokan_wix\version.xml) -replace 'BuildCygwin="true"', 'BuildCygwin="false"' | sc .\dokan_wix\version.xml
40-
}
4112

4213
Write-Host Build installer ...
4314
# Nuget restore sln fails to restore all the project of the solution for some reason so lets do it manually

sys/dokan.rc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
//
1717

1818
VS_VERSION_INFO VERSIONINFO
19-
FILEVERSION 2,2,1,1000
20-
PRODUCTVERSION 2,2,1,1000
19+
FILEVERSION 2,3,0,1000
20+
PRODUCTVERSION 2,3,0,1000
2121
FILEFLAGSMASK 0x3fL
2222
#ifdef _DEBUG
2323
FILEFLAGS 0x1L
@@ -34,12 +34,12 @@ BEGIN
3434
BEGIN
3535
VALUE "CompanyName", "Dokan Project"
3636
VALUE "FileDescription", "Dokan Driver"
37-
VALUE "FileVersion", "2.2.1.1000"
37+
VALUE "FileVersion", "2.3.0.1000"
3838
VALUE "InternalName", "dokan.sys"
3939
VALUE "LegalCopyright", "Copyright (C) 2021"
4040
VALUE "OriginalFilename", "dokan.sys"
4141
VALUE "ProductName", "Dokan"
42-
VALUE "ProductVersion", "2.2.1.1000"
42+
VALUE "ProductVersion", "2.3.0.1000"
4343
END
4444
END
4545
BLOCK "VarFileInfo"

0 commit comments

Comments
 (0)