Avalonia

Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology

MIT License

Stars
23.8K
Committers
478

Bot releases are visible (Hide)

Avalonia - 11.1.0-beta2 Latest Release

Published by maxkatz6 6 months ago

Full Changelog: https://github.com/AvaloniaUI/Avalonia/compare/11.1.0-beta1...11.1.0-beta2
API Diff for 11.1.0-beta2: https://gist.github.com/maxkatz6/9feb6029ef9a412fdab64ded4d7e2033
API Diff for 11.1.0-beta1: https://gist.github.com/maxkatz6/a7df42607cc7187b94e2e693ccf15f6d
NuGet: https://www.nuget.org/packages/Avalonia/11.1.0-beta2

Most of new features are still pending updated documentation.
You can follow progress on this issue - https://github.com/AvaloniaUI/avalonia-docs/issues/384.

Continuing https://github.com/AvaloniaUI/Avalonia/releases/tag/11.1.0-beta1

New features

Controls changes:

  • DataGrid now supports basic automation integration.
  • New ToolTip APIs: BetweenShowDelay, ServiceEnabled and ShowOnDisabled.
  • ComboBox.SelectionBoxItemTemplate to redefine template of the selected content.
  • TransitioningContentControl.TransitionCompleted event allowing to release any resources associated with the previous content.
  • Window.SortWindowsByZOrder sorting input windows by their ZOrder.

New platform features

Linux

  • New X11PlatformOptions.UseRetainedFramebuffer

Browser

  • BrowserPlatformOptions now includes BrowserRenderingMode with possible values: WebGL2, WebGL1, Software2D

iOS

  • It's now possible to override CreateAppBuilder.
  • Various improvements in Mouse/Physical Keyboard handling.

Android

  • AvaloniaActivity base class extracted from AvaloniaMainActivity.
  • It's now possible to override CreateAppBuilder.

Tizen

  • It's now possible to override CreateAppBuilder.

LinuxFramebuffer

  • New LibInputBackendOptions and FbDevOutputOptions.

VNC

  • VNC now supports wider set of clients and password protection.

This release also includes bug fixes, performance improvements and various smaller enhancements.

Avalonia - 11.1.0-beta1

Published by maxkatz6 7 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 - https://github.com/AvaloniaUI/avalonia-docs/issues/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.
Avalonia - 11.0.10

Published by maxkatz6 8 months ago

https://www.nuget.org/packages/Avalonia/11.0.10
Full Changelog: https://github.com/AvaloniaUI/Avalonia/compare/11.0.9...11.0.10

What's Changed

Avalonia - 11.0.9

Published by maxkatz6 8 months ago

https://www.nuget.org/packages/Avalonia/11.0.9
Full Changelog: https://github.com/AvaloniaUI/Avalonia/compare/11.0.8...11.0.9

Releasing shortly after previous, as 11.0.8 release had critical issues.

What's Changed

Avalonia - 11.0.8

Published by maxkatz6 8 months ago

Please upgrade to 11.0.9! For more details see https://github.com/AvaloniaUI/Avalonia/releases/tag/11.0.9

https://www.nuget.org/packages/Avalonia/11.0.8

Full Changelog: https://github.com/AvaloniaUI/Avalonia/compare/11.0.7...11.0.8

What's Changed

Avalonia - 11.0.7

Published by maxkatz6 9 months ago

https://www.nuget.org/packages/Avalonia/11.0.7

Full Changelog: https://github.com/AvaloniaUI/Avalonia/compare/11.0.6...11.0.7

