2.0.0
jeromelaban
released this
23 Mar 01:46
·
4 commits
to release/stable/2.0
since this release
This new release of the Uno.Wasm.Bootstrap package provides support for .NET 5 (net5.0
) target framework, using .NET for WebAssembly from dotnet/runtime.
It also provides support for:
__Native
internal import to provide support for statically linked native code (e.g. mono internals or emscripten provided functions)- PG-AOT Profile filtering
- Support for multi-versioned emscripten native dependencies, to allow for smoother package versions transitions
- The ability to control the location of content files (e.g. in the versioned package folder, or directly at the root)
- Performance improvements when resolving large number of application packages
The .NET Runtime for this release is dotnet/runtime@99e4fda, and this package is equivalent to 2.0.0-dev.180.
Upgrade path
When upgrading from the 1.3.x versions, there is nothing specific to do for the project to continue building and running.
If you want to upgrade to net5.0
, you will need to:
- Change the target framework to
net5.0
- Add a reference to
Microsoft.Windows.Compatibility
version5.0.0
- If you are using Uno Platform (Uno.UI.* packages), you will also need to upgrade to version 3.5 or later.
If you are using on AOT (Full or mixed), note that it is still a work in progress in dotnet/runtime, and that you may still find issues that will be addressed during the course of .NET 6 development, and will be included in later builds of the Uno.Wasm.Bootstrap package.
Features
- Add asset list to published package (4adf9ea)
- Add generic type parameters to the AOT profile dump (975516f)
- Add SDK Checksum optional debug logging (29e8968)
- Add support for __Native dll import (68c09f4)
- Add support for AOT profile filtering (06b8ee3)
- Add support for mono runtime tracing options for native browser stack (e9ab258)
- Add support for multi-emsdk versioned LLVM binaries (03abc09)
- Add support for net5 (392847d)
- Enable AOT Profile debugging (f086c6f)
- Install embedded emscripten version for Unix based OSes (7c3c484)
- net5 static linking, net5 validations (967d015)
- deploy: Added ability to control where content files are being deployed (package or root) (abfbbc9)
- deploy: Added WasmShellContentExtensionsToExclude property (f32249a)
- deploy: Removed the DeployModeContent feature. The feature overlaps with Content metadata mode. (03235f6)
- net5: Add support for linker feature switches (a1adb80)
- Update to mono mono/mono@3acd878 (4c993e6)
- deploy: .bc and .a files for static linking are no more copied to "dist" folder and used directly from their original location. (19e88cb)
- deploy:
Deploy=
-->UnoDeploy=
(1dfde39)
Performance Improvements
- Improve net5 packager assembly resolution performance (9a21ca4)
Bug Fixes
- Add IDBFS support for interpreter-only .NET 5 (107d637)
- Add missing cil-strip pdb (8ca397d)
- Add Stack Crawling related methods (dc87d7c)
- Add support for InvariantGlobalization feature flag (d1d5e58)
- Adjust default splashscreen resource (31e8040)
- Adjust ICU support for debugging (335d22b)
- Adjust mono-aot-cross path (7c9bc1b)
- Adjust python encoding (3f2c153)
- Adjust target rewriting for task name (8a218ea)
- Adjust WASMSHELL_WSLEMSDK to use WSL native path (ed306da)
- Bump Microsoft.Windows.Compatibility to 5.0.0 (0e7fdd3)
- cannot find bash.exe on Windows using dotnet.exe (8dc6bef)
- Disable dedup pass by default, align AOT compiler flags with dotnet/runtime (a9666d9)
- Don't generate config file for illink on net5 (c15fdd3)
- emscripten embedded mode is now the default (9a2622c)
- ForceDisableWSL wasn't honored (7bf24d6)
- Import PInvokeTableGenerator, use dotnet for packaget and wasm-tuner (74e8b9f)
- Include unit tests assembly in msbuild filter (9cdac9b)
- Invalid hash replace task (29d5862)
- Make TargetFramework parameter optional to ignore incompatible projects (f4bb304)
- Move emcc flags to allow for default paramters override (useful for overriding max memory with asan) (6eb3050)
- nuget icon path (16523b8)
- Remove unused emscripten patches, adjust install marker (979de6a)
- Restore .NET 5 ICU support for localization (a2463c3)
- Set System.Globalization.Invariant if unset for .NET 5 (33e25b1)
- Split mono/mono and dotnet/runtime versions. (371195a)
- Unquoted executable path for "dotnet" or "mono" (1d02109)
- Use AOT Profile property only in Mixed mode (656b406)
- debugging: Publish debugger files in all modes (a351522)
- gitpod: Remove explicit emscripten installation (faf1cd6)
- macOS: Fix support for ninja (42a0482)
- net5: Enable ICU by default when using AOT (42d8bf4)
- net5: ensure bindings interop assembly is referenced (f934b62)
- net5: Support parallel builds (1c3d982)
- pwa: Ensure PWS manifest is copied to the proper location (6175404)
- reg: adjust bitcode inclusion from a different folder (1434b30)
- reg: Fix invalid SDK locking (0867505)
- reg: Invalid wasm-tuner packaging (77d9699)
- reg: Remove System.Text.Json from transitive dependencies (6021c86)
- Remove span dependency for ShellTask (ec63d37)
- Restore compatibility with
net5
andnet5.0
Target Frameworks (f1b727b) - Unix path comparison fox checksum validation (171dfdf)
- Upgrade gitpod base image (68f7146)
- reg: Revert mono for Assembly.Load issue (e66691b)
- whitespace: Username space in path breaks the build (b5aea03)