Skip to content

2.0 Experimental 4 (2.0.0-experimental4) 🧪

Pre-release
Pre-release

Choose a tag to compare

@RDMacLachlan RDMacLachlan released this 13 Jan 22:42
· 50 commits to main since this release
8c36ecb

Windows App SDK 2.0-Experimental4 (2.0.0-experimental4)

WinAppSDK 2.0.0 Experimental 4 is the latest experimental version of WinAppSDK providing new features and improvements to the platform.

What's new in WinAppSDK 2.0 Experimental 4:

  • Onnx Runtime updated to mainline version 1.24 for improved compatibility and stability.
  • Decreased the size of Microsoft.Windows.AI.MachineLearning.dll by approximately 160 KB
  • Introduced new APIs to lookup statistics of items being indexed.
  • New support for query cancellation to allow apps to run a query and update it if there is a new query.
  • Video Scaler is now disposable, improving resource management and lifecycle control.
  • The Video Super Resolution model is now compiled and cached to improve performance and reduce repeated initialization costs.
  • Removed the requirement for explicit WinML initialization when using Video Super Resolution.
  • The FlowLayout control now uses ItemSpacing and LineSpacing terminology.
  • The WrapPanel control now uses ItemSpacing and LineSpacing terminology.
  • Implemented the IXamlPredicate interface to define custom predicates that integrate seemlessly with XAML's conditional namespace syntax.
  • Added WinUI tools and scripts for use by external developers to build and test Windows.
  • Deprecated the DependencyObject.Dispatcher API in WinUI.
  • Deprecated the Window.Current API in WinUI.
  • Deprecated FocusManager.GetFocusedElement API in WinUI.
  • Renamed the SystemBackdropHost to SystemBackdropElement in WinUI.
  • Renamed the Microsoft.Windows.AI.Search.Experimental.AppContentIndex namespace to Microsoft.Windows.Search.AppContentIndex.

Bugs fixed:

  • Fixed “Class not registered” errors when using self-contained deployment with Windows ML. Developers using self-contained deployment no longer need to register all the Foundation package activatable classes that were used internally.
  • Fixed a potential crash occurring on process shutdown when using Windows ML.
  • Fixed the ImageForegroundExtractor API routing path so calls reach the correct endpoint.
  • Ensured execution provider install and download progress is correctly forwarded to apps during package deployment.
  • Fixed a crash in SystemBackdrop when the target disconnects by guarding invalid disconnection paths.
  • Fixed an issue that prevented Windows AI APIs from being available for some devices.

To see everything that's new and changed, see the full Windows App SDK 2.0 Experimental release notes.

Try it out

Getting Started

To get started using Windows App SDK to develop Windows apps, check out the following documentation: