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.
- Deprecated synchronous
Blob.Create
andFile.Create
creator methods in favor of asynchronousCreateAsync
methods. - Deprecated
FileReader
event membersOnLoadStart
,OnProgress
,OnLoad
,OnAbort
, andOnLoadEnd
in favor of methods for adding and removing event listeners likeAddOnLoadEventListenerAsync
andRemoveOnLoadEventListenerAsync
. - Deprecated
FileReaderInProcess
event membersOnLoadStart
,OnProgress
,OnLoad
,OnAbort
, andOnLoadEnd
in favor of methods for adding and removing event listeners likeAddOnLoadEventListener
andRemoveOnLoadEventListener
.
- Changed the version of Blazor.Streams to use the newest version which is 0.5.0.
FileReader
now extendsEventTarget
to expose all methods for adding/removing event listeners and dispatching events.FileReaderInProcess
now implementsIEventTargetInProcess
to expose all methods for adding/removing event listeners and dispatching events.ProgressEvent
now extendsEvent
to expose methods for getting general information about the event like the target, type, and time stamp and asynchronous methods for stopping propagation and preventing default behavior programmatically.ProgressEventInProcess
now exposes same members asEventInProcess
. This includes properties for getting general information about the event like the target, type, and time stamp and synchronous methods for stopping propagation and preventing default behavior programmatically.
- Added target for .NET 8.
- Added
CreateAsync
creator methods for all wrapper classes. - Added
IAsyncDisposable
implementation to all wrapper classes that ensures that their helpers andJSReference
s are disposed.
- Changed .NET version to
7.0
. - Changed the version of Blazor.Streams 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 implicit converters for
BlobPart
fromBlob
,byte[]
, andstring
.
- Fixed that the saturating creator for
FileReader
didn't register event handlers.
Blob
's methodArrayBufferAsync
used anIJSInProcessObjectReference
which is not supported in Blazor Server. This was changed to useIJSObjectReference
.
- Changed the version of Blazor.Streams to use the newest version which is
0.2.2
.
- Made the initial implementation that covers most of the API.