11.2.0-beta1
版本发布时间: 2024-08-20 11:37:54
AvaloniaUI/Avalonia最新发布版本:11.2.0-beta1(2024-08-20 11:37:54)
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 https://github.com/AvaloniaUI/Avalonia/pull/16214 - Screens API refactor by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/16295
- XAML x:Shared support by @workgroupengineering in https://github.com/AvaloniaUI/Avalonia/pull/16644
- PolyBezierSegment Geometry by @workgroupengineering in https://github.com/AvaloniaUI/Avalonia/pull/16664
- Improve TextTrimming customization experience by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/16521
- New ToolTipClosing, ToolTipOpening attached events and ToolTip.Opened, ToolTip.Closed by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/15493
- Custom popup placement callback by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/15667
- Avalonia.Native TopLevel embedding by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/15932
- feat: Every RoutedEvent should be usable as Attached Event by @workgroupengineering in https://github.com/AvaloniaUI/Avalonia/pull/15274
- Refactored WASM rendering, added MT support for dispatcher by @kekekeks in https://github.com/AvaloniaUI/Avalonia/pull/15709
- MacOS sandboxing feature by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/16090
- Avalonia single project support by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/9613
- Improve DevTools previewer of setter values by including all value priorities by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/13802
- Add HotKeys Page to DevTools by @stevemonaco in https://github.com/AvaloniaUI/Avalonia/pull/15700
- Add Close and ClearAll api for INotificationManager and IManagedNotificationManager by @wieslawsoltes in https://github.com/AvaloniaUI/Avalonia/pull/15628
- Add dedicated automation peers for TreeView and TreeViewItem by @wieslawsoltes in https://github.com/AvaloniaUI/Avalonia/pull/15653
- Implementing IFormattable on KeyGesture by @IanRawley in https://github.com/AvaloniaUI/Avalonia/pull/15828
- DataGrid: expose row index by @rabbitism in https://github.com/AvaloniaUI/Avalonia/pull/15909
- Adds support for Seconds to TimePicker by @begleysm in https://github.com/AvaloniaUI/Avalonia/pull/16079
- Add an overload for ClassicDesktopStyleApplicationLifetime by @NeverMorewd in https://github.com/AvaloniaUI/Avalonia/pull/16167
Fixes
Expand
- Fix TemplateBinding and allow custom attributes in XamlValueConverter by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/14612
- Notify window on mouseEntered (mac only) by @ltetak in https://github.com/AvaloniaUI/Avalonia/pull/15251
- Fix nth child selector in data grid header by @appel1 in https://github.com/AvaloniaUI/Avalonia/pull/15482
- Win32 - Fix EntendClient hints not being applied window show by @emmauss in https://github.com/AvaloniaUI/Avalonia/pull/15552
- X11Window should probably ignore X11 grab focus events by @walterlv in https://github.com/AvaloniaUI/Avalonia/pull/15686
- Try to normalize family names for embedded fonts by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/15703
- Propagate Dispose from GlyphTypefaceImpl to dispose SkTypeface by @lindexi in https://github.com/AvaloniaUI/Avalonia/pull/15733
- Don't show text selector when no text is ready by @emmauss in https://github.com/AvaloniaUI/Avalonia/pull/15770
- More trimming fixes, enable analyzers unconditionally by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/15815
- FontManager adjustments by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/15819
- Fix OnColorValuesChanged not executed on the UI thread by @Bezolt in https://github.com/AvaloniaUI/Avalonia/pull/15827
- [Text] Multiple text processing fixes by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/15837
- Translate glyphRun bounds by the baseline origin by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/15839
- Apply Alignments to TileBrushes with uniform stretch by @emmauss in https://github.com/AvaloniaUI/Avalonia/pull/15846
- [Text] Fix glyph offsets by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/15848
- Remove from logical children and clear item container on reset by @Meloman19 in https://github.com/AvaloniaUI/Avalonia/pull/15855
- macOS: Don't include two windows in a11y tree. by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/15899
- Fix gesture event names by @wieslawsoltes in https://github.com/AvaloniaUI/Avalonia/pull/15931
- [X11] Ensure XSync before calling CreateNativeControlCore by @kekekeks in https://github.com/AvaloniaUI/Avalonia/pull/15952
- Fix #15955 by @nil4 in https://github.com/AvaloniaUI/Avalonia/pull/16005
- Fix some issues with strokeless geometry segments by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/16019
- Fix tile mode used in SkShader for a TileBrush with None TileMode by @emmauss in https://github.com/AvaloniaUI/Avalonia/pull/16021
- Fix TrayIcon menu crash by @logiclrd in https://github.com/AvaloniaUI/Avalonia/pull/16024
- Fix crash in TreeView when removing a node. by @doubleday in https://github.com/AvaloniaUI/Avalonia/pull/16041
- Enhance SplitPropertyPath to conditionally handle parentheses in prop. by @Abdesol in https://github.com/AvaloniaUI/Avalonia/pull/16054
- Fix headless window transparency by @Rosentti in https://github.com/AvaloniaUI/Avalonia/pull/16058
- Set isDirectory:true explicitly to help [NSURL fileURLWithPath] method by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/16061
- Fix HorizontalHeadTable usage by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/16064
- Win32 - Ensure owner topmost flag is set if its topmost when showing a owned window by @emmauss in https://github.com/AvaloniaUI/Avalonia/pull/16104
- TrayIcon fixes by @jmacato in https://github.com/AvaloniaUI/Avalonia/pull/16111
- DBus init and usage fixes by @kekekeks in https://github.com/AvaloniaUI/Avalonia/pull/16119
- Reapply (#15568) + Updates by @jmacato in https://github.com/AvaloniaUI/Avalonia/pull/16129
- Fix datagrid performance on attached to tree by @IZIDIA in https://github.com/AvaloniaUI/Avalonia/pull/16140
- win32: Fix edge-case bug with DPI scaling by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/16143
- Fix XML child-value syntax in Setters by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/16153
- Toplevel - Fix system theme not being applied at launch on some platforms by @emmauss in https://github.com/AvaloniaUI/Avalonia/pull/16159
- Fix embedded TopLevel coordinate conversion by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/16181
- Android - Add workaround for android 11 ime insets being weird by @emmauss in https://github.com/AvaloniaUI/Avalonia/pull/16201
- [macOS][X11] Release mouse capture when dialog shown by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/16205
- Implemented
MultiBindingExpression
by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/16219 - Set InheritsTransform on ComboBox Popup in Simple theme by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/16244
- Win32 - Fix window size and position for border only window when maximized through OS means by @emmauss in https://github.com/AvaloniaUI/Avalonia/pull/16297
- "About Avalonia" native menu item crashes app when main window is not visible by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/16303
- [Text] Fix infinite loop hang on selection of bidi text by @Mikolaytis in https://github.com/AvaloniaUI/Avalonia/pull/16306
- Use culture identifier instead of CultureInfo in NameTable by @BobLd in https://github.com/AvaloniaUI/Avalonia/pull/16310
- Only update selection on focus in TabControl if focus comes from TabItem. by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/16338
- Don't BringIntoViewOnFocusChange in Carousel. by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/16339
- macOS WindowState call on Show crash fix by @jmacato in https://github.com/AvaloniaUI/Avalonia/pull/16341
- Fix headless screens by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/16348
- Fix Popup focus stealing for embedded controls by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/16365
- [WinRT] Added watchdog for ICompositor5::RequestCommitAsync by @kekekeks in https://github.com/AvaloniaUI/Avalonia/pull/16393
- Forward pointer wheel event from scrollbar to scrollviewer by @emmauss in https://github.com/AvaloniaUI/Avalonia/pull/16398
- Always use the matched typeface's weight, style and stretch by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/16489
- Fix - Grow datagrid height if there's available space by @emmauss in https://github.com/AvaloniaUI/Avalonia/pull/16527
- Fix typeface font simulations by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/16538
- [OpenGL] Fix #13807 - lingering glGetError from Avalonia by @Dragorn421 in https://github.com/AvaloniaUI/Avalonia/pull/16539
- Fixup
GlxDisplay.CreateContext
by @Dragorn421 in https://github.com/AvaloniaUI/Avalonia/pull/16540 - Fixes ShapedTextRun drawing by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/16545
- Apply NumericUpDown.FormatString changes immediately. by @pokorpa in https://github.com/AvaloniaUI/Avalonia/pull/16575
- Extend the client area when a Win32 window is opened in maximised state by @TomEdwardsEnscape in https://github.com/AvaloniaUI/Avalonia/pull/16593
- Fixes ShapedTextRun background rendering by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/16594
- fix: Button should not fire the click event on the space key when it is not active by @workgroupengineering in https://github.com/AvaloniaUI/Avalonia/pull/16619
- feat(XamlX): Trim text before invoke Color.Parse by @workgroupengineering in https://github.com/AvaloniaUI/Avalonia/pull/16649
- ColorPicker Simple Theme Fixes by @robloo in https://github.com/AvaloniaUI/Avalonia/pull/16654
- Android - Input Connection fixes by @emmauss in https://github.com/AvaloniaUI/Avalonia/pull/16666
- Ensure SurroundingText is empty for empty line by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/16710
- Fix caret position after backspace by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/16712
Miscellaneous
Expand
- Enable Metal rendering by default for iOS and macOS by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/14762
- Bump version by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/14871
- Simplify two if blocks into one by @heku in https://github.com/AvaloniaUI/Avalonia/pull/14885
- Update ImageSharp to 2.1.7 by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/14893
- Warning fixes by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/14894
- Fix SYSLIB0051 warnings (binary serialization) by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/14895
- Remove InternalsVisibleTo from Avalonia.Base to ControlCatalog by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/14905
- Update readme.md by @MikeCodesDotNET in https://github.com/AvaloniaUI/Avalonia/pull/14907
- Fix incorrect usage of ComboBox in control catalog ViewboxPage by @gehongyan in https://github.com/AvaloniaUI/Avalonia/pull/14972
- Move ItemsRepeater to a dedicated repository by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/14989
- Switch version -beta to -alpha for nightly builds by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/14993
- Don't get the composition animation system involved in every property read by @kekekeks in https://github.com/AvaloniaUI/Avalonia/pull/15110
- chore: remove repetitive words by @crazeteam in https://github.com/AvaloniaUI/Avalonia/pull/15116
- Rename MobileSandbox to Avalonia.SingleProjectSandbox by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/15330
- Improve AvaloniaObject.GetValue performance by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/15342
- ToolTip should use Popup internally + fix Popups not closing when placement target is closed by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/15358
- Add unit tests by @heku in https://github.com/AvaloniaUI/Avalonia/pull/15367
- chore: remove repetitive words by @careworry in https://github.com/AvaloniaUI/Avalonia/pull/15427
- Fix ncrunch configuration. by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/15440
- Add basic integration tests for NativeControlHost and improve its automation/a11y support. by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/15542
- [Windows] WindowDecorations related integration tests by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/15561
- Bump DBus stack take 2 by @affederaffe in https://github.com/AvaloniaUI/Avalonia/pull/15685
- Respect global packages folder in BuildToNuGetCache by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/15706
- Feature/opengl lease demo by @kekekeks in https://github.com/AvaloniaUI/Avalonia/pull/15707
- Warning fixes: spring wave by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/15747
- Validate all width/height properties of Layoutable when they are set by @TomEdwardsEnscape in https://github.com/AvaloniaUI/Avalonia/pull/15753
- Nullable annotations for projects using XamlX by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/15796
- Refactor WASM input and dom-callbacks to work with multithreading by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/15849
- chore: update comimpl.h by @eltociear in https://github.com/AvaloniaUI/Avalonia/pull/16011
- Update readme.md by @MikeCodesDotNET in https://github.com/AvaloniaUI/Avalonia/pull/16018
- Request for Feedback: Improving Startup Latency in X11 by @Sewer56 in https://github.com/AvaloniaUI/Avalonia/pull/16033
- [Text] Use CultureInfo.Name instead of ISOLanguageName for character matching by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/16053
- Update build.md for local nuget builds by @jmacato in https://github.com/AvaloniaUI/Avalonia/pull/16116
- Update Appium tests readme.md by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/16134
- [Text] Use GetBackspaceCaretCharacterHit for backspace delete handling by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/16135
- TrayIcon integration tests by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/16154
- Fixed build error: SourceRoot paths are required to end with a slash or backslash by @heku in https://github.com/AvaloniaUI/Avalonia/pull/16174
- Revert "Reapply (#15568) + Updates" by @kekekeks in https://github.com/AvaloniaUI/Avalonia/pull/16175
- Merge same case branches by @heku in https://github.com/AvaloniaUI/Avalonia/pull/16182
- Fix typos by @heku in https://github.com/AvaloniaUI/Avalonia/pull/16183
- Remove obsolete API usage from
SelectingItemsControl
. by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/16220 - Move IsDirect = true into DirectPropertyBase by @heku in https://github.com/AvaloniaUI/Avalonia/pull/16256
- Fixed a typo by @heku in https://github.com/AvaloniaUI/Avalonia/pull/16258
- TrayIcon tests are flacky, disable them by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/16265
- Fix BaselineAlignment by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/16276
- Remove old API compat baseline files by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/16305
- Update pr_labels.yml by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/16416
- chore: fix some comments by @shangchenglumetro in https://github.com/AvaloniaUI/Avalonia/pull/16461
- Android - Refactor AvaloniaInputConnection by @emmauss in https://github.com/AvaloniaUI/Avalonia/pull/16490
- Obsolete CompiledBindingPathBuilder.SetRawSource by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/16505
- UWP/WinUI style XYFocus subtree restrictions by @IanRawley in https://github.com/AvaloniaUI/Avalonia/pull/16557
- Remove System.Linq.Expressions usages in ReflectionClrPropertyInfo by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/16568
- Increase LayoutTransformControl.DecimalsAfterRound from 4 to 8 by @BobLd in https://github.com/AvaloniaUI/Avalonia/pull/16583
- Win32 - Fix Window Frame Size and Position issues. by @emmauss in https://github.com/AvaloniaUI/Avalonia/pull/16608
- Android - Defer rendering till surface is created by @emmauss in https://github.com/AvaloniaUI/Avalonia/pull/16616
- fix: SixLabors ImageSharp Out-of-bounds Write
CVE-2024-41131
by @workgroupengineering in https://github.com/AvaloniaUI/Avalonia/pull/16620 - Changed modifiers for injected non-client implementable method by @kekekeks in https://github.com/AvaloniaUI/Avalonia/pull/16626
- Switch to a HashSet<T> as backing for SafeEnumerableList by @halgari in https://github.com/AvaloniaUI/Avalonia/pull/16633
- Only add the text selection canvas when the textbox is focused by @emmauss in https://github.com/AvaloniaUI/Avalonia/pull/16643
- Screens api refactor mobile by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/16647
- Fix typos in build messages when waiting to attach a debugger by @stevemonaco in https://github.com/AvaloniaUI/Avalonia/pull/16701
- 11.2.x Private/PublicAPI adjustments by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/16733
Full Changelog: https://github.com/AvaloniaUI/Avalonia/compare/11.1.3...11.2.0-beta1