Releases: AvaloniaUI/Avalonia
Releases · AvaloniaUI/Avalonia
11.2.8
11.3.0-beta2
Full Changelog: 11.3.0-beta1...11.3.0-beta2
What's Changed
This list contains only changes made since 11.3.0-beta1.
Fixes
Only in 11.3.0-beta2:
- Fix binding null conditional operator not working with AvaloniaProperty by @MrJul in #18583
- Fix DateTimePickerPanel scrolling exception by @MrJul in #18584
- [Grid] Fix ColumnSpacing property name by @kebox7 in #18603
- Fix Window.Show when MinWidth > MaxWidth by @MrJul in #18604
- Disable Metal by default on macOS for 11.3 by @MrJul in #18605
- [Grid] Fix size calculation for ranges by @kebox7 in #18621
Ported from 11.2.7:
11.2.7
11.3.0-beta1
Full Changelog: 11.2.6...11.3.0-beta1
What's Changed
Features
- Add Popup.ShouldUseOverlayLayer property by @maxkatz6 in #5629
- Add
ItemsControl.PreparingContainer
event by @TomEdwardsEnscape in #14153 - feat: Support ContactRect in X11 and Windows platform by @lindexi in #16498
[GeneratedComInterface]
based Windows automation by @maxkatz6 in #16543- feat(DevTools): Allow configure DevTools HotKey by @workgroupengineering in #16668
- feat(Window): Allow to persist content of Clipboard after App close by @workgroupengineering in #16778
- Added
Binding.Delay
feature by @TomEdwardsEnscape in #16805 - Feature - Container Queries by @emmauss in #16846
- Update Unicode data and algorithms to v. 16.0 by @Gillibald in #16919
- feat: Allow use of (Classes.
classname
) syntax on Style and ControlThe. by @workgroupengineering in #16938 - Try to infer DataContext type from the $parent and #named compiled binding path parts by @maxkatz6 in #17204
- Introduce font family mapping by @Gillibald in #17234
- Add new constructor to AvaloniaDictionary and include unit tests #17311 by @IoannTerrible in #17312
- Properly handle nc hittest for caption buttons by @maxkatz6 in #1738
- add automation peer for UserControl by @baochenw in #17480
- Search all SelectingItemsControl items with TextSearch on key input, not just realized ones by @jonko0493 in #17506
- [TextBox] Add readonly property: LineCount. by @rabbitism in #17656
- Implement Matrix.CreateRotation with center point. by @rabbitism in #17657
- BoolConverters.Not should support ConvertBack by @maxkatz6 in #17658
- Implement support for Android TalkBack by @IsaMorphic in #17704
- Access single file or folder from IStorageFolder by name by @nickodei in #17771
- Added
WrapPanel
item alignment by @TomEdwardsEnscape in #17792 - feat: add hidesuggestions property to textbox by @jcsawyer in #17815
- Add missing Blend Modes and expose BlendMode on Image Control by @leocb in #17903
- [Refactor] Get trailing whitespace length from the glyph run metrics by @dme-compunet in #17960
- [DockPanel] Add Spacing properties by @Poker-sang in #17977
- add spacing to uniform grid - issue 8406 by @Enzx in #17993
- [Grid] Add RowSpacing and ColumnSpacing by @zxbmmmmmmmmm in #18077
- [WrapPanel] Add Spacing Properties by @Poker-sang in #18079
- feat: Support pressure and tilt on macos by @AkiSakurai in #18082
- FontFamily.FamilyTypefaces support by @Gillibald in #18113
- Warning AVLN2208: Item container in the data template by @maxkatz6 in #18132
- Add Analyzer and CodeFixProvider for Initializing Bitmap with a "avares" scheme argument. by @rabbitism in #18150
- Null conditional operator in bindings by @grokys in #18270
- Add diagnostic metrics/activities by @maxkatz6 in #18314
- Added IClipboard:TryGetInProcessDataObjectAsyns by @kekekeks in #18340
- Implement SetItems method in ResourceDictionary by @StefanKoell in #18354
- Add ContentTemplate property to flyout by @emmauss in #18361
- Introduce GlyphTypeface.FaceNames by @Gillibald in #18392
- Implement TextSearch.TextBinding by @MrJul in #18405
- Allow [AssignBinding] on attached properties by @MrJul in #18425
- Added LogToDelegate and LogToTextWriter APIs by @kekekeks in #18472
Enhancements
- Use the himetric location instead of the pixel location. by @walterlv in #16850
- Fixes and improves several access key (accelerator) related issues by @StefanKoell in #17292
- Add _NET_WM_PID atom to Linux X11 window by @lindexi in #17470
- Throw ObjectDisposedException for ClipboardImpl/ClipboardDataObject by @MrJul in #17472
- Nullable annotations for LinuxFramebuffer by @MrJul in #17489
- Align bitmap memory to 4 bytes by @Gillibald in #17774
- Nullable annotations for X11 by @MrJul in #17814
- Add FontSize property validation by @maxkatz6 in #18198
- Improve KeyGesture.ToString() output in case when Key is set to Key.None by @Samael7777 in #18353
- Bring control into view only if control isn't properly visible in viewport by @emmauss in #18359
- Raise pointer events on captured element by @MrJul in #18420
- Prevented setting 0 to ColumnSpan or RowSpan. by @abenedik in #18516
Performance
- Avoid Select when no boxing required by @YohDeadfall in #16886
- Fix PopupRoot.ConfigurePosition being called unnecessary by @MrJul in #17322
- Optimization for Process.GetCurrentProcess() in Avalonia.Win32.Automation by @NeverMorewd in #17422
- Optimize SKRoundRectCache Clear Method for .NET 6+ by @lindexi in #17605
- Expanding StringTokenizator with ReadOnlySpan. by @Meloman19 in #17645
- Use Flat Array Text Blob Cache instead of more expensive ConcurrentDictionary in Avalonia.Skia.GlyphRunImpl by @Washi1337 in #17727
- [Text] Make BreakUnit a readonly struct by @Gillibald in #17729
- Add SpanStringTokenizer and avoid many string allocations in FontCollectionBase by @Washi1337 in #17745
- Optimization: Add an optimized path for notifying property changes for inherited va. by @danwalmsley in #18223
- Layout performance improvements by @MrJul in #18315
- Remove
List<IObserver<T>>.ToArray()
allocations inLightweightObservableBase
by @xoofx in #18316
Fixes
- Considering scaling when centering windows by @HermanKirshin in #16158
- Enhance OpenGlControlBase.cs by @heku in #17011
- Fix INotifyCollectionChanged Move and Replace handling by @mpylon in #17171
- Fix the known valuator do not update. by @lindexi in #17321
- Fix .NET 9 WASM incompatibility by updating SkiaSharp.WASM package by @maxkatz6 in #17362
- Fix xml-test error message being not culture-invariant by @nickodei in #17374
- Fix adapter selection in Vulkan demo by @SCLDGit in #17442
- Ensure VirtualizingStackPanel correct element size estimate and fix #17460 by @BobLd in #17461
- AutoCompleteBox don't lose text selection when contextmenu opens by @punker76 in #17462
- Fix TimePicker breaking change, when using pre-11.2 styles by @maxkatz6 in #17516
- Rework XAML compilation targets by @MrJul in #17539
- Fix macOS ActivatableLifetime events by @MrJul in #17608
- DropShadowDirectionEffect: add AffectsRender for ShadowDepthProperty and DirectionProperty by @laolarou726 in #17664
- Filepath with space not recognized correctly by xdg-open by @nickodei in #17682
- Add missing nullcheck in AvnView::mouseEvent by @jmacato in #17709
- bugfix: ScrollBar will be hidden when ScrollBarVisibility is specified as Visible by @metaone01 in https://github.com/Avalonia...
11.2.6
Full Changelog: 11.2.5...11.2.6
What's Changed
Enhancements
- Extend diagnostic TreeNode features to more types by @TomEdwardsEnscape in #18430
- Make mobile TryGetPlatformHandle consistent by @maxkatz6 in #18483
- Avoid multiple resource change notifications by @MrJul in #18488
Fixes
- Improve input behavior for Browser by @johanpolson in #18349
- Support complex types in datatype by @maxkatz6 in #18379
- Fix: TextBox having selection and pressing up / down arrows by @rastislavsvoboda in #18385
- InputMethod should remove handler when remove handler by @rabbitism in #18414
- Fix - Search for visual parents when hittesting for pointer events by @emmauss in #18416
- Fix Loaded being incorrectly raised for unloaded controls by @MrJul in #18471
- Default button should not fire Click event when button is not effectively visible by @pavelovcharov in #18484
- Fix file modified time in storage item properties by @emmauss in #18487
- Fix TextWrapping in combination with TextEndOfLine runs by @Gillibald in #18523
- Dismiss popups when toplevel deactivates in embedded scenarios by @emmauss in #18527
11.2.5
Full Changelog: 11.2.4...11.2.5
What's Changed
Enhancements
- In-process dnd should always handle pointermoved for consistency withactual dnd by @kekekeks in #18287
Fixes
- Send dispose command for CompositionTarget as an OOB batch by @kekekeks in #18119
- Fix Implicit x:DataType defining for InheritDataTypeFromItems. by @asmirnov82 in #18206
- iterate over visible columns only when DnD column header by @rastislavsvoboda in #18251
- TextBox: clear selection when moving the caret horizontally by @rastislavsvoboda in #18255
- Fix Win32 MonitorFromRect by @MrJul in #18285
- [X11] Use XcursorLibraryLoadCursor for dnd cursors by @kekekeks in #18286
- Don't alter any InputElement properties from in-process dnd handler by @kekekeks in #18288
- Root assemblies for SRE XAML loader by @maxkatz6 in #18290
- Fix TextLayout.Width calculation (#18305) by @xoofx in #18310
- Fix SlicedStream.Seek(offset, SeekOrigin.End) by @pjt33 in #18313
- Fix Window.MeasureOverride measuring with the old ClientSize by @MrJul in #18338
11.2.4
Full Changelog: 11.2.3...11.2.4
What's Changed
Enhancements
- Add ISkiaGpuWithPlatformGraphicsContext interface to vulkan skia gpu by @emmauss in #17895
- Support activation with universal links by @kerams in #18005
- Make sure MacOS uses the cached value for render scaling. by @danwalmsley in #18062
Fixes
- Try fix Korean IME on iOS by @kerams in #17680
- [ScrollViewerPresenter] Fix rtl scroll (#16667) by @ijklam in #17714
- Add NonPumpingLockHelper.Use to the SyncCommit by @maxkatz6 in #17812
- Clamp progress bar indicator width and height to never drop below zero when calculating size. by @KieranDevvs in #17816
- Fix TextLayout overflow by @dme-compunet in #17914
- Android - Fix segfault crash when native surface is destroyed on vulkan by @emmauss in #17921
- TextLayout: TextStyleOverrides aren't applied correctly by @solveEM in #17922
- [Skia] Fix RadialGradientBrush for non center origin by @Gillibald in #17925
- Respect TextBox.VerticalContentAlignment for inner contents in fluent theme by @heartacker in #17932
- Update compat dispatcher priorities by @kekekeks in #17948
- End/close AppKit sheets attached on window when we hide it by @maxkatz6 in #17968
- Fix wrong horizontal snap point parameter. by @emmauss in #17986
- Fixes/skia dash array by @Gillibald in #18001
- Fixed unnecessary window displacement on resize by @codecat in #18004
- Fix in HeadlessClipboardStub.GetDataAsync where format is not considered by @YoshihiroIto in #18008
- Path Geometry update fix for 4748 bug rerender on change for paths segments by @EvanRuiz in #18025
- Fix style without selector not finding target type by @MrJul in #18026
- Clear
Imm32InputMethod.Composition
after receivingcancel
message (WM_IME_COMPOSITION
withlParam
set to0
) by @MineCake147E in #18034 - Fix SelectableTextBlock selection by @love-linger in #18049
- make _lastKnownPosition trackable at dragging by @AnastassiaP in #18069
- Fix ManagedStorageProvider OverwritePrompt behaviour by @FishEagle in #18076
- Enable light dismiss on CalendarDatePicker popup in simple theme by @nickodei in #18092
- Fix DevTools bindings by @ltetak in #18125
- DataGrd: Use VisualBrush to generate DragIndicator if Header is a Control. by @rabbitism in #18154
- [SKIA] Don't re-create SKImage on every WriteableBitmap draw call by @kekekeks in #18164
- Fix typo in SetValue validation exception message by @maxkatz6 in #18197
- [TextTrimming] Fixed some text trimming bugs by @dme-compunet in #17998
- Fix Korean IME on Android by @kerams in #18030
Miscellaneous
11.2.3
Full Changelog: 11.2.2...11.2.3
Enhancements
- XEmbed client support by @kekekeks in #17446
- [GLX] Resize the platform render target to compositor-provided size by @kekekeks in #17779
- Make MarkupExtension.ProvideValue method inlinable for StaticResourceExtension and ResolveByNameExtension by @maxkatz6 in #17659
- Ignore key modifiers on text editing if field is a password field. by @c4llv07e in #17695
Fixes
- Fix broken pre-edit markedText on iOS and solve #17523 by @Arktische in #17618
- Fix random test failures and add empty dispatcher verification to tests by @MrJul in #17628
- Fix TextBlock re-measure in infinite container by @MrJul in #17638
- #17675 - AfterPlatformServicesSetup callbacks are not called by the A. by @gentledepp in #17676
- Made OneTime bindings update on DataContext changes by @MrJul in #17683
- Fix KnownFolder for x86 Windows by @stevemonaco in #17705
- [Win] Fix cursor update on pointer enter by @Gillibald in #17726
- Fix macOS popup memory leak due to Close not being called by @MrJul in #17753
- Update pen tap settings by @maxkatz6 in #17780
- Auto free finished vulkan command buffers in gpu interop feature implementation by @kekekeks in #17782
- [MacOS] fix small memory leak when TopLevel closes. by @danwalmsley in #17783
- [macOS] Prevent popups from stealing focus by @MrJul in #17794
- Fix TextAlignment="DetectFromContent" by @Gillibald in #17721
11.2.2
Full Changelog: 11.2.1...11.2.2
What's Changed
Fixes
- Fix FontCollection glyph typeface caching by @Gillibald in #17519
- Fix crashing after opening a uri on browser by @hez2010 in #17524
- Fix npm install for parallel builds by @MrJul in #17532
- Fix TreeViewItem Expand/Collapse event source by @rabbitism in #17558
- Win32: fix position being changed on Resize while minimized by @MrJul in #17559
- Fix visual snapshot on headless by @maxkatz6 in #17565
- Raise the
EffectiveViewPortChanged
when a control is added to the tree that has already has a valid layout by @danwalmsley in #17570 - Don't check if intent is declared by app before launch by @emmauss in #17571
- Fix IActivatableLifetime.Deactivated not being called on macOS by @JamesSmith85 in #17573
- Use URLWithString for pickers by @maxkatz6 in #17594