All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Changed the version of
Blazor.FileAPIto use the newest version, which is 0.4.3.
- Changed the version of
Blazor.FileAPIto use the newest version, which is 0.4.2.
- Removed synchronous
FileSystemDirectoryHandle.Create,FileSystemFileHandle.Create,FileSystemHandle.Create, andFileSystemWritableFileStream.Createcreator methods in favor of asynchronousCreateAsyncmethods. - Removed
FileSystemOptionsclass and the overloaded methods that used it for customizing the helper-module path, as the same could be achieved with animportmap. - Removed
ValuesAsyncmethods fromFileSystemDirectoryHandleandFileSystemDirectoryHandleInProcess. Use theKeysAsync,ValuesAsync, andEntriesAsyncmethods exposed throughIPairAsyncIterableinstead.
- Changed the version of
Blazor.FileAPIto use the newest version, which is 0.4.1. - Changed constructors of
FileSystemHandle,FileSystemHandleInProcess,FileSystemFileHandle,FileSystemFileHandleInProcess,FileSystemDirectoryHandle,FileSystemDirectoryHandleInProcess, andFileSystemWritableFileStreamInProcessto be protected instead of internal so that they can be extended. - Changed all non-creator methods that return
IJSWrappersso that their returned objects will dispose of theirJSReferencewhen they are disposed. As an example,Files returned fromFileSystemFileHandle.GetFileAsyncwill now dispose theirJSReferencewhen theFileis disposed, so that you don't need to manually dispose theJSReferencebefore disposing theFileitself.
- Added XML Documentation to all public types and members.
- Added target fo .NET 8, 9, and 10.
- Added
CreateAsynccreator methods for all wrapper classes that were missing them. - Added
IAsyncDisposableimplementation to all wrapper classes that ensures that their helpers andJSReferences are disposed. - Added
IPairAsyncIterableinterface toFileSystemDirectoryHandle, which exposes extension methods for iterating the name-handle pairs in a directory.
- Fixed that writing
WriteParamswith aBlobused the wrong JS helper reference.
- Changed .NET version to
7.0. - Changed the version of Blazor.FileAPI to use the newest version which is
0.3.0.
- Added the generation of a documentation file packaging all XML comments with the package.
- Added interfaces
IFileSystemHandleandIFileSystemHandleInProcess.
- Changed
FileSystemHandle.IsSameEntryAsyncto takeIFileSystemHandleinstead ofFileSystemHandle. - Changed
FileSystemDirectoryHandle.ResolveAsyncto takeIFileSystemHandleinstead ofFileSystemHandle. - Changed
FileSystemDirectoryHandle.ValuesAsyncto returnIFileSystemHandleinstead ofFileSystemHandle. - Changed
FileSystemDirectoryHandleInProcess.ValuesAsyncto returnIFileSystemHandleInProcessinstead ofFileSystemHandleInProcess.