Releases: AvaloniaUI/Avalonia
Releases · AvaloniaUI/Avalonia
11.2.0-beta1
We are currently switching to 3-months release cycle starting with 11.2.
And as you all can see, 11.2 branch already has a lot of improvements over 11.1 release this summer.
What's Changed
Features
- Implement
BindingOperations.GetBindingExpressionBase
by @grokys in #16214 - Screens API refactor by @maxkatz6 in #16295
- XAML x:Shared support by @workgroupengineering in #16644
- PolyBezierSegment Geometry by @workgroupengineering in #16664
- Improve TextTrimming customization experience by @Gillibald in #16521
- New ToolTipClosing, ToolTipOpening attached events and ToolTip.Opened, ToolTip.Closed by @maxkatz6 in #15493
- Custom popup placement callback by @maxkatz6 in #15667
- Avalonia.Native TopLevel embedding by @Gillibald in #15932
- feat: Every RoutedEvent should be usable as Attached Event by @workgroupengineering in #15274
- Refactored WASM rendering, added MT support for dispatcher by @kekekeks in #15709
- MacOS sandboxing feature by @maxkatz6 in #16090
- Avalonia single project support by @maxkatz6 in #9613
- Improve DevTools previewer of setter values by including all value priorities by @maxkatz6 in #13802
- Add HotKeys Page to DevTools by @stevemonaco in #15700
- Add Close and ClearAll api for INotificationManager and IManagedNotificationManager by @wieslawsoltes in #15628
- Add dedicated automation peers for TreeView and TreeViewItem by @wieslawsoltes in #15653
- Implementing IFormattable on KeyGesture by @IanRawley in #15828
- DataGrid: expose row index by @rabbitism in #15909
- Adds support for Seconds to TimePicker by @begleysm in #16079
- Add an overload for ClassicDesktopStyleApplicationLifetime by @NeverMorewd in #16167
Fixes
Expand
- Fix TemplateBinding and allow custom attributes in XamlValueConverter by @maxkatz6 in #14612
- Notify window on mouseEntered (mac only) by @ltetak in #15251
- Fix nth child selector in data grid header by @appel1 in #15482
- Win32 - Fix EntendClient hints not being applied window show by @emmauss in #15552
- X11Window should probably ignore X11 grab focus events by @walterlv in #15686
- Try to normalize family names for embedded fonts by @Gillibald in #15703
- Propagate Dispose from GlyphTypefaceImpl to dispose SkTypeface by @lindexi in #15733
- Don't show text selector when no text is ready by @emmauss in #15770
- More trimming fixes, enable analyzers unconditionally by @maxkatz6 in #15815
- FontManager adjustments by @Gillibald in #15819
- Fix OnColorValuesChanged not executed on the UI thread by @Bezolt in #15827
- [Text] Multiple text processing fixes by @Gillibald in #15837
- Translate glyphRun bounds by the baseline origin by @Gillibald in #15839
- Apply Alignments to TileBrushes with uniform stretch by @emmauss in #15846
- [Text] Fix glyph offsets by @Gillibald in #15848
- Remove from logical children and clear item container on reset by @Meloman19 in #15855
- macOS: Don't include two windows in a11y tree. by @grokys in #15899
- Fix gesture event names by @wieslawsoltes in #15931
- [X11] Ensure XSync before calling CreateNativeControlCore by @kekekeks in #15952
- Fix #15955 by @nil4 in #16005
- Fix some issues with strokeless geometry segments by @grokys in #16019
- Fix tile mode used in SkShader for a TileBrush with None TileMode by @emmauss in #16021
- Fix TrayIcon menu crash by @logiclrd in #16024
- Fix crash in TreeView when removing a node. by @doubleday in #16041
- Enhance SplitPropertyPath to conditionally handle parentheses in prop. by @Abdesol in #16054
- Fix headless window transparency by @Rosentti in #16058
- Set isDirectory:true explicitly to help [NSURL fileURLWithPath] method by @maxkatz6 in #16061
- Fix HorizontalHeadTable usage by @Gillibald in #16064
- Win32 - Ensure owner topmost flag is set if its topmost when showing a owned window by @emmauss in #16104
- TrayIcon fixes by @jmacato in #16111
- DBus init and usage fixes by @kekekeks in #16119
- Reapply (#15568) + Updates by @jmacato in #16129
- Fix datagrid performance on attached to tree by @IZIDIA in #16140
- win32: Fix edge-case bug with DPI scaling by @grokys in #16143
- Fix XML child-value syntax in Setters by @maxkatz6 in #16153
- Toplevel - Fix system theme not being applied at launch on some platforms by @emmauss in #16159
- Fix embedded TopLevel coordinate conversion by @Gillibald in #16181
- Android - Add workaround for android 11 ime insets being weird by @emmauss in #16201
- [macOS][X11] Release mouse capture when dialog shown by @grokys in #16205
- Implemented
MultiBindingExpression
by @grokys in #16219 - Set InheritsTransform on ComboBox Popup in Simple theme by @maxkatz6 in #16244
- Win32 - Fix window size and position for border only window when maximized through OS means by @emmauss in #16297
- "About Avalonia" native menu item crashes app when main window is not visible by @maxkatz6 in #16303
- [Text] Fix infinite loop hang on selection of bidi text by @Mikolaytis in #16306
- Use culture identifier instead of CultureInfo in NameTable by @BobLd in #16310
- Only update selection on focus in TabControl if focus comes from TabItem. by @grokys in #16338
- Don't BringIntoViewOnFocusChange in Carousel. by @grokys in #16339
- macOS WindowState call on Show crash fix by @jmacato in #16341
- Fix headless screens by @maxkatz6 in #16348
- Fix Popup focus stealing for embedded controls by @Gillibald in #16365
- [WinRT] Added watchdog for ICompositor5::RequestCommitAsync by @kekekeks in #16393
- Forward pointer wheel event from scrollbar to scrollviewer by @emmauss in #16398
- Always use the matched typeface's weight, style and stretch by @Gillibald in #16489
- Fix - Grow datagrid height if there's available space by @emmauss in #16527
- Fix typeface font simulations by @Gillibald in #16538
- [OpenGL] Fix #13807 - lingering glGetError from Avalonia by @Dragorn421 in #16539
- Fixup
GlxDisplay.CreateContext
by @Dragorn421 in #16540 - Fixes ShapedTextRun drawing by @Gillibald in #16545
- Apply NumericUpDown.FormatString changes immediately. by @pokorpa in #16575
- Extend the client area when a Win32 window is opened in maximised state by @TomEdwardsEnscape in #16593
- Fixes ShapedTextRun background rendering by @Gillibald in #16594
- fix: Button should not fire the click event on the space key when it is not active by @workgroupengineering in #16619
- feat(XamlX): Trim text befo...
11.1.3
What's Changed
Features
- Added Compositor.CreateCompositionVisualSnapshot API by @kekekeks in #16599
- [Android] Support
PerformContextMenuAction
by @Tangent-90 in #15608 - Add api to allow text input method to trigger common context menu actions by @emmauss in #15666
Fixes
- [iOS] Switch to Metal by default by @maxkatz6 in #15994
- [Android] [TextBox] Fix a bug which cause cannot call out the soft keyboard again after closing it by @Tangent-90 in #15603
- Suspend selection updates in TextBoxTextInputMethodClient until all changes are completed by @emmauss in #15659
- [Windows] GetDpiForMonitor checks for Windows 8.0, but should check for 8.1 by @yusupovdanil in #15734
- [Linux] Blacklist SVGA3D gpu driver by @kekekeks in #15742
- Restore 0.10.x behavior for re-creating visual brush content on property change by @kekekeks in #15838
- Prevent FontFamily Property was null and crash the whole application by @Luoyingliang in #15896
- Use the owner window's screen as the constraint. by @grokys in #15910
- Implemented VulkanDevice.Dispose by @jp2masa in #15936
- [Windows] Fixed UIA pattern matching for IExpandCollapseProvider. by @boydpatterson in #15997
- Fixed memory leak in Switch class by @ds1709 in #15998
- [Windows] Restores WS_CHILD style for Embedded Windows by @fitdev in #16051
- Fix compiled binding indexer always forcing integer boxing by @maxkatz6 in #16109
- [Windows] Patch Win32.TrayIconImpl DPI check for Win7/8 by @evgeniylevakhin in #16148
- [Browser] Fix launcher on browser by @maxkatz6 in #16271
- [Windows] Disable WinFormsAvaloniaControlHost in design mode by @daniel-lerch in #16296
- Fix - return (0,0) as size for text selector layer on MeasureOverride by @emmauss in #16373
- [Linux] Compatible with "fcitx5" envrionment variable by @kkwpsv in #16434
- [Windows] Win32.PlatformConstants uses buildNumber instead of version by @christophe-calmejane in #16453
- [Android] Fix android uri activation by @maxkatz6 in #16477
- Fix TextLayout invalidation by @Gillibald in #16481
- Remove internal access modifier from IWindowImpl.GetWindowsZOrder by @stevemonaco in #16562
- Fixed overlay popups not automatically closing by @TomEdwardsEnscape in #16564
- [Linux] Gracefully fall back to the next storage provider by @kekekeks in #15929
- [Linux] Fix Linux X11 Atoms lost: Before the window was mapped, only the first atom was set. by @walterlv in #16110
Infrastructure
- Refactor integration test app paging by @grokys in #16551
- Make integrational tests compatible with Appium 2 by @maxkatz6 in #15570
- Reset API validation baseline by @maxkatz6 in #16470
- Record video for failing win32 integration tests on CI. by @grokys in #16546
- Try to fix flaky window decorations tests on Windows. by @grokys in #16597
Full Changelog: 11.1.2...11.1.3
11.1.2
What's Changed
Features
- Update popups and flyouts to properly support OverlayDismissEventPassThrough by @billhenn in #15517
- Allow binding
DataGridRow.IsSelected
by @grokys in #16520
Fixes
- [Win] Fix composition on focus change by @Gillibald in #15907
- [Text] Fix some text layout issues with ligatures that are being formed by @Gillibald in #16120
- Fix nunit tests adapter losing async locals by @maxkatz6 in #16157
- Make VirtualizingStackPanel better handle container size changes by @grokys in #16168
- Reset scroller valuators on XI2Manager.cs by @jmacato in #16185
- Fix context menu keyboard selection. by @grokys in #16354
11.1.2-rc1
What's Changed
Features
- Update popups and flyouts to properly support OverlayDismissEventPassThrough by @billhenn in #15517
- Allow binding
DataGridRow.IsSelected
by @grokys in #16520
Fixes
- [Win] Fix composition on focus change by @Gillibald in #15907
- [Text] Fix some text layout issues with ligatures that are being formed by @Gillibald in #16120
- Fix nunit tests adapter losing async locals by @maxkatz6 in #16157
- Make VirtualizingStackPanel better handle container size changes by @grokys in #16168
- Reset scroller valuators on XI2Manager.cs by @jmacato in #16185
- Fix context menu keyboard selection. by @grokys in #16354
11.0.13
11.1.1
11.0.12
11.1.0
What's Changed
- Converter for DataValidationErrors by @timunie in #11282
- Add default template to the ContentControl, remove theme specific templates by @maxkatz6 in #11365
- Introduce MenuItem.ToggleType by @maxkatz6 in #11441
- Samsung Tizen by @OmidID in #12151
- Refractor WindowNotificationManager by @timunie in #12178
- Do not hardcode Grid.*Span-Properties for ScrollViewer FluentTheme by @timunie in #12301
- Bugfix: CanResize unused when Width/Height is set by @uthidata in #12445
- fix: Missing quality parameter by @workgroupengineering in #12507
- feat: Avalonia Properties Page by @workgroupengineering in #12562
- feat: Using pdbstr from Microsoft.Debugging.Tools.PdbStr instead of obsolete SourceLink package by @workgroupengineering in #12570
- Win32+Angle: reuse the first created D3D11 display by @MrJul in #12574
- Added PointerPressed and PointerReleased events to DataGrid header by @ctacke in #12595
- Revert "Clipboard image" by @maxkatz6 in #12599
- Pass
NoWarn
to external MSBuild processes by @TomEdwardsEnscape in #12647 - fix polygon/polyline load fail points within the template by @a526684540 in #12651
- Implement CVDisplayLink based timer on macOS by @maxkatz6 in #12652
- Fix default values of window properties not being sent to
IWindowImpl
by @TomEdwardsEnscape in #12656 - Updated Inter font to fix vertical stretching issue and for lighter typefaces by @dbriard in #12667
- Implement xdg-desktop-portal accent-color spec by @affederaffe in #12674
- Introduce GlyphTypeface.TryGetStream by @Gillibald in #12696
- Fix pointer sample page scrolling issue by @emmauss in #12697
- Adjust popup working area with toplevel's safe area padding by @emmauss in #12699
- Add github sponsors badge to readme by @Mrxx99 in #12701
- Remove hardcoded popup constraint adjustment by @emmauss in #12708
- Update CONTRIBUTING.md by @grokys in #12714
- Implemented Geometry.GetWidenedGeometry. by @grokys in #12724
- Add win32 platform options to select process DPI awareness by @emmauss in #12726
- Vulkan backend by @kekekeks in #12737
- Improve updates of Win32 window's WindowStyles by @emmauss in #12752
- Made clear behavior in RenderTargetBitmap.CreateDrawingContext optional by @PMahern in #12793
- feat: WindowNotificationManager: support TopCenter and BottomCenter position by @rabbitism in #12804
- feat(DevTools): Focus follower by @workgroupengineering in #12813
- fix: PULL_REQUEST_TEMPLATE.md docs link by @workgroupengineering in #12815
- Apply XamlX PR #92 override the Content attribute for a base class by @workgroupengineering in #12824
- Closing tooltips on control click by @HermanKirshin in #12831
- Fixed bug with initial size and position calculation for X11Window by @HermanKirshin in #12833
- Added ConverterCulture to bindings. by @grokys in #12876
- Hold Gesture size and event improvements by @emmauss in #12879
- [X11] Use Xft.dpi and QT_*** environment variable to get screen scaling by @kekekeks in #12880
- Add ThreadProxyRenderTimer by @maxkatz6 in #12900
- fix: set
AvaloniaUseCompiledBindingsByDefault
to false by default by @workgroupengineering in #12987 - Added PhysicalKey handling for Android by @MrJul in #13006
- Bump minimal TFM for mobile projects from .NET 6 to .NET 7. by @maxkatz6 in #13012
- Fix MobileSandbox.iOS TFM by @MrJul in #13017
- In
Avalonia.Base
, private fields that are never modified were madereadonly
by @Lehonti in #13020 - In
Avalonia.Dialogs
, addedreadonly
to fields that are never modi. by @Lehonti in #13022 - In
Avalonia.ReactiveUI
, simplified null checks for delegate invocations by @Lehonti in #13023 - Add Header content control template for Fluent and Simple themes by @thevortexcloud in #13028
- In
Avalonia.Base
, sealed several classes whose constructors aren't available from public API, and which have no inheritors by @Lehonti in #13043 - Modernized accessor syntax in several places by @Lehonti in #13044
- Incorrect reset of a captured control when moving the pointer over a MenuItem by @viordash in #13046
- Impl auto safe area padding by @maxkatz6 in #13047
- Replace old Roadmap link with link to Blog by @MaxwellDAssistek in #13069
- Make ColorPicker button content customizable. by @rabbitism in #13073
- Housekeeping/improve issue templates by @timunie in #13074
- Use latest Angle builds by @maxkatz6 in #13081
- perf: Micro optimization EndsWith using by @workgroupengineering in #13084
- Fixed an issue that windows empty Win32 window would show unnecessarily by @adirh3 in #13097
- Implement Text Selection handles in TextBox for touch input by @emmauss in #13107
- bump version. by @danwalmsley in #13117
- Fix documentation typos in AvaloniaLIst (#4948) by @mgnslndh in #13146
- Update XamlX by @MrJul in #13158
- [Mac] Only raise TextInput for non empty keySymbol by @Gillibald in #13179
- Introduce AppBuilder extension to customize system fonts by @Gillibald in #13191
- feat: avoid redundant null check in PinchGestureRecognizer by @workgroupengineering in #13207
- Replace lost DynLoader with NativeLibraryEx by @maxkatz6 in #13217
- [Mac] Handle control keys all the time by @Gillibald in #13220
- Do not set borders if window state is maximized in Win32 by @emmauss in #13228
- cleanup(PinchGestureRecognizer): Removing unused methods by @workgroupengineering in #13229
- Fix TextWrapping for all modes when nothing fits into a line by @Gillibald in #13241
- feat(PinchGestureRecognizer): Report Pinch angle in degrees by @workgroupengineering in #13244
- Typo on TextBlock.cs comments by @alessandrofrancesconi in #13255
- Fixes leading space GlyphRun.InkBounds by @Gillibald in #13268
- update xamlx by @workgroupengineering in #13328
- Handle array types when parsing XAML values by @TomEdwardsEnscape in #13331
- Make
PreventGestureRecognition
pointer scope, and not event scope. by @emmauss in #13351 - Add Platform InputPane interface by @emmauss in #13363
- Fix SystemFontCollection nearest match lookup by @Gillibald in #13365
- feat(DevTools): Pin properties by @workgroupengineering in #13371
- Implement DirectComposition support, as well as return Win8+ window transparency by @maxkatz6 in #13382
- Fix previewing XAML in the Simple theme project by @mgnslndh in #13394
- Disable close, move, resize, maximize and minimize functions for parent of modal window on Linux. by @EgorRudakov2 in #13398
- [X11] IME hack for fcitx4 by ...
11.1.0-rc2
Full Changelog: 11.1.0-rc1...11.1.0-rc2
What's Changed
- Convert IAvaloniaXamlIlParentStackProvider to eager one if needed by @MrJul in #16028
- Fix negation of null values. by @grokys in #16101
- Fix BindingNotification handling in MultiBinding by @grokys in #16102
- Fix
ICommand
bindings in style setters by @grokys in #16122 - Make bindings react to PropertyChanged even if property hasn't changed by @grokys in #16150
11.0.11
https://www.nuget.org/packages/Avalonia/11.0.11
Full Changelog: 11.0.10...11.0.11
What's Changed
- Implement MacOSProperties.IsTemplateIcon attached property on TrayIcon by @maxkatz6 in #14348
- Create a new run loop observer for a nested loop if it's being started from an observer callback by @kekekeks in #15425
- Fix VirtualizingStackPanel ScrollIntoView by @grokys in #15449
- [Win] Fix composition on focus change by @Gillibald in #15907