Skip to content

Commit 5a2b64a

Browse files
Updated with change from custom written ValuesAsync to using methods from IPairAsyncIterable interface.
1 parent 0cabd0b commit 5a2b64a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
### Removed
99
- Removed synchronous `FileSystemDirectoryHandle.Create`, `FileSystemFileHandle.Create`, `FileSystemHandle.Create`, and `FileSystemWritableFileStream.Create` creator methods in favor of asynchronous `CreateAsync` methods.
1010
- Removed `FileSystemOptions` class and the overloaded methods that used it for customizing the helper-module path, as the same could be achieved with an `importmap`.
11+
- Removed `ValuesAsync` methods from `FileSystemDirectoryHandle` and `FileSystemDirectoryHandleInProcess`. Use the `KeysAsync`, `ValuesAsync`, and `EntriesAsync` methods exposed through `IPairAsyncIterable` instead.
1112
### Changed
1213
- Changed the version of `Blazor.FileAPI` to use the newest version, which is 0.4.0.
1314
- Changed constructors of `FileSystemHandle`, `FileSystemHandleInProcess`, `FileSystemFileHandle`, `FileSystemFileHandleInProcess`, `FileSystemDirectoryHandle`, `FileSystemDirectoryHandleInProcess`, and `FileSystemWritableFileStreamInProcess` to be protected instead of internal so that they can be extended.
@@ -17,8 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1718
- Added target for .NET 8.
1819
- Added `CreateAsync` creator methods for all wrapper classes that were missing them.
1920
- Added `IAsyncDisposable` implementation to all wrapper classes that ensures that their helpers and `JSReference`s are disposed.
20-
### Fixed
21-
- Fixed that `FileSystemDirectoryHandleInProcess.ValuesAsync` would instantiate a helper module, which would not be disposed.
21+
- Added `IPairAsyncIterable` interface to `FileSystemDirectoryHandle`, which exposes extension methods for iterating the name-handle pairs in a directory.
2222

2323
## [0.3.1] - 2023-10-19
2424
### Fixed

0 commit comments

Comments
 (0)