diff --git a/dokan-sys/CHANGELOG.md b/dokan-sys/CHANGELOG.md new file mode 100644 index 0000000..c3b3e5b --- /dev/null +++ b/dokan-sys/CHANGELOG.md @@ -0,0 +1,22 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.3.1] - 2022-10-04 + +### Added + +- Various `FILE_*` constants. +- `VOLUME_SECURITY_DESCRIPTOR_MAX_SIZE` + +### Changed + +- Upgrade to **Dokan 2.0.6**. + +[unreleased]: https://github.com/dokan-dev/dokan-rust/compare/dokan-sys@v0.3.1...HEAD +[0.3.1]: https://github.com/dokan-dev/dokan-rust/releases/tag/dokan-sys@v0.3.1 diff --git a/dokan/CHANGELOG.md b/dokan/CHANGELOG.md new file mode 100644 index 0000000..5206469 --- /dev/null +++ b/dokan/CHANGELOG.md @@ -0,0 +1,34 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.3.1] - 2022-10-04 + +### Added + +- `FileSystemHandle` to send a `DOKAN_HANDLE` across threads. +- `map_win32_error_to_ntstatus` +- `win32_ensure` +- In `memfs` example: add status messages and show how another thread can unmount the file system. + +### Changed + +- Upgrade to **Dokan 2.0.6** through `dokan-sys`. +- Split the code into multiple files. +- Replace `Drive` builder by `FileSystemMounter` and `MountOptions`. +- Operations errors are simply `NTSTATUS`. + To return errors from `GetLastError`, use `win32_ensure` or `map_win32_error_to_ntstatus`. +- Access mount point list through an iterator. + +### Fixed + +- Access to dangling pointer caused panic when the file system handle was used. + It's the reason for `FileSystemMounter`, which keeps needed variables onto the stack. + +[unreleased]: https://github.com/dokan-dev/dokan-rust/compare/dokan@v0.3.1...HEAD +[0.3.1]: https://github.com/dokan-dev/dokan-rust/releases/tag/dokan@v0.3.1