github AvaloniaUI/Avalonia 11.1.0-beta1

latest releases: 11.2.0, 11.2.0-rc2, 11.1.4...
pre-release8 months ago

Full Changelog: https://github.com/AvaloniaUI/Avalonia/commits/11.1.0-beta1
Full API Diff: https://gist.github.com/maxkatz6/a7df42607cc7187b94e2e693ccf15f6d

Please install latest dotnet templates.
Most of new features are still pending updated documentation.
You can follow progress on this issue - AvaloniaUI/avalonia-docs#384.

New features

  • Binding markup extension was refactored, and now supports UpdateSourceTrigger!
  • Tizen backend with Tizen TV support.
  • XAML warnings support, starting with Obsolete and TemplatePart warnings. Configurable via csproj and editorconfig. XAML error reporting is now also improved, not being limited by a single error at a time.
  • New top-level and application services: ILauncher, IInputPane, IActivatableLifetime.
  • XY focus with arrow keys and remote DPad is now available.
  • Global exception handling via Dispatcher UnhandledException and UnhandledExceptionFilter.

New and extended controls:

  • HyperlinkButton is now available.
  • MenuItem now supports ToggleType property, including CheckBox and Radio types with radio groups.
  • Border now includes a new BackgroundSizing property, allowing customizing transparent border brushes rendering.
  • Many interactive controls were updated to be usable with TV remote control, where only DPad buttons and Space (Select) + Escape (Back) are available.
  • NumericUpDown and AutoCompleteBox: MaxLength, InnerLeftContent, and InnerRightContent.
  • WindowNotificationManager was refactored and now can be embedded at any level of the controls tree, not being hardcoded to the top level.
  • RadialGradientBrush now has separated RadiusX and RadiusY properties that allow absolute and relative values. Old Radius property is now obsolete.

New platform features

Windows

  • DirectComposition rendering mode is now supported for older Windows versions (8.1+)
  • It's now possible to add WndProc and WindowStyles callbacks via Win32Properties API.

macOS

  • TrayIcon now includes MacOSProperties.IsTemplateIcon attached property, allowing monochrome icons consistent with macOS system icons

Linux

  • It's now possible to set NetWmWindowType and WmClass on any window via X11Properties attached properties.
  • Avalonia now respects XGD accent color spec.

Browser

  • StaticWebAssets SDK is now supported. It brings support for building in .NET Brotli compression and caching. To use this SDK, please recreate the browser project from the new template using the 11.1.0-beta1 version.
  • WebGL2 is now enabled by default.

iOS

  • Metal rendering mode was implemented and now can be enabled via iOSPlatformOptions.
  • Physical keyboard and mouse input handling now work.
  • tvOS support was added.

Android

  • Android TV support was added

Breaking Changes

  • iOS and Android backends now require .NET 8 or newer, as per .NET mobile workloads support timelines.
  • Browser backend now also requires .NET 8 or newer, but also has changes to its project structure. We recommend using newer Avalonia templates as a reference, but a migration guide specifically for the browser is also planned.

Don't miss a new Avalonia release

NewReleases is sending notifications on new releases.