What's Changed

  • Fixed issue: Default font family name cannot be null or empty by @mihnea-radulescu in PR #12817
  • Fixed missing resources for TimePicker & DatePicker in simple theme by @workgroupengineering in PR #12851
  • Fixed memory leak in Animatable transitions by @DmitryZhelnin in PR #12861
  • Fixed issue with VirtualizingPanel's RemoveInternalChildRange() by @liwuqingxin in PR #12877
  • Fixed Xaml Compiler error when code-behind class contains a DllImport method by @workgroupengineering in PR #12882
  • Fixed memory leak in TopLevel's Cursor property subscriptions by @DmitryZhelnin in PR #12996
  • Added Clear function to Date and Time pickers by @rabbitism in PR #13082
  • Fixed typo in ItemsControlFromItemContainer by @workgroupengineering in PR #13118
  • Updated RenderDataRectangleNode.HitTest for proper hit-testing of rounded rectangles by @billhenn in PR #13797
  • Fixed initialization property order in SelectedItemsControl by @MrJul in PR #13800
  • Implemented helper OutputApiDiff target by @maxkatz6 in PR #13818
  • Unsubscribed Android back handler when toplevel is disposed by @emmauss in PR #13831
  • Fixed DataGrid IList editing issue by @maxkatz6 in PR #13845
  • Fixed TextLine run bounds union calculation by @Gillibald in PR #13847
  • Fixed TabItem.TabStripPlacement not being set for new tab items by @pavelovcharov in PR #13849
  • Hackfix for calling SelectAll with SelectedItem binding by @grokys in PR #13868
  • Fix OutOfMemory crash with LowLatencyDxgiSwapChain enabled by @ShadowMarker789 PR #13869
  • Added transition leak tests by @maxkatz6 in PR #13870
  • Fixed ToggleSwitch dragging by @Splitwirez in PR #13893
  • Fixed Adorner Layer Clipping by @grokys in PR #13921
  • Fixed BoxShadow style changes not triggering render updates on ContentPresenter by @Al12rs in PR #13932
  • Added feature to allow treating Avalonia Access Unstable Private APIs Warning as Error by @workgroupengineering in PR #13937
  • OpenglControl - Don't queue update if control is not attached by @emmauss in PR #13938
  • Fixed iOS Dispatcher by @maxkatz6 in PR #13942
  • Used ShowNoActivate in Win32NativeControlHost by @grokys in PR #13966
  • Don't override ContextMenu.Placement when Open is called from code by @grokys in PR #13967
  • Don't share style instances with Or selector by @grokys in PR #13969
  • Fixed IOSStorageFolder permission problem by @sghctoma in PR #13976
  • Fixed Border and Shape border re-rendering when changing Brush value by @SKProCH in PR #13980
  • Fixed DBus Exception on window close by @affederaffe in PR #13997
  • Updated Tmds.DBus.SourceGenerator to 0.0.13 by @workgroupengineering in PR #14010
  • Fixed Relative line drawing in Geometries by @workgroupengineering in PR #14013
  • Removed missing MVID warning on XAML compilation by @MrJul in PR #14014
  • Fixed color of selected DataGridRow by @zavaleriy in PR #14026
  • Fixed regression in rendering of non-clear type text by @danwalmsley in PR #14080
  • Don't crash on IsCurrent checks by @maxkatz6 in PR #14089
  • Implemented ApiInformation checks by @maxkatz6 in PR #14090
  • Fixed XML Docs: Renamed inheritdocs to inheritdoc by @workgroupengineering in PR #14093
  • Added an event to detect when an Application icon is clicked by @danwalmsley in PR #14106
  • Improved TextBox behavior on Ctrl+Backspace down event by @exGensImpl in PR #14138
  • Added InheritDataTypeFromItems for AutoCompleteBox.ValueMemberBinding by @gehongyan in PR #14162
  • Fixed exception when SelectedValueBinding evaluates to null by @TomEdwardsEnscape in PR #14171
  • Updated SkiaSharp to 2.88.7 to fix a memory exception by @MontagueM in PR #14179
  • Ported DragMove logic from WPF by @jmacato in PR #14186
Avalonia - 11.0.6

Published by maxkatz6 11 months ago

https://www.nuget.org/packages/Avalonia/11.0.6

Full Changelog: https://github.com/AvaloniaUI/Avalonia/compare/11.0.5...11.0.6

Join Discussion: https://github.com/AvaloniaUI/Avalonia/discussions/13841

What's Changed

Avalonia - 11.0.5

Published by danwalmsley about 1 year ago

https://www.nuget.org/packages/Avalonia/11.0.5

What's Changed

Full Changelog: https://github.com/AvaloniaUI/Avalonia/compare/11.0.4...11.0.5

Avalonia - 11.0.5-rc1

Published by danwalmsley about 1 year ago

Avalonia - 11.0.4

Published by danwalmsley about 1 year ago

Just some bug fixes! Stability++

https://www.nuget.org/packages/Avalonia/11.0.4

What's Changed

New Contributors

