What changed in Avalonia from 11 to 12

6 releases numbered after 11.3.20 up to and including 12.1.2, stable releases only. 11.3.20 and 12.1.2 are the newest stable releases of 11 and 12 we track; this page follows them as new ones ship.

102 changes across 6 releases

Added 36

12.1.2

  • Add TextInputOptions.HintLocales
  • Implement VerticalContentAlignment for DatePicker and TimePicker
  • Add :empty pseudoclass for ContentControl
  • Add Content attribute to ContentPresenter
  • Support TextInputOptions.IsSensitive and ContentType Pin on Android
  • Implement VoiceOver support on iOS

12.1.1

  • Add ToolTip.ShouldUseOverlayLayer attached property
  • Allow single parameter with any type when binding to a method
  • Add UseWaylandWithFallback option
  • Expose AutomationId as resource-id for Android automation

12.1.0

  • Allow setting ThemeVariant to Default to reset theme to system on Android
  • Allow Dispatcher to be converted to a TaskScheduler
  • Add Scrollbar context menu
  • Add custom CalendarDatePicker date parsing to allow for multiple user input formats
  • Implement TableView control
  • Implement IStorageProvider.OpenFileWithResultAsync
  • Implement Bitmap.Save with a format
  • Implement Win32Properties.WindowCornerPreference
  • Implement automatic fps detection on X11
  • Implement XDND drag-and-drop support for Linux
  • Implement Wayland protocol support
  • Add platform feedback API for sound and haptic feedback on Android and iOS
  • Create Avalonia.WinUI for initial WinUI embed support

12.0.5

  • Implement Unicode word segmentation and update to Unicode v17
  • Expose Calendar day button selection state to automation
  • Expose menu item toggle state to automation
  • Support Value pattern on editable ComboBox automation peer
  • Add AX BringIntoView/AXScrollArea role on macOS
  • Expose ScrollViewer scroll bars to accessibility on macOS
  • Report read-only value state to accessibility on macOS
  • Expose tree item selection to accessibility on macOS
  • Expose placeholder text as the AT-SPI placeholder-text attribute on X11
  • Add support for hover events on Android
  • Add sleep timer option to Headless

12.0.4

  • Add missing AutomationPeers from built-in Controls
  • Add accessibility events for expand and collapse events on macOS
Changed 23

12.1.2

  • Preserve current Animation progress if SpeedRatio or PlaybackDirection changes
  • Propagate Popup.IsHitTestVisible to IPopupImpl to skip hit-testing popups on the OS level if available
  • Don't build the selected text just to check whether a selection exists
  • Enable picking .app-packages as a folder on macOS
  • Select a KMS-capable DRM card automatically on Linux

12.1.0

  • Remove obsolete int32 limit on DispatcherTimer.Interval
  • Bump MicroCOM and use source generators
  • Allow attaching a platform-specific event cookie to platform events
  • Align Touch and Pen capture semantics with Mouse
  • Disable region dirty rect clipping by default
  • Enable stencil buffers by default with configurable option
  • Support rendering at max refresh rate of current displays on Windows

12.0.5

  • Unicode and text layout optimizations
  • Enhance Roslyn-compiler visible metadata
  • Fall back to pixel location when GetPointerDeviceRects is unavailable
  • Synchronize Metal drawable presentation on macOS

12.0.4

  • Bump ANGLE version and sign native binaries
  • Update XML documentation to reflect correct type references in Avalonia.Controls project
  • Align Touch/Pen capture semantics with Mouse
  • Fire property-changed events when AutomationId changes at runtime
  • Update SkiaSharp to 3.119.4
  • Implement TextRunCache for performance improvement
  • Improve type caching in the XAML compiler
Fixed 42

12.1.2

  • Fix GeometryBuilder.DrawRoundedCornersRectangle for Rect
  • Fix Vulkan image layout in GPU interop
  • Fix ServerCompositionDrawingSurface orphaning GPU snapshots when an update is processed after Dispose
  • Fix Loaded event processing after a handler throws
  • Keep transform playback in sync when hidden
  • Fix vector geometry anti-aliasing regression by making stencil buffers opt-in
  • Fix AccessKeyHandler when no descendant control has focus
  • Ensure that ActualThemeVariant always has a proper value
  • Fix init order of SetupWithClassicDesktopLifetime

12.1.1

  • Fix Dispatcher.ReplaceImplementation
  • Reapply cached binding source values during UpdateTarget
  • Fix custom-hit-test optimization
  • Detach platform input when presentation source closes
  • Fix line break enumerator infinite loop
  • Fix EGL surface recreation after native handle changes
  • Fix stale _usedCache value that wasn't reset properly in compositor
  • Properly wire CompositionInterop.IsLost
  • Preserve lines at rounded fractional heights
  • Correct nested TreeViewItem selection behaviour on pointer release
  • Fix issues on SelectingItemsControls when items or control changes visibility
  • Stop HotKeyManager from triggering on hidden controls
  • Fix SplitView stealing BackRequested when its pane is closed
  • Fix CommandBar secondary visibility during overflow open
  • Fix AutoCompleteBox popup not closing on focus lost
  • Position popup using the screen containing the anchor point

12.1.0

  • Improve composition hit testing performance with per-visual AABBs

12.0.5

  • Fix culture aware font matching
  • Fix TextCollapsingProperties bidirectional-text (BiDi) correctness
  • Fix NotificationCard pseudo class state when NotificationType changes
  • Apply placeholder opacity to combobox placeholder textblock
  • Fix radio button disabled fill and stroke brushes

12.0.4

  • Fix CommandBar overflow labels when label position is collapsed
  • Fix RenderTargetBitmap losing effects
  • Fix SelectionChanged not raised on collection reset
  • Ensure system back event is passed to child page once
  • Make sure TryGetGlyphTypeface does not fail for concurrent access
  • Avoid exceptions when getting a position from a PointerEventArgs
  • Make text in NumericUpDown update immediately when changing the TextConverter
  • Fix double reorder of cached bidi runs
  • Set WindowDrawnDecorations background to transparent
  • Fix radio MenuItem grouping in MenuFlyout
  • Fix popup positioning anchor rect bug with drawn window decorations
Security 1

12.0.3

  • Bump SharpCompress from 0.41.0 to 0.48.0 in VNC

Original release notes, newest first

The list above is our reading of these notes; the originals from AvaloniaUI are here, one fold per release.

12.1.2
What's Changed
Enhancements
Fixes

Full Changelog: https://github.com/AvaloniaUI/Avalonia/compare/12.1.1...12.1.2

View originalPermalink

12.1.1
What's Changed
Enhancements
Fixes

Full Changelog: https://github.com/AvaloniaUI/Avalonia/compare/12.1.0...12.1.1

View originalPermalink

12.1.0

General

Read our release blog post for more information about new features in Avalonia 12.1.0!

What's Changed

Enhancements
Fixes
Misc

View originalPermalink

12.0.5
What's Changed
Enhancements
Fixes

Full Changelog: https://github.com/AvaloniaUI/Avalonia/compare/12.0.4...12.0.5

View originalPermalink

12.0.4
What's Changed
Enhancements
Performance
Fixes

Full Changelog: https://github.com/AvaloniaUI/Avalonia/compare/12.0.3...12.0.4

View originalPermalink

12.0.3
What's Changed
Security

Full Changelog: https://github.com/AvaloniaUI/Avalonia/compare/12.0.2...12.0.3

View originalPermalink