Releases: AvaloniaUI/Avalonia
Releases · AvaloniaUI/Avalonia
11.3.10
What's Changed
Enhancements
- Core – Allow stopping composition animation by @zxbmmmmmmmmm in #20074
- Core – Introduce
PathSegmentEllipsisTextTrimming by @Gillibald in #20077 - Core – Enable antialiasing based on
EdgeModeinDrawBitmapby @snowflysky in #20116 - Core – Reduce allocations in text rendering by @Washi1337 in #20175
- Core – Improve effect render performance by providing Skia with information about subscene bounds by @kekekeks in #20191
- Controls – Add
StrokeMiterLimitproperty toShapeby @jsuarezruiz in #20156 - Controls – Add
FillRuleproperty forPolyline/Polygonby @jsuarezruiz in #20159 - ReactiveUI – Remove
Avalonia.ReactiveUIby @MrJul in #20101 - Windows – Change empty
TrayIconto use lazy initialization by @maxkatz6 in #20211 - Windows – Export bitmap in more clipboard formats by @emmauss in #20209
- macOS – Implement accessibility value setter by @MrJul in #20262
- X11 – Add basic Pen support by @flabbet in #19910
Fixes
- Core – Fix newline requiring two backspaces to be deleted by @Linlccc in #20073
- Core – Correct some Container Query error outputs by @emmauss in #20170
- Core – Fix
ImmediateRendererby @ds1709 in #20174 - Core – Fix exception when deleting a non-empty directory by @wasdawz in #20194
- Core – Fix
SystemFontCollectionby @Gillibald in #20207 - Controls – Round measured cell sizes when
UseLayoutRoundingis enabled inUniformGridby @Soar360 in #19959 - Controls – Preserve run formatting when applying
SelectionForegroundBrushinSelectableTextBlockby @AuroraZiling in #20110 - Controls – Fix
ReversibleStackPanelnot invalidating arrange onReverseOrderchange by @Athari in #20172 - Controls – Skip disabled controls in
XYFocusby @IanRawley in #20241 - Controls – Apply
NumberFormatchanges toNumericUpDownby @dpse in #20248 - Designer – Fix thread-safety issue causing infinite loops in
TypeHelpercache by @copilot-swe-agent in #20113 - Windows – Fix no border sysmenu by @emmauss in #19923
- Windows – Fix intermediate mouse points order by @flabbet in #20075
- Windows – Fix popups not closing when using WinForms Host by @emmauss in #20090
- Windows – Fix winforms mnemonic handler being called when textbox is focused. by @emmauss in #20091
- macOS – Use relative placement for detecting drag and drop locations. by @drasticactions in #20280
- X11 – Avoid clearing clipboard if we still have the ownership by @MrJul in #20137
- X11 – Clean up IME inconsistencies by @AlanIWBFT in #20201
- Android – Fix Android Api 36 by @emmauss in #20112
- Android – Use androidx lib for backpressed callback by @emmauss in #20291
- iOS – Fix on screen keyboard missing decimal separator by @YasarYY in #20279
- Headless – Fix headless race condition by @MrJul in #20143
Full Changelog: 11.3.9...11.3.10
11.3.9
What's Changed
Enhancements
- Core – Add
SaveFilePickerWithResultAsyncAPI by @jmacato in #19783 - Core – Primary mouse device by @miloush in #19898
- Core – Add an optional
ConvertBackmethod toFuncValueConverterby @zacfromaustinpowder in #19920 - Core – Support reading from and copying images to clipboard by @emmauss in #19930
- Core – Add
SuggestedFileTypefor Save/OpenFilePicker by @jmacato in #20026 - Headless – Add headless
AvaloniaTestIsolationLevelby @maxkatz6 in #20000 - Build – Update
Avalonia.BuildServicespackage version by @maxkatz6 in #20078
Fixes
- Core – Properly handle
DrawableRun.Baselineby @Gillibald in #19896 - Core – Fix
Selector.ValidateNestingSelectornot calling overrides by @zacfromaustinpowder in #19947 - Core – Handle long file paths in
UriFromFilePathby @startewho in #19955 - Core – Fix
ServerCompositionSimplePenmemory leak by @aguahombre in #19958 - Core – Cache platform font manager
TryMatchCharacterresult by @Gillibald in #19987 - Core – Fix
EmbeddedFontCollection.TryGetNearestMatchcaching by @Gillibald in #20013 - Controls – Make
ContentPresenter.RecognizesAccessKeystylable by @Gillibald in #19893 - Previewer – Don't let the
PreviewerWindowbe any size by @mrlacey in #19957 - Android – Fix changes to
AccessibilityNodeInfoCompat.Checkeddata type from bool to int by @BobbyCannon in #19985 - Android - Fix external app not reading text in clipboard by @emmauss in #20023
- macOS – Fix fullscreen transitions with
ExtendClientAreaToDecorationsHintwindows by @drasticactions in #19939 - macOS – Fix XButtons event handler by @DrunkyBard in #19997
- macOS – Correct key mapping for scan code 0x18 by @snowflysky in #20009
- macOS – Fix
TryCreateGlyphTypefacereturn on macOS with SkiaSharp 2.88 by @MrJul in #20084 - Windows – Handle mouse movement in non-client areas of window. (#19922) by @drasticactions in #19922
- Windows – Fix
ComVariantnative size (add extended field and asserts) by @AndreyRusyaev in #20017 - Windows – Do not activate embedded windows when shown by @emmauss in #20027
- Windows – Properly snapshot
GlSkiaImportedImageby @MrJul in #20053
Full Changelog: 11.3.8...11.3.9
11.3.8
What's Changed
Enhancements
- Core – Clarify the
CenterXandCenterYproperties documentation inRotateTransformby @YoriMirus in #19741 - Core – Add internal
PointerCaptureChangingevent by @miloush in #19833 - Core – Distribute
LineGapevenly to top and bottom by @Gillibald in #19556 - Core – Adjust
GetBackspaceCaretCharacterHitby @Gillibald in #19586 - X11 – Enable network location browsing in GTK file chooser dialogs by @meywd in #19855
Fixes
- Core – Fix
PlatformDataTransferItem.TryGetRawfor unknown formats by @MrJul in #19791 - Core – Ignore
PointerOverchange when pointer event isCancelCaptureby @emmauss in #19808 - Core – Added guards in
TryGetGlyphTypefaceso the$Defaultplaceholder stops. by @wieslawsoltes in #19891 - Controls –
LayoutTransformControl: fix memory leak due toTransform.Changedevent subscription by @pavelovcharov in #19718 - Controls – Make
ScreenBaseimpl more reliable by @maxkatz6 in #19762 - Controls – Fix
ArgumentExceptionwhen showing multiple notifications with the same content by @fgsfds in #19774 - Themes – Fix
CheckboxandRadioButtonheight in compact density of Fluent theme. by @miishan in #19882 - XAML – Fix
ExpressionParseExceptionbeing reported as an internal compiler error by @TomEdwardsEnscape in #19817 - X11 – Fix DBus tray icon
NullReferenceExceptionwhen change visible by @memorydream in #19742 - Windows – Fix margins and nc hit test for caption buttons in extend to client windows by @emmauss in #19773
- Windows – Fix
Win32Exceptionwhen a file picker has an invalid file type by @TomEdwardsEnscape in #19812 - Windows – Add finalizer to
Win32Iconwhich frees its GDI handle by @TomEdwardsEnscape in #19813 - Windows – Prevent duplicated files during drag-and-drop by @MrJul in #19864
- Windows – Properly handle non standard italic/oblique fonts on Windows by @Gillibald in #19876
- Android – Fix scaling of inset when app is launched by @emmauss in #19797
- macOS – Add
parent/automationPeernull guards onAvnWindowby @jmacato in #19805
Full Changelog: 11.3.7...11.3.8
11.3.7
What's Changed
Features
- Core – Clipboard rework by @MrJul in #19347
- Controls – Add
IsEditabletoComboBoxby @almightyju in #18094 - Controls – Add
SplitViewPanePlacementsettings forTopandBottomby @danwalmsley in #19465 - Controls – Add
HeadingLeveltoAutomationPropertiesby @codecat in #19696 - X11 – Add INCR support by @kekekeks in #18428
- macOS – Implement
IOSurface/MTLSharedEventinterop APIs by @kekekeks in #18791 - Windows – Respond to
WM_CAPTURECHANGEDby @miloush in #19685
Enhancements
- Core – Add
BoxShadow(s)documentation comments by @robloo in #19644 - Core – Add
Add/Removeevent handler methods toDragDrop. by @grokys in #19739 - Themes – Add resource for
TextControlPlaceholderOpacityby @codecat in #19705 - Build – Update
Avalonia.BuildServicespackage version by @maxkatz6 in #19757
Fixes
- Core – Fix
BoxShadowequality by @MrJul in #19650 - Core – Fix typeface exception when created with empty font family name by @jay-mao-cn in #19654
- Core – Do not recapture already captured element by @miloush in #19740
- Controls – Fix tooltip hit test following a dirty rect invalidation not respecting
IsHitTestVisibleby @TomEdwardsEnscape in #19642 - Controls – Limit
InlineUIContainerto available width by @miloush in #19651 - Controls – Make sure inlines properly inherit text run properties from their parent by @Gillibald in #19750
- Controls – Fix focus issues with
ComboBoxby @almightyju in #19672 - XAML – Fix
TypeConverterAttributefor avalonia properties by @kekekeks in #19727 - XAML – Add
FindAssembliesGrantingInternalAccesstoAvaloniaXamlIlRuntimeCompilerby @drasticactions in #19735 - X11 – Fix memory leaks when closing a window on Linux by @dif-sam in #19699
- macOS – Move Drag and Drop logic to
TopLevelImplby @drasticactions in #19731 - Browser – Fix
StorageItemmethods not working and handle conversion issue by @Bugord in #19708 - Build – Remove
Microsoft.SourceLink.GitHubPackageReference by @KirillOsenkov in #19744
Full Changelog: 11.3.6...11.3.7
11.3.6
What's Changed
Enhancements
- macOS – Adjust macOS Tray/Menu icons scaling by @drasticactions in #19628
Fixes
- Windows – Fix OS timer interval calculation in Windows dispatcher by @Swarley97 in #19597
- Windows – Fix maximized window being able to resize by @emmauss in #19620
- macOS – Fix SkiaSharp 3 Metal interop signature by @MrJul in #19598
- iOS – Backport
GRContextbugfix by @maxkatz6 in #19615 - X11 – Ignore empty
preeditTextwhen no composition was active before (#19595) by @Gillibald in #19621 - Headless – Fix headless
FontManagerleak by @maxkatz6 in #19599 - Text – Fix
TextLine.GetTextBoundszero width run by @Gillibald in #19602 - Text – Fix
TextLineImpl.GetTextBoundswith trailing zero width by @Gillibald in #19616
Full Changelog: 11.3.5...11.3.6
11.3.5
What's Changed
Features
- Core – Update
Brush.Parse()to Handle all Color Formats by @robloo in #19526 - Text – Make typeface matching and synthetic typeface creation customizable by @Gillibald in #18890
Fixes
- Core – Fix validation error not being cleared on valid input by @ondrejsusovsky in #19477
- Core – Schedule a full render pass on
CompositionBatchCompletionto prevent tearing by @kekekeks in #19487 - Core – Fix
TransformGroup.Childrencollection changes not changingTransformGroup.Valueby @TomEdwardsEnscape in #19525 - Core – Fixes duplicate class property registration by @coltonk9043 in #19558
- Text – Fix overhang calculation by @Gillibald in #19013
- Text – Fix zero width space handling by @Gillibald in #19488
- Text – Fix
FontCollection.MatchCharacterby @Gillibald in #19494 - Text – Do not treat combining marks as whitespace by @Gillibald in #19498
- Text – FontLoading adjustments by @Gillibald in #19538
- Text – Rework
TextLineImpl.GetTextBoundsby @Gillibald in #19576 - Controls – Fix usage of
GridSplitterinsideItemsControlasItemsPanelby @wieslawsoltes in #19200 - Controls – Fix
RelativePanelcalculation error with extensible and aligned child by @msojocs in #19474 - Controls – Fix selected files filename in managed file chooser by @loyvsc in #19540
- Controls – Fix
BringDescendantIntoViewwith respect to margins by @emmauss in #19544 - iOS – Pass app delegate to the default
UseiOScall by @maxkatz6 in #19550 - Windows – Fix Win32 GDI leak on
TrayIconclose by @coltonk9043 in #19583
Full Changelog: 11.3.4...11.3.5
11.3.4
What's Changed
Features
- Controls - Add
Window.CanMinimize/CanMaximizeby @MrJul in #18117 - Controls - Add
Window.IsDialogby @davisx2 in #19226 - Controls - Add
Calendar.AllowTapRangeSelectionby @drasticactions in #19367 - Android - Retrieve platform input config value by @emmauss in #19446
Fixes
- Core - Fix
WeakEventsubscription management thread race condition by @11v1 in #19383 - Controls - Enable Copy and Cut in
ContextMenuforAutoCompleteBoxby @zrt2399 in #19087 - Controls - Removed all nullability overrides from
TimePickerPresenterandDatePickerPresenterby @TomEdwardsEnscape in #19241 - Controls - Track
TabIndexvalue inNumericUpDownby @drasticactions in #19348 - Controls - Fix
SplitViewincorrectly closing when the user changesDisplayModetoInlinewhenIsPaneOpenis already true by @danwalmsley in #19460 - X11 - Fix a typo in
X11Window ClientMessageEvent.ptr5by @walterlv in #19439 - Android - Fix duplicated pointer events by @MrJul in #19440
- macOS - Remove non implemented message
AvnView.resetPressedMouseButtonsby @MrJul in #19445 - macOS - Fix thick titlebar mouse event duplication by @ErtyHackward in #19447
Full Changelog: 11.3.3...11.3.4
11.3.3
What's Changed
Features
- Documentation - Add OpenGlControlBase XML docs by @maxkatz6 in #19188
- Core - Add InputPaneActivationRequested in TextInputMethodClient by @emmauss in #19225
- Controls - Add a buffer cache to containers in VirtualizingStackPanel by @gentledepp in #18646
- iOS - Enable Pointer/Trackpad scrolling by @drasticactions in #19342
- iOS - Implement Save File Picker Support by @drasticactions in #19364
Fixes
- Core - Properly check if DispatcherOperation is pending when executing/aborting by @kekekeks in #19132
- Core - Fix memory leak by clearing shared array pool references in LightweightObservableBase by @walterlv in #19167
- Core - Fix random NRE inside
Compositor.CommitCore()callback. by @EgorRudakov2 in #19173 - Core - Set IsKeyboardFocusWithin to false when control is detached from visual tree by @emmauss in #19369
- Controls - Fixed ComboBox focus styles not being applied by @0xJins in #19147
- Controls - Make textbox context menu transient on mobile by @emmauss in #19182
- Controls - Remove textbox holding handler in text selection handle by @emmauss in #19186
- Controls - Use captured element if available as source for tap gestures by @emmauss in #19222
- Controls - Grid: Fix inner size calculation when Row/ColumnDefinition is not set but spacing is set by @zxbmmmmmmmmm in #19227
- Text - Fix selecting multiple lines in RTL mode by @AhmedZero in #19093
- Text - Fix TextLineIImpl.GetTextBounds for clustered trailing zero width characters by @Gillibald in #19208
- Text - Fix multiline selection crash by @kerams in #19337
- Skia - Explicit dispose of GRBackendRenderTarget and SKSurfaceProperties by @vadimart92 in #19100
- macOS - Replace manual input tracking with NSEvent by @drasticactions in #19101
- macOS - Fixes thick titlebar pointer events streaming by @ErtyHackward in #19320
- X11 - Fix X11Screen info update incorrectly when screen changed by @Handsome08 in #19262
- X11 - Stopgap fix for Clipboard.ClearAsync not returning by @kekekeks in #19302
- Android - Restrict souce of input events to avalonia view by @emmauss in #19289
- Win32 - Enable tray icon creation in all circumstances when running as an admin by @lwz-sabrina in #19382
Full Changelog: 11.3.2...11.3.3
11.3.2
Full Changelog: 11.3.1...11.3.2
What's Changed
Enhancements
- Documentation – Corrected
PointerPointPropertiesinline documentation, and exposed it onPointerEventArgsby @TomEdwardsEnscape in #19062 - Controls – Remove the need for MenuItem Icon to be a ILogical by @Doraku in #19075
Fixes
- Core – Extend dirty rect when UseLayoutRounding=false by @MrJul in #18511
- Core – Properly handle in cluster ShapedBuffer split by @Gillibald in #19090
- Controls – Reverse TickBar when Slider direction is reversed by @zrt2399 in #19096
- Android – Better api level detection for display edge to edge and ignore system bar color changes if on api level 35 by @emmauss in #19034
- Android – Fix oversight with display edge to edge detection for android 16 by @emmauss in #19067
- Android – Revert changes preventing status bar theme from being updated by @emmauss in #19076
- Android – Reset android input method focus and connection state when text input focus is removed by @emmauss in #19083
- macOS – SuggestedStartLocation is not set if the FileTypeChoices is not null by @Whiletru3 in #19036
- macOS – Respect info.plist values for setActivationPolicy by @drasticactions in #19066
- macOS – Add shouldResize value to SetWindowState, don't resize on Window move by @drasticactions in #19088
11.3.1
Full Changelog: 11.3.0...11.3.1
What's Changed
Enhancements
- Update SkiaSharp and HarfBuzzSharp version to support LA64 and RV64 by @4Darmygeometry in #18571
- Improved inline documentation of class event handler methods by @TomEdwardsEnscape in #18869
- Reduce allocations in
TextShaperImplby reusing HarfBuzz Buffer by @dme-compunet in #18892 - Update azure-pipelines.yml (#18876) by @Gillibald in #18940
- Don't expect WasmRuntimeAssetsLocation to be always set by @maxkatz6 in #18947
- Bump Angle version by @maxkatz6 in #18982
Fixes
- Fix TextBox multiline selection with up/down keys till start/end of text by @rastislavsvoboda in #18746
- Multiple TextLine.GetTextRunBounds fixes by @Gillibald in #18749
- Invalidate ScrollContentPresenter measure on Can...Scroll by @BAndysc in #18753
- Fix incorrect CandidateWindow position when using Pinyin IMEs in Windows by @realybin in #18759
- Improve pen secondary button handling on list box by @maxkatz6 in #18766
- Fix crash with samsung keyboard when using password textboxes by @emmauss in #18793
- Fix caret handles not updating to the latest caret points by @emmauss in #18794
- Fix an issue where input controls initialized with
InputMethod.IsInputMethodEnable=falsecould still use IME in their initial state. by @comesx4 in #18816 - Prevent children of UniformGrid from having negative dimensions when row/col spacing exceeds available space by @H0tCh0colat3 in #18832
- Fix insets on android 15 by @emmauss in #18844
- Fixed rare soft-"freezes" with OnRender(c) { ...; InvalidateVisual(); . } pattern by @kekekeks in #18901
- Fix focus not being lost when a parent element is hidden by @TomEdwardsEnscape in #18916
- Remove Keyboard Theme Override by @drasticactions in #18922
- Remove win32 dialog dpi hack by @emmauss in #18923
- Fixed transitions with delay but no duration completing instantly by @TomEdwardsEnscape in #18929
- Fix gradient stop reordeing (#18907) by @Gillibald in #18933
- Fixed RectangleGeometry not cloning its radius properties by @TomEdwardsEnscape in #18934
- Fix BindingEvaluator.ClearDataContext by @MrJul in #18964
- Fix infinite animation memory leak. by @kkwpsv in #18980
- Properly release of
StringBuilderCacheinTextBox.DeleteSelectionby @dme-compunet in #18985 - Fix LostFocus not raised on macOS by @MrJul in #18990
- Fix DirectX signatures by @MrJul in #18991
- More IDL uint fixes by @maxkatz6 in #18993