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.FileSystem
to use the newest version which is0.3.1
.
- Fixed to conform to change in spec where
FilePickerAcceptType.Description
now has the empty string as default value i.e.""
.
- Changed .NET version to
7.0
. - Changed the version of
Blazor.FileSystem
to use the newest version which is0.3.0
.
- Added the generation of a documentation file packaging all XML comments with the package.
- Changed the version of
Blazor.FileSystem
to use the newest version which is0.2.0
.
- Changed to use
FileSystemHandle
,FileSystemFileHandle
,FileSystemDirectoryHandle
, and their InProcess variants fromBlazor.FileSystem
.
- Added
FileSystemAccessOptions
class that can customize the helper script path. By @datvm. - Added overloads for methods in
FileSystemAccessService
andFileSystemAccessServiceInProcess
methods that takes aFileSystemAccessOptions
. By @datvm. - Added overloads for creator methods on
FileSystemHandle
,FileSystemFileHandle
, andFileSystemDirectoryHandle
and their inProcess counterparts that takes aFileSystemAccessOptions
. By @datvm. - Added
Create
method toFileSystemWritableFileStream
.
- Changed the version of
Blazor.FileAPI
to use the newest version which is0.2.0
.
- Added interfaces for
FileSystemAccessService
andFileSystemAccessServiceInProcess
so that they are test friendly. - Added InProcess variants of the following wrapper classes:
FileSystemDirectoryHandle
,FileSystemFileHandle
,FileSystemHandle
andFileSystemWritableFileStream
.
- Changed the Blazor WebAssembly compatible service to be named
FileSystemAccessServiceInProcess
instead ofFileSystemAccessService
so that Blazor Server support is the standard. - Changed to use the Blazor.FileAPI's definition of
Blob
s andFile
s. - Changed to have
FileSystemWritableFileStream
extend Blazor.Streams'sWritableStream
instead of .NETStream
. - Changed creator methods
CreateAsync
to takeIJSRuntime
first to normalize standards with other wrappers.
- Fixed that
BlobWriteParams
,StringWriteParams
, andByteArrayWriteParams
didn't set theirWriteCommandType
given from the constructor. - Fixed naming of
GetOriginPrivateDirectoryAsync
andIsSupportedAsync
to have Async in name.
- Added
ArrayBufferAsync
method toBlob
to read as byte array. By @fixnil. - Added public
CreateAsync
methods toFileSystemHandle
,FileSystemFileHandle
, andFileSystemDirectoryHandle
.
- Fixed naming of
QueryPermissionAsync
andRequestPermissionAsync
to have Async in name. - Fixed that there was an extra in in the name of
OpenFilePickerOptionsStartInFileSystemHandle
.
FileSystemWritableFileStream
now extends theStream
.
- Fixed error of
Multiple
inOpenFilePickerOptionsStartInWellKnownDirectory
not being serialized correctly. By @AlexanderNorup.
- Added support for Origin Private File System via
GetOriginPrivateDirectory
method that wraps the JS callnavigator.storage.getDirectory
.
- Changed
RemoveEntryAsync
to useFileSystemRemoveOptions
instead ofFileSystemGetFileOptions
and created theFileSystemRemoveOptions
class.
- Constructor with
keepExistingData
parameter inFileSystemCreateWritableOptions
was removed for consistency.
- Added support for writing byte arrays to files using
FileSystemWritableFileStream
. By @nzmangan.