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.
- Added
Float64Array
,Int8Array
,Int16Array
,Int32Array
,Float64ArrayInProcess
,Int8ArrayInProcess
,Int16ArrayInProcess
, andInt32ArrayInProcess
types. - Added target for .NET 8.
- Changed version of
Microsoft.AspNetCore.Components.Web
from7.0.3
to7.0.20
when targeting .NET 7.
- Fixed that the
SyntaxError
was erroneously mapped as aTypeErrorException
.
- Added
Float32ArrayInProcess
,Uint8ArrayInProcess
,Uint16ArrayInProcess
,Uint32ArrayInProcess
,ArrayBufferInProcess
,SharedArrayBufferInProcess
as in-process counterpart to the asynchronous typed arrays and buffers.
- Added
DisposesJSReference
property toIJSwrapper
interface and made it extendIAsyncDisposable
. - Made
IJSRuntime.GetHelperAsync
extension method available as a public method.
- Fixed that the
SyntaxError
DomException was not handled explicitly to be distinguishable from the Native Error of the same name.
- Added
ArrayBuffer
andSharedArrayBuffer
types and their common interfaceIArrayBuffer
that can be used in methods that return either. - Added
IArrayBufferView
interface to annotate objects that can get a reference to theIArrayBuffer
that they are a view into. - Added
ITransferable
interface to annotate objects that can be transferred across agents likeArrayBuffer
. - Added
Uint16Array
andUint32Array
types that are derived fromTypedArray
for representing uhsort and uint types. - Added creator methods for creating any concrete
TypedArray
, either empty, from anIArrayBuffer
, from anotherTypedArray
, or from an initial length. - Added
GetBufferAsync
method toTypedArray
for getting the underlyingIArrayBuffer
from anyTypedArray
so that it implementsIArrayBufferView
. - Added generic
GetCreatableAsync<T>
method onValueReference
for getting a value directly as a type that implementsIJSCreatable<T>
. - Added
IJSWrapperConverter
attribute that can be used to annotate anIJSWrapper
class as being JSON serializable.
- Fixed that
ErrorHandlingJSInProcessRuntime
andErrorHandlingJSInProcessObjectReference
would invoke async functions, that needed to be awaited, synchronously.
- Added the deprecated DOMExceptions
IndexSizeErrorException
,InvalidAccessErrorException
,TypeMismatchErrorException
, andURLMismatchErrorException
.