Full Changelog: https://github.com/AvaloniaUI/Avalonia/compare/11.0.3...11.0.4

Avalonia - 11.0.3

Published by danwalmsley about 1 year ago

Minor fixes and improvements

What's Changed

New Contributors

Avalonia - 0.10.22

Published by danwalmsley about 1 year ago

Minor bug fixes:
https://github.com/AvaloniaUI/Avalonia/pull/9135 - Datagrid issues
https://github.com/AvaloniaUI/Avalonia/pull/10532 - MacOS window sizing issue.

Avalonia - 11.0.2

Published by danwalmsley about 1 year ago

https://www.nuget.org/packages/Avalonia/11.0.2

What's Changed

New Contributors

Full Changelog: https://github.com/AvaloniaUI/Avalonia/compare/11.0.1...11.0.2

Avalonia - 11.0.1

Published by danwalmsley about 1 year ago

Bug fixes only this time folks!

https://www.nuget.org/packages/Avalonia/11.0.1

What's Changed

New Contributors

Full Changelog: https://github.com/AvaloniaUI/Avalonia/compare/11.0.0...11.0.1

Avalonia - 11.0.0

Published by danwalmsley over 1 year ago

Our docs have had an overhaul also:
https://docs.avaloniaui.net/

See this guide on how to update your application.
https://docs.avaloniaui.net/docs/next/stay-up-to-date/upgrade-from-0.10

https://www.nuget.org/packages/Avalonia/11.0.0

New Features

A11y (Accessibility)
This version of Avalonia takes major strides in making applications more accessible. We've added support for various accessibility tools, making it easier for everyone to use Avalonia applications.

IME (Input Method Editor) Support
We have introduced support for Input Method Editor (IME), this allows onscreen keyboards and input in all languages.

Compositing Renderer
The new compositing renderer enhances the graphical rendering capabilities, providing a more robust, efficient, and flexible rendering pipeline.

WebAssembly (WASM) Support
WASM support allows Avalonia applications to run directly in the browser, broadening our platform support and giving developers more freedom and flexibility.

iOS and Android Support
We've added support for both iOS and Android platforms. Developers can now build and run Avalonia applications on two of the most popular mobile platforms.

Full Rich Text support
You can now fully render rich text allowing you to render complex documents.

With the Text Inlines feature, you can easily construct complex formatted text blocks. It enables you to add annotations, hyperlinks, and other inline elements in your text.

Smooth Virtualization (Reworked ItemsControl)
We've completely reworked the ItemsControl to provide smooth virtualization. This improves the efficiency and user experience for controls with many items.

Performance Improvements
Avalonia 11.0 comes with significant performance improvements, enhancing the speed and efficiency of your applications.

Control Themes, Nested Styles, and Theme Variants
We've added the ability to theme controls, apply nested styles, and choose theme variants. This makes it easier to build beautiful and consistent UIs.

Bitmap Effects
The Bitmap Effects feature lets you apply visual effects to bitmaps. You can add blur, drop shadows, and other effects to images.

3D Transforms
With 3D Transforms, you can now create stunning three-dimensional effects in your UI.

AOT (Ahead-Of-Time) Compilation and Trimming
AOT compilation enables your apps to run faster by compiling them before runtime. Trimming reduces the size of your apps by removing unused code.

GPU Interop
The GPU Interop feature allows Avalonia to work more efficiently with the GPU, improving rendering performance and visuals.

Experimental Metal Support
We're testing Metal support to improve performance on iOS and macOS devices.

Avalonia - 0.10.21

Published by danwalmsley over 1 year ago

  • Remove msbuild debug code, causing a "test.bin" file to be left next to the main project.

https://www.nuget.org/packages/Avalonia/0.10.21

Avalonia - 0.10.20

Published by danwalmsley over 1 year ago

  • Critical MacOS fix, after 24 hours mouse events behave strangely.
  • Crash could occur if tooltip open / close collided with window resizing.
  • Fix popup pointer positioning from touch.
  • When ExtendClientAreaToDecorations is true, and CanResize = false, dont allow Zoom osx or Maximize on Windows.

other small bug fixes
https://github.com/AvaloniaUI/Avalonia/compare/release/0.10.19...release/0.10.20

https://www.nuget.org/packages/Avalonia/0.10.20