Releases: RyanLamansky/dotnet-webassembly
Releases · RyanLamansky/dotnet-webassembly
v0.8.0-preview
- Contents of grown memory is now initialized to
0
before being made available for use.
Special thanks to @TYoung86 for identifying and fixing this issue. - Memory can now grow from an initial size of zero.
- Improved disposal tracking of
UnmanagedMemory
.- Previously it was possible to un-dispose objects of this type by calling
Grow
.
An object revived in this way would leak memory if it was not explicitlyDispose
d before being discarded.
- Previously it was possible to un-dispose objects of this type by calling
- Added .NET Standard 2.1 build with no dependencies.
v0.7.1-preview
A fix to the "else" instruction significantly improves compatibility.
v0.7.0-preview
Several breaking changes were made to clean things up for release.
- Renamed several instructions to match the published WebAssembly specification.
This project started over a year before the final specification was released so some of the names it used became out of date. ElementType
memberAnyFunction
has been renamed toFunctionReference
to align with the spec.Function
memberType
was changed from a public field to a property.- The
Type
andValueType
types were renamed toWebAssemblyType
andWebAssemblyValueType
, respectively, to avoid conflicts with the popularSystem
namespace. - .NET Standard 2.0 is now the only build produced.
This means .NET Framework consumers must be 4.7.2 or higher.
Infrastructure is still in place to support builds as old as .NET 4.5 and .NET Standard 1.1 if a compelling use case arises, but this may eventually be removed otherwise.
v0.6.0-preview
- Added table export support.
- Fixed bugs:
- Exported globals where the global index doesn't match the export index are now fixed.
- Members of imported tables are now callable even if there are no internally-created table entries with the same signature.
- Tables whose initial size is too small for the incoming elements are now grown automatically.
This is the first release where the compiler has 100% coverage of the "MVP"-level feature set, although much testing remains to ensure everything works correctly.
v0.5.0-preview
- Added support for importing tables
WebAssembly.Table
'sType
property was renamed toDefinition
to better reflect its purpose.
This will likely be renamed again during the big 1.0 final restructuring.
v0.4.0-preview
- Most types associated with compilation, including the
Compile
class itself, have been moved to theWebAssembly.Runtime
namespace. - Importing was changed from compile time (using raw
MethodInfo
) to instantiation time (using delegates). - The
ModuleName
andFieldName
properties ofRuntimeImport
have been removed in favor of a more JavaScript-like dictionary-of-dictionaries-of-imports at instantiation time.
v0.3.8-preview
Fixed incorrect CLR stack type of int64 load instructions that loaded smaller integer types. Special thanks to Eric Sink for an excellent bug report on this problem.
v0.3.7-preview
Imported globals are now supported.
v0.3.6-preview
- Fixed parsing of imported globals.
- Improved compiler error messaging for unsupported imports.
- Added a strong name key and explicitly opted out of CLS Compliance.
v0.3.5-preview
Added support for importing memory.