Skip to content

Releases: unoplatform/uno

4.5.9

14 Sep 15:48
Compare
Choose a tag to compare

The fifth release of 2022 brings innovation across all pillars of Uno Platform: UI, Toolkit, Extensions and Tooling.

In the process of this release, we implemented 230 features and bug fixes, as well as welcomed 4 new contributors to our open-source project. Thank you! For those of you who just want to jump into it, please update your Uno Platform NuGet package to the latest.

It’s a massive release, so for those who are in the rush, here is the TL;DR version: We added:

  • A major new feature - Uno Islands to help you modernize apps
  • Increased the breadth of our existing Linux support
  • Six new or refactored WinUI controls and brand new pull-to-refresh
  • Super easy way to Authenticate users with MSAL, OIDC, Web and Custom authentication providers via Uno.Extensions
  • Boosted Reactive extension
  • Added SafeArea, Input, Status Bar, Input, Control, TabBarItem Extensions and Badge support as part of Uno Toolkit
  • Released Preview 3 of our Uno Platform for Figma add-in with more customization options and performance updates.

Community Shout Out!

We wouldn’t be able to do what we do without the help from our great community – filing bugs and issues, and also helping with the core project by submitting Pull Requests. Our contributor community is now over 230 developers strong, and we just passed 7,000 stars on Git Hub, and passed 2,000,000 downloads on NuGet. Thank You.

Special Shout out for 4.5 release goes to Giuseppe Lippolis (AKA @workgroupengineering) for contributing a fix for RenderTargetBitmap, InMemoryRandomAccessStream, and a variety of quality of life updates.
Thank you to all the other contributors:

For more details about this release, head to our blog post.

Full release notes

Features

  • (iOS) Add enable corewindows events 7e98596
  • (iOS) Add expose Raise Events 384a94b
  • (iOS) Add KeyEvents Support MacCatalyst c6a8db8
  • (iOS) Add VirtualKey mapper 036f856
  • (maccatalyst) add keyup event support d63624b
  • (maccatalyst) bubble up key events to focused element 9ca702b
  • Add DataWriter.StoreAsync 331b8a9
  • Add GetPatternCore support for ButtonAutomationPeer 24f2d76
  • Add missing Acrylic brushes without WinUI 2.6 styles 6c3aa64
  • Add missing StaticResourceExtensions for VS intellisense 3af3e11
  • Add refresh indication support for non-mobile platforms 7aeee51
  • Add support for FrameBuffer DPI and scale computation e59df85
  • Add support for StaticResource loading inside a ResourceDictiomary e05bd32
  • Add the ability to define #pragma warning disable in generated code 9323607
  • Add the ability to disable _knownMissingTypes validation a783600
  • Add Windows.UI.Xaml.Hosting API contract 530c15f
  • Allow Android native visualizer theming d7494e5
  • Allow iOS native visualizer theming c3f46c1
  • Basic RefreshContainer on Android 78f88df
  • Basic RefreshContainer on iOS 9641599
  • Basic support for DesktopWindowXamlSource c8ce703
  • BitmapEncoder a194583
  • Find associated VisualTree and XamlRoot for multiple roots 6c09f4b
  • Handling full uri as callbackuri for ios/macos f6deb9e
  • Implement analyzer for deprecated WasmHttpHandler a211ce3
  • Improve automatic OpenGL/ES detection f614a88
  • Include repository path in Samples app title bar e5076f8
  • InMemoryRandomAccessStream e7743ab
  • Marking additional Markup interfaces as implemented 2dd5612
  • Port RefreshInfoProviderAdapter 4e7c22c
  • RefreshInfoProviders d513257
  • RefreshVisualizer 50d2f75
  • RenderTargetBitmap ba33ee0
  • Resolve managed path and use weak reference pooling for FontFamily.Loader.wasm f3ed46a
  • Skia WPF Runtime Tests and Snapshot Tests ecbac16
  • SoftwareBitmap 69a824c
  • Support for multiple XamlRoots 09764b2
  • Text input support in Uno Islands 786017b
  • Uno.UI.XamlHost deead11
  • UnoXamlHost for Uno Islands 12dffe8
  • Update InfoBar to latest MUX e9c6f29
  • Update Skia slnf with Xaml Islands projects c0304a3
  • Use dotnet SDK linker when available c20e368
  • Use NameProperty in Skia and WASM b33cda1
  • droid: ListView smooth scrolling 762c5e2
  • FrameBuffer: Add RGB565 color depth support e6e79e8
  • InMemoryRandomAccessStream: Implemented ReadAsync, WriteAsync, GetInputStreamAt, GetOutputStreamAt da2699c
  • mobile: use animation for LVB.ScrollIntoView a352416
  • IRefreshInfoProviderAdapter support b42106c
  • Targets with constants moved to an earlier stage. c73cb49
  • Updating WAB for Android CustomTabs 09102ea
  • Use in-app screenshots for android cdaeda4
  • WASM Font Preloading Support e869192
  • xaml: add support for raw numerical enum values 8723bed
  • XamlReader: Add support for ThemeResources and MergedDictionaries 7785828
  • WinUI Breadcrumb f379841
  • WinUI BreadcrumbBar 272a1d3
  • WinUI PipsPager 99305a4
  • WinUI RefreshContainer e88ca39
  • WinUI Slider / RangeBase / Thumb / TickBar 40e236f
  • Android: Allows for images to be read using GetFileFromApplicationUri. 5f76bc2
  • TextBlock: [Skia] Add hyperlink hit testing b0cac68
  • TextBlock: [Skia] Add support for TextAlignment.Justify and CharacterSpacing 80ca410
  • Xaml Island root 601a208

BREAKING CHANGES

  • Changing Time of TimePickerFlyout from UI doesn't preserve existing days, seconds, and milliseconds. To get the legacy behavior back, set FeatureConfiguration.TimePickerFlyout.UseLegacyTimeSetting to true.

  • On iOS, when running under the iOS Simulator, the MtouchExtraArgs property must include --registrar=static or the runtime will fail with the following message:

    Don't know how to marshal a return value of type 'System.IntPtr'.
    

    This validation can be disabled by setting the MSBuild property:

    <PropertyGroup>
       <UnoDisableValidateIOSStaticRegistrar>true</UnoDisableValidateIOSStaticRegistrar>
    </PropertyGroup>

    See #9430 for more details.

  • Native popups on Android were frequently causing problems with more complex controls like AutoSuggestBox and MenuBar. To aleviate these problems we are switching to use the unified managed popups everywhere instead. This may be breaking apps which depend on the native popups logic or layout.

  • This update adjust the name of android drawables, in order to have full path disambiguation. This also means that actual resource names now will be separated by "_" in place of the folder hierarchy. This is generally not a problem is the files are read using ImageSource.

Performance Improvements

  • Avoid Regex for indentation when possible 693c085

  • Enable CA1821 (Remove empty finalizers) 3669fee

  • Enable LINQ-related performance analyzers 6ae0751

  • Enable NetAnalyzers performance analyzers 5ebb6d9

  • Use .ContainsKey instead of .Keys.Contains (CA1841) 708d286

  • iOSmacOS: calls getter too many times 9891407

  • iOSmacOS: Reduce nfloat / float / double conversions 4c2e8c2

  • iOSmacOS: Simplify MeasureOverride and ArrangeOverride 707c5db

  • macOS: Avoid calling NSView.Layer getter more than once / method 3ced78d

  • macOS: Call Bounds propety only once inside FrameworkElement.Layout 02e629e

  • feat!: Implement TimePicker's SelectedTime/TimeChanged/SelectedTimeChanged 1563a5b

  • feat!: Stop using Android native popups by default d7dee36

  • fix(android)!: Retarget Android assets with path names d4308f1

Bug Fixes

  • AutoSuggestBox: Close suggestion list on losing focus 0da0671
  • gtk: [Linux] Ensure that missing libGLESv2.so does not break the runtime 5c61eeb
  • GtkHost: move window title assignment after App is initialized. 1e5fa80
  • pointers: Do not simulte enter/exit for "touch as mouse" on skia 7a3a090
  • pointers: Fix touch support on some specific skia devices (e.g. RPI) ace611f
  • SamplesApp: warning XA4216: AndroidManifest.xml //uses-sdk/@android:minSdkVersion '16' is less than API-19 1b1a2d1
  • skia: Fail safe on invariant culture c08b512
  • ToggleSwitch: add workaround for visual states 9078f8b
  • WaitForUnlockedFile: Break if we can acquire exclusive lock on file d026090
  • wasm: Expose FontFamilyHelper through Uno.UI.Runtime.WebAssembly 7ed2ae9
  • wasm: Invalidate TextBlock measure cache when a font successfully loaded f49af2a
  • Allow setting Selector.SelectedIndex value before it is valid when items are empty 232651d
  • Apply review c8ca870
  • Avoid refreshing Android RefreshContainer when not on top cc5fb7d
  • case-insensitive linker ref paths 8c5b0a6
  • Clip desired size to MaxWidth and MaxHeight ae2076f
  • ContentPresenter content alignment 5bf7a3c
  • Disable merging in uno debug builds, exclude Java.Interop for linking issues 4bf84f5
  • Don't fail on ...
Read more

4.4.5

28 Jun 20:59
Compare
Choose a tag to compare

Uno Platform 4.4 is our 4th release in 2022, keeping us on a once-in-six-weeks rapid release schedule we aim for. The release packs numerous UI and performance improvements across all target platforms. First, on the UI side you’ll be able to produce beautiful fluid animations on .NET Android, .NET iOS and Skia-based targets, as well as increase high-fidelity renderings of all your texts on Skia-based targets. Second, on the performance side we are including support for the most recent WebAssembly advances available in .NET 7 – Wasm Threading and Exception Handling. Lastly, we also enabled new input scenarios via GamePad API support and improved the default project templates.
In total we have implemented and resolved over 90 new feature requests and issues.

View the full announcement in our blog post.

Some of Highlights:

  • Skottie integration (MUX ProgressRing on all Skia targets and .NET 6 mobile targets) (@jeromelaban)
  • Overhauled Skia TextBlock rendering with HarfBuzz (Support for wrapping, rich formatting, etc...) (@mikernet)
  • dotnet new unoapp now uses .NET 6 and WinAppSDK (@jeromelaban)
  • The Skia.WPF project is now available as one project (no more .Skia.Wpf.Host project), and now supports .NET 6/C# 10 (@jeromelaban)
  • GamePad APIs (@MartinZikmund)
  • Experimental Wasm threads support (@jeromelaban)
  • Wasm Exceptions support (@jeromelaban)
  • Many small performance improvements for all platforms (@ebariche, @spouliot)

As always, thanks to our contributors:

You'll find below the full change log.

Features

  • lottie: Add support for AnimatedVisualPlayer on net6.0 mobile and Skia targets. f0a8ac9
  • Add the ability to set the Window background color 67f8ffe
  • implement CoreWindows.Bounds 41b21a3
  • Merge Wpf and Wpf.Host projects 3f82834
  • Move unoapp to unoapp-uwo f27c285
  • Move unoapp-net6 to unoapp-uwp-net6 d1b6ac2
  • Move unoapp-winui to unoapp-winui-xamarin 68dba9a
  • Move unoapp-winui-net6 to unoapp 1a0c349
  • BitmapImage: [Skia] Add support for ms-appdata, BitmapImage.ImageOpened/ImageFailed 639fac2
  • gamepad: GamepadAdded/Removed on Android a82cafa
  • Gamepad: GamepadAdded/Removed for WASM 1160c40
  • Gamepad: GamepadAdded/Removed on iOS, macOS dd0a1b2
  • Gamepad: GetCurrentReading on Android 96cd0bb
  • Gamepad: GetCurrentReading on iOS and macOS 2ce9933
  • Gamepad: GetCurrentReading on WASM 52dab51
  • TextBlock: [Skia] New HarfBuzz-based text rendering engine dcb83be
  • wasm: Add support for threads e53ca2f
  • Add WinUI 3 item templates d6a7c22

Performance Improvements

  • drawables: Generate resolver to avoid reflection at startup bab524b
  • iOS: Cache DisplayInformation properties a5919a8
  • iOSmacOS: Directly convert from Color to CGColor b9f8051
  • iOSmacOS: Remove dead code and reduce casts in Layouter 7b783b1
  • macOS: Avoid calling Subviews getter inside Dispose eff8fd7
  • macOS: Cache DisplayInformation properties 67e02bd
  • paintpool: Avoid unnecessary managed/unmanaged transitions d11d4e2
  • selectoritem: Use monotonic clock instead of DateTime.Now e8d9813

Bug Fixes

  • Adjust harbuzz initialization to avoid Gtk3 interference cc0b352
  • Never enable the interpreter on net6.0-macos 5c75735
  • Skia: [TextBlock] Fix rendering when font properties change 3dc5b2d
  • [Android] TextBox EmailSmtpAddress InputScope does not work ebb290a
  • [TextBlock] Prevent Text value overriding when it isn't necessary 3808c00
  • Adjust default timeout for vscode debugger 507b9c9
  • Adjust formatting in the vsix mobile template 4a96a92
  • Adjust net6 library template for default xaml includes a6e56ed
  • Adjust new net6 library from vsix 48ce808
  • Adjust solution filter for unoapp-net6 7741611
  • Align resource conversion for empty values 658b3f0
  • Allow explicit disabling of the browser context menu 6744488
  • AutoSuggestBox Reason with inconsistency 8d8686d
  • Avoid Layout property event subscription leaks 2f13d2c
  • Calculate SystemFocusVisual position relative to root element 996fd06
  • ChildrenInTabFocusOrderIterable skipping first element 908c1e4
  • Correct attribute argument for auto navigation 4b8a997
  • DataTemplateSelector should throw if container is null 4a296e4
  • Don't use GRGlInterface.Create to determine OpenGL availability 503d60b
  • Enable VerifyUIElementsInItemsSource test c802530
  • Ensure app is started after native WPF template is applied 08b3e0e
  • Gamepad readings improvements on WASM and Android 7036e6c
  • Invalid support check in OpenGLRenderSurface 3c1b5b8
  • Lower roslyn generation selection log message b85366b
  • Make Clipboard.GetContentAsync reliable 4762bb2
  • missing guarding leads to crashs under Android prior to API 23 97a88cb
  • Missing mobile project for unoapp 41e1059
  • NavigationViewTests waiting 7b4c596
  • Replicates the linker default behavior for xamarin.mac 8e69ea8
  • Use fully qualified name lookup for xClass resolution fa9f6b3
  • UWP Samples app runtime tests attempt to use DP from non-UI thread d656f03
  • codegen: Serialize XamlGenerator executions 38705eb
  • DatePicker: Ensure proper native picker readability when the system theme is overriden. 77b795b
  • dotnetnew: Fix incorrect restore in unoapp-winui f50e281
  • dotnetnew: Misc adjust unoapp-winui-net6 d77a1a4
  • expander: properly clip to bounds on expand/collapse 66cdc45
  • ItemsRepeater: Avoid ItemsSource and Layout memory leaks 9320a67
  • ItemsRepeater: FindFocusCandidate did not return focused child 6fcf1dd
  • macOS: Remove warning/usage about/of deprecated userSpaceScaleFactor f2b76cc
  • measure_dirty_path: recycled ItemsControl not re-measuring 6f87bb8
  • net6: Windows iOS build fails to package bundle resource properly dc6b864
  • pointers: [iOS] Fix frame id capping to uint.MaxValue (Breaks Drag and Drop after about 10 days of device uptime with latests version of iOS) 2a08809
  • skia: Add missing Harfbuzz dependencies for Wpf, Tizen and Framebuffer 260ae4d
  • skia: Adjust more Harfbuzz dependencies a7a6797
  • winui: Adjust path for manifest a318b3a
  • Reset NSObject InFinalizerQueue after calling ReRegisterForFinalize 79425c9
  • Sync system focus visual with the focused element on scroll 523a82c
  • TextWrapping="Wrap" does not seem to work for TextBox on Android 1727f40
  • try to fix broken initial nav 22d69aa
  • Using long path format for Attachment 99c410f
  • Validation for GL instance b1e50af
  • Window Title by Manifest in SKIA WPF and GTK 7081442
  • xbind: Ensure source updates update the target during a two-way binding 55d166f
  • TryFocusAsync on non-focusable elements 3e60ded
  • Turn Window Title by Manifest in SKIA 3665d46
  • reg: Add missing harfbuzz dependency e42bf4e
  • WebViewBehavior: nre 9aaa7e0

4.3.8

01 Jun 20:39
1c8cc58
Compare
Choose a tag to compare

Uno 4.3.8 is a service release for Uno 4.3.

What's Changed

  • Adjust new net6 library from vsix in #8898
  • C# intellisense improvements for VS Code in #8948
  • GTK Hardware acceleration fixes for Windows in #8943
  • Various improvements to dotnet new templates in #8950

Full Changelog: 4.3.6...4.3.8

4.3.6

24 May 14:56
579678b
Compare
Choose a tag to compare

Uno Platform 4.3 is here! The focus of this release was on enhancing our Figma plugin which generates your app XAML directly from Figma designs, Uno.Themes Material v3 update, as well as advancing Uno Extensions to help bootstrap your apps faster.

See our blog post to get all the details!

You'll also find updates for:

  • Visual Studio 2022 17.3 Preview 1 and .NET 6.0.300 Mobile GA support
  • Wayland support for Skia Gtk backend (Thanks @microhobby!)
  • Visual Studio 2022 Template Platform wizard
  • Grid Succinct syntax for WinUI
  • XAML MarkupExtension
  • NetworkInformation API support on Skia (@MartinZikmund)
  • BatteryReport and AggregateBattery (Thanks @pkar70!)

Read below for the full change log.

Features

  • [droid] BatteryReport and AggregateBattery c3be84d
  • Add VS 2022 .NET 6 template, split wizard e00079f
  • adding max textscale and usage 1a625e7
  • Allow runtime checks whether File System Access API file/folder pickers are available 4fc16bc
  • Avoid using Skia Host constructors with args 68a4f42
  • BTdevice structs ecfbbe1
  • Focus support in managed FlipView 58ea2f8
  • Implemented new grid succinct syntax. d433d2e
  • Implemented new WinUI Grid assigned ContentProperty syntax. ad7fa98
  • Implemented XamlReader support for ContentProperty syntax. 9f8d51d
  • Implemented XamlReader support for ContentProperty syntax. ab87f00
  • Implemented XamlReader support for succinct syntax. 8057b0c
  • Move ItemsSourceView implementation to base, support IReadOnlyList d13f6fb
  • NetworkInformation API support on Skia b341ba9
  • Prevent net6 mobile creation below 17.3 7dd340e
  • Window size for Mac Catalyst 5a65465
  • gtk: Add OpenGL ES support 883ab5b
  • ios: Add GetLocationManager 12dae4c
  • markup: initial parser context support d5976c6
  • MSAL: Added "Jwt" assembly to linker definition, to prevent linking-out this when using the MSAL package. 1494c67
  • Pass arguments to LaunchActivatedEventArgs on macOS 21e664b
  • some Background structs for all platforms 01e0a48
  • ValueSet dd54b5c

Bug Fixes

  • Adjust formatting in the vsix mobile template c7565a0
  • Adjust solution filter for unoapp-net6 a2f553a
  • docfx missing change with the last merge a2e5cd5
  • Lower roslyn generation selection log message a0c5f7c
  • dotnetnew: Fix incorrect restore in unoapp-winui 77ef022
  • dragdrop: Make sure to disable dragging on LV's ItemContainer 9e797ad
  • markup: custom markup in binding is missing parser context 4f71e44
  • markup: NRException when returning null from markup 8a1ef0a
  • net6: Adjust assets generation of iOS/Catalyst 7c8bcfd
  • net6: restore xamarin-like ios exception marshaling for performance 04cd0dc
  • template: Adjust versioning in vsix templates f1b5527
  • [SamplesApp] ImageSourceStream Error 522 Connection timeout 931d251
  • Adjust default plist values for net6 mobile targets 8fd4390
  • Adjust resources generation for net6.0-ios new targets eed7596
  • Apply workaround for VS Shared projects issue f2c59ac, closes #5007
  • enabling distant URIs for Lottie fcbe986
  • Fixed incorrect generation for xaml object binding with xaml object properties. 90208b3
  • missing rename NumberBoxTests 61c9d5e
  • Temporarily restore LoadActions 024c26d
  • samples: Rename dopes tests 650832e
  • SamplesApp: Mux Category 7fa2eab
  • skia: Restore original canvas state for Software renderer e861f6c
  • [SamplesApp] Missing Icon Resource d5c5038
  • Add GC configuration for all net6 mobile templates a2155bb
  • added feature for Android 0e09483
  • AutoSuggestBox.QuerySubmitted ChosenSuggestion should not be null 474d3ef
  • codegen: Don't warn on CA1001 by default (disposable fields) for generated code 1d4fb90
  • codegen: Enhance roslyn version detection bac02b6
  • Adjust for duplicate package references in 6.0.300 d862a96
  • E_RUNTIME_SETVALUE SampleContent not found 69de305
  • fail gracefuly on invalid PRIResource files 6498cc3
  • codegen: Enhance roslyn version detection ce9ef6e
  • fail gracefuly on invalid PRIResource files 2cd9ffe
  • filesavepicker: Avoid possible IndexOutOfRangeException on macOS de70392
  • iOS: Adjust for new nullable signature 52a04f6
  • macos: Use case-insensitive API to load images from bundle f21db05, closes #8666
  • net6: Restore partial support for MUX progressring 3a0ddf0
  • Add FrameworkReference to winui projects 56e0806
  • Adjust net6-winui dotnet new 9ccc9ad
  • Adjust wizard for VS 2019 464c34e
  • FileSavePicker does not return the picked file in Android 9be9dd1
  • Fixed AccessViolationException that occurs in GLibSharp.dll after storage picker interaction 2bd123f
  • Fixed AccessViolationException that occurs in GLibSharp.dll after storage picker interaction 3cdc26e
  • Fixed comments. d706e8a
  • Genertaion of native ctor 0d188da
  • ImageSourceUrlMsAppDataScheme NullReferencenceException on DataContext Changed e17e5b8
  • Improve IsApiContractPresent accuracy a2aef58
  • Invalid GUID parameter name in dotnet new template JSON 673b9b6
  • max scale factor works as intended on android 63b2944
  • MethodAccessException b2ea50d
  • nit 41ac436
  • NullReferenceException 70b26dd
  • PackageIcon a49f972
  • Reduce "Uno.UI is using Roslyn generators" message level b97733f
  • Reduce logging verbosity for remote control connection errors df9cca6
  • Reverted RowDefinition and ColumnDefinition changes. 81a64bd
  • some SamplesApp missing resource d574b86
  • iOS: Adjust for new nullable signature ec65c79
  • net6: [Android] Adjust for proper assets base path f653bf5
  • net6: Add supported platforms attributes for CA1416 1d04414
  • net6: Adjust keyboard location computation e569a04
  • net6: Adjust manual native ctors signature 1815b79
  • net6: Restore ElevatedView templated parent support 5a782ff
  • TextBox doesn't support the TextWrapping.WrapWholeWords enumeration value 8e6faab
  • The parent of FrameworkElement is always null in GenerateBitmap 9f890c9
  • typo 525660a
  • xaml typo b800a40
  • gtk: Fix OpenGL render surface flickering 6e6c158
  • net6: [iOS] Ensure current culture is set at Application startup ac58dce
  • net6: Auto include BundleResources, show excluded compile items 42c6eba
  • net6: Remove unused InvariantGlobalization configuration 6c1f1d3
  • skia: SKImageInfo.PlatformColorType is incorrect on macOS/arm64 ba2acc8, closes #8580
  • SourceGenerators: NativeCtorsGenerator will execute after XamlCodeGenerator 497bcbe
  • vsix: Don't fail if DTE build information cannot be found 9363ae3
  • Wasm: Changing TextBox.Text in code should reset the caret a05ca79
  • winui: implemented Window::DispatcherQueue 033ae9b

Performance Improvements

  • Remove LoadActions a8f2aec

  • skia: Reuse surfaces/bitmaps and reduce native calls f8efae7

  • fix!: Launch arguments should be separated by space 19ef842

BREAKING CHANGES

  • In UWP/WinAppSDK the launch arguments are separated by space only, whereas Skia targets used semicolon before.

4.2.6

21 Apr 13:10
Compare
Choose a tag to compare

Uno Platform 4.2 – .NET 6 Mobile RC1, Performance

As of last week’s release of .NET 6 Mobile RC1, Uno Platform is now following the updates to ensure that you have access to the latest features provided by the .NET runtime.

You can read the full post here.

As per Microsoft’s announcement, the .NET 6 Mobile APIs are now considered stable for iOS, Android, and Mac Catalyst. This enables applications and libraries to be developed without having to deal with any breaking changes in future .NET Mobile releases. As Uno Platform takes a dependency on dotnet runtime, this is important as we can stabilize our own support for iOS, Android and mac Catalyst targets.

Since our previous release about six weeks ago, we also made a batch of changes to fix the support for localization of iOS, macOS and Catalyst apps, based on the new behaviors of .NET 6. In total there were over 190 new features and fixes completed, around Geolocation, focus and keyboard management, Android/Skia/WebAssembly performance, and more. For those who like stats – that’s about 6 closed PRs per business day; we are definitely picking up velocity even more.

As always, to upgrade to the latest bits and use .NET 6 Uno Platform app templates, you’ll need to use uno-check.

You can find up-to-date information about uno-check in our docs.

To install Uno-check:

dotnet tool install -g uno.check

To update Uno-check if you had it installed already

dotnet tool update -g uno.check

You can then run it with:

uno-check --pre

Important note:
If you were already using Uno 4.1.x, had run uno-check and were using VS 17.2 preview 3 or earlier, upgrading to 17.2 Preview 4 or later will cause mobile workloads to become desynchronized. To fix your environment, you’ll need to run the following command:

dotnet workload install ios android maccatalyst macos --from-rollback-file https://aka.ms/dotnet/maui/rc.1.json --source https://aka.ms/dotnet6/nuget/index.json --source https://api.nuget.org/v3/index.json

Community Contributions

We'd also like to thank the community contributors for this release:


Full change log:

Features

  • Add basic support for entered/leaving background deferral 3eb2562
  • Add support for overriding the MessageDialog style 95ada29
  • Add support x:Bind to static event handlers 1e30a7d
  • Android FileOpenPicker MIME types eca4cc1
  • Basic ListView keyboard navigation b092f72
  • BringIntoViewRequested handling on ScrollContentPresenter 3d09430
  • cascade down update to Presenter 760906e
  • Change Release package defaults for Android app template 0c4eefc
  • CloseRequested event on Skia 9f25358
  • ContentDialog-based MessageDialog fbc932d
  • CoreApplication EnteredBackground and LeavingBackground events e461b69
  • Deferral.Dispose completes the deferral b510d0b
  • ElevatedView on Skia 2180e23
  • Enable focus states on SelectorItem 73d176d
  • Focus support in managed FlipView 58ea2f8
  • Implemented feature SelectedText on TextBox 0775781
  • more detailed ClassLib info for VB (recreated) a9de33e
  • Pass arguments to LaunchActivatedEventArgs on macOS 21e664b
  • Support for BringIntoViewOptions 5c45fc0
  • Support for UIElement.BringIntoViewRequested routed event d46a2e7
  • Update API surface to match Windows 11 22000 SDK efe34fb
  • Update Sync generator to 22000 9305aa0
  • arrange_dirty_path: First working version of arrange dirty path on Skia & Wasm 56b69c7
  • DecimalFormatter: Implement FormatDouble and ParseDouble 3e103af
  • dirty_measure_ios: Fixed the broken build for iOS. Not actual implementation of DIRTY_MEASURE_PATH for iOS. ab86102
  • FolderPicker: [Skia][WPF] Added support at SuggestedStartLocation and CommitButtonText 3d8bf64
  • ListView: incremental loading support for skia/wasm 1410316
  • updated Geolocator for Android 280a006
  • gtk: Add OpenGL acceleration e89870d
  • macOS: Add SelectedRange on TextBox fcaccd6
  • measure_dirty_path: Implemented the Dirty_Measure_Path on Android. Should bring significant perf improvements on this platform. 44bc0ed
  • PercentFormatter: Implement FormatDouble and ParseDouble e41759f
  • xaml: support named params in MarkupExtension 428b08c
  • Support WUX ProgressRing everywhere eb13011
  • PermilleFormatter: Implement FormatDouble and ParseDouble 0169c51
  • Support Enter, Space and Escape on ComboBox fb52456
  • Support Up & Down and keyboard item selection on ComboBox d61ce66
  • Use theme-aware WASM splash screen by default 7c63800
  • textbox: Update IsEnabled 6025109
  • fix!: Launch arguments should be separated by space 19ef842
  • feat!: Bump UWP version to 18362 9f41fd4
  • feat!: Bump to net6 preview 13.2 dee6870

Performance Improvements

  • Adjust resource resolver to avoid ICU based comparisons on net6+ 1244199
  • Disable logging in release builds 26137e2
  • Don't materialize x:Name-marked styles eargerly inside of uno 39a7e70
  • Fix regression in SpecializedResourceDictionary 44a49f9
  • android: Don't refresh memory statistics too often 259e365
  • Scavenge TextPaintPool storage 0d4c160

BREAKING CHANGES

  • In UWP/WinAppSDK the launch arguments are separated by space only, whereas Skia targets used semicolon before.
  • Bumps the target UWP version from 17763 to 18362
  • This update contains binary breaking changes to follow
    .NET 6 Mobile iOS/macOS/Catalyst API changes. It requires Visual Studio
    2022 17.2 Preview 1 or later and cannot work on previous VS 2022 releases.

Bug Fixes

  • gtk: Fix OpenGL render surface flickering dd529f4
  • net6: Auto include BundleResources, show excluded compile items 42c6eba
  • net6: Remove unused InvariantGlobalization configuration 6c1f1d3
  • Adjust MonoAndroidAssetsPrefix to use Assets from shared project eb5d0aa
  • Adjust default plist values for net6 mobile targets 8fd4390
  • Adjust flyout position in visible bounds 2103533
  • Adjust resources generation for net6.0-ios new targets eed7596
  • Adjust ScrollContentPresenter.ViewportWidth/Height on WASM 9a4e884
  • Adjust template for .NET 6 RC1 preview SDL 9567af1
  • Adjust VisualParent property to return Selector for SelectorItems bdfc675
  • Apply Review 635f43f
  • Apply Review 1d233de
  • Apply zoom and content offset simultaneously on iOS e92379f
  • BorderThicknessProperty warning on skia/wasm 96a46d4
  • CI for not used variable 7c94ce5
  • Clamp Popup placement in visible bounds 09a2c58
  • Decrease default TreeViewItem glyph size e821bed
  • Enable XAML Intellisense in VS 2022 for non-WinUI/UWP projects 050b537
  • Ensure that TextVisual does not render when size is empty 82aabd6
  • FlipView: Flipping on WASM and Skia 811266b
  • net6: [iOS] Ensure current culture is set at Application startup ac58dce
  • ContentDialog does not show up on startup on WPF 5bff961
  • convert-sourcetree-to-winui.cmd 79115b5
  • deobsoleting DisplayInformation (Android) 569935f
  • Do not apply ScrollOffsets if the source element is the scroll port b115cb4
  • Don't throw if DTE SolutionBuild is not available 1bdaa10
  • Ensure compatible numeric types are compared to avoid exceptions in Verify bf96acc
  • Ensure DeferralManager.CompletedSynchronously is set correctly before Completed execution 00f5f23
  • field not available for target 155f2d9
  • fixed error loading ms-appx asset files with spaces - all platforms 44d391f
  • Generate specific platforms for NotImplemented types bd95a0d
  • Generating API sync for Composition & Dispatching in UWP mode c7a6185
  • NativeFrame runtime tests failing without outer scroller a43b0e2
  • NavigationView selection indicator unreliable for minimal display mode 25e99af
  • Samples app local debugging 0296ab1, closes /github.com/dotnet/android/issues/6697#issuecomment-1034784286
  • SelectionModel and SelectedItems enumeration 6652358
  • Set iOS Window background to Clear instead of White 568d988
  • Use native MessageDialog on Android, iOS and macOS eb7ee3e
  • WASM ScrollContentPresenter offsets are immediately set after scroll request without animation d149662
  • catalyst: Force enable globalization and static registrar, disable interpreter 1e252d5
  • catalyst: Include ios XAML for catalyst 00144d4
  • catalyst: Move to newer Preview 14 API breaking changes 89e70c1
  • CommandBar: Remove 1px "shadow" from iOS native CommandBar 0a4eb04
  • DependencyObject: Fix possible infinite loop on ancestor lookup acfb5ae
  • FolderPicker: [Skia][WPF] Applied Codacy suggestions bc4db1e
  • getparent: Never call .GetParent() in an element while it's being finalized. fb10dc8
  • itemscontrol: Fixed problem with internal assignment of indexes to elements in ItemsControl 4b63312
  • keyboard: [Android] Improve keyboard size info on 30+ 607992d
  • layout_update: Fixed a potiential "Layout cycle detected." exception 8d6075d
  • listview: Fix flickering when reordering items on Android 4614b38
  • NameScope: Ensure NameScope is not overriden for XAML backed controls b2c8a47
  • pointers: Fix gesture recognizer not completing drag manipulations internally. a605c4e
  • textblock: Text size were incorrect on Ma...
Read more

4.1.9

22 Mar 13:48
4f50459
Compare
Choose a tag to compare

Uno Platform 4.1 Update for .NET 6 Mobile Preview 14 and VS 2022 17.2 Preview 2

The .NET team has been steadily releasing a set of updates to the .NET 6 Mobile previews. Last week's update was Preview 14, which came at just about the same time as Uno Platform 4.1 release. Following .NET 6 mobile Preview 14, we’re publishing the Uno Platform 4.1.9 service update.

This update includes a new set of binary breaking changes added in .NET 6 Mobile Preview 14, which requires the use of Visual Studio 17.2 Preview 2. If you update to Preview 2, you will need to be on Uno Platform 4.1.9 or later.

Using .NET 6 Mobile Preview 14 with Uno Platform projects

To use this new preview in Uno Platform projects, you’ll need a few steps:

  • Install the latest uno-check preview

    dotnet tool install -g uno.check --version 1.2.0-dev.10
    
  • Or update to the latest uno-check preview

    dotnet tool update -g uno.check --version 1.2.0-dev.10
    
  • Then run the following:

    uno-check --pre 
    
  • If you’re building on a mac, either directly or through VS for Windows, you’ll need to run uno-check on the mac as well.

  • Make sure that your Visual Studio 2022 Uno Platform extensions are updated to 4.1.9 (it should be automatically updated)

  • Update your nuget packages to Uno.UI.* 4.1.9 or create a new project from the templates.

Note that if you intend to build for iOS, Xcode 13.3 is required and that this version of requires macOS Monterey.

4.1.8

08 Mar 22:42
9995f80
Compare
Choose a tag to compare

It has been just over 3 months since our 4.0 release, and we’ve used that time to focus on performance as well as bringing the latest .NET 6 and even .NET 7 innovation to Uno Platform. By simply updating your application to the newest bits you will notice a significant boost to your app performance.

This release packs over 200 new feature requests, bugs, and issues you raised. We welcomed a few great contributions from our community which is now over 210 contributors strong! Thanks for all you bring to Uno Platform.

For more information about the release, read our blog post.

Important note about .NET 6 Mobile support

The current support for .NET 6 Mobile Preview 13 requires VS 2022 17.2 Preview 1 or later, 17.0.x and 17.1.x are not supported, and naturally Uno Platform will face the same constraints. It’s also worth noting that with .NET 6 mobile Preview 14, Microsoft will introduce an additional (and likely final) set of binary breaking changes, and we’ll publish an update to Uno nuget package to align with those changes.

Once you have 17.2 Preview 1 or later installed, use uno-check --preview to setup your environment.

Features

  • element_measure_dirth_path_disabled: Added the ability to deactivate the new InvalidateMeasureDirtyPath at element-level instead of just globally (6779b34)
  • invalidate_measure: Ensure the .MeasureOverride() is not called when not required after invalidation. (e406239)
  • max_layout_iteration: Limit the number of iterations while trying to measure elements. (23e5c90)
  • measure_dirty_path: Implemented MeasureDirtyPath on both Skia and Wasm platforms (29c5b45)
  • pointers: Add basic support of pointers injection API on Skia and macOS (fe1c9bd)
  • textbox: Update IsEnabled (6025109)
  • Add ability to configure if marhsal and/or unmarshal method should be generated when using TSMessageAttribute + generated TS messages are now in the same namespace as where they are declared in C# (6459564)
  • Add Skia memory manager support (699731b)
  • Add support for XamlRoot.RasterizationScale (8ff10bf)
  • Add support for Description property on common controls (46e0956)
  • Add support for GC awareness for internal ArrayPool (e8e63f7)
  • Add support for memory usage aware template pooling (6c98490)
  • Add Title bar test status reporting to UnitTestsControl (af84896)
  • Added DynamicDataAttribute support to RuntimeTest (c5987eb)
  • Bump to Android 12 (1e9cf32)
  • DPI scaling on GTK (a961de4)
  • FolderPicker for Skia.WPF (6f3f596)
  • Improve Skia TextBoxView overlay positioning and sizing (b8240f8)
  • Support for Canvas.ZIndex on Skia (c51e44e)
  • update to .NET Mobile Preview 12 (95fa32f)
  • flyout: Implement FlyoutBase.IsOpen (ef3cf3d)
  • frameworktemplate: Improved the logging of FrameworkTemplatePool to show the actual factory lambda (d59c30f)
  • hotreload: Support x:Bind to properties in hot reload scenarios (1f1a8a6)
  • ios: RequestedTheme will now affects KeyboardAppearance (bfacd86)
  • pointers: [PERF] [WASM] Marshal pointer events instead of serializing them (44df154)
  • wasm: Add MemoryManager support (66038f1)
  • Added single project support for windows packaging in dotnet new (81e0052)
  • EasClientDeviceInformation (fb8ba79)
  • Initial page focus on WASM using browser keyboard navigation (7975615)
  • more detailed GeoLocator UI test (744237b)
  • Per-monitor DPI scaling on Skia.WPF (13eeac8)
  • Replace Page with correct type when reloaded (64a25da)
  • Support CreateFromStringAttribute in XamlReader (5258d49)
  • NativeCtorsGenerator: Generate nested types properly (1d772b9)
  • reapply_theme: Added the ability to reapply application theme to be used when the colors are manually changed in ResourceDictionary, to force the reevaluation of the ApplicationTheme without having to toggle. (dc1a660)
  • Support LineGeometry, RectangleGeometry, and EllipseGeometry in Skia (a5244c0)

Performance Improvements

  • Dispose HashtableEx to return memory to the pool (3db5555)
  • Enumerate children in ContainerVisual via IList and for (5cca9d7)
  • Merge all system resource dictionaries to improve lookup performance (6d49af8)
  • Reduce allocations in BindingItem.SubscribeToPropertyChanged (2740c77)
  • Reduce delegates use in BindingPath property changed (b93c527)
  • Reduce interop invocations during MeasureChildOverride (19625de)
  • Reduce memory indirect allocations from the use of DispatcherConditionalDisposable (a5751f5)
  • Remove indented string builder from InvokeJSWithInterop (2a239b1)
  • Scavenge TextPaintPool storage (0d4c160)
  • Use ArrayPool<T> for Grid's CellCacheStackVector inner storage (1572d6a)
  • Use field aliasing to improve Color.GetHashCode and Color.Equals (429d367)
  • memory: Reduce ConditionalDisposable pressure (3b4bf41)
  • memory: Reduce memory pressure on shape set fill (76998f0)
  • memory: Remove delegate for UIElement GestureRecognizer (2e34584)
  • memory: Remove RegisterDefaultValueProvider delegate in favor of UIElement cast (c2d8eb9)
  • Style: Implement Style.IsSealed to allow for flattened lists caching (1970c77)
  • timeline: Remove the use of events and disposables (922bb4b)
  • fix(pointers)!: [iOS][Android] Enter will now be raise...
Read more

4.0.7

30 Nov 17:08
Compare
Choose a tag to compare

For a comprehensive description of the Uno 4.0 release, please read our blog post.

As we’re continuing the alignment with the WindowsAppSDK, we’ve made some binary and source breaking changes in the Uno.UI 4.0 NuGet packages.

Most of these changes are minor and are generally present to remove the use of uno-specific conditional code. You can find additional information on how to migrate to Uno 4.0 on our documentation site.

See the full change log below:

Features

  • Add a FrameNavigationHelper to allow apps to access helper properties on Frame and its PackStackEntries 3826bf1
  • Add automatic restore after dotnet new 848ebcc
  • Add DispatcherQueue on CoreWIndow and CoreApplicationView e176c77
  • Add DispatcherQueueHandler and DispatcherQueuePriority 1425e7b
  • Add mixed C#/XAML hot reload support 6d3ec36
  • Add support for x:Name hot reload 083fce5
  • Add support for CustomVisualStateManager 1e7103f
  • Add support for full uri in RC endpoint c5849cc
  • Add support for local RC on remote environments 898acca
  • Add support for multiple XamlReader types conversions 8c4845d
  • Add XamlReader support for theme dictionaries d887a43
  • Adjust the Popup hierarchy 13ec2fb
  • Adjust vscode tasks/launch configurations 9f8eb9c
  • Generate C# reload cookie for omnisharp compatibility bcaa4fb
  • Android: Provide access to BaseActivity events from SpanningRectsExtension 23cca70
  • listview: [iOS] [Android] Support ItemsPresenter.MinHeight 6dfc251
  • rc: Add support for metadata update 8387262
  • xamlreader: Add reload support for event bindings 2c1f7b2
  • Add support for WinAppSDK 1.0-experimental1 31f45ea
  • Align enums (netstandard2.0) f8abe44
  • Align Panel DPs 1930257
  • Align properties (netstandard2.0) fdcf4c5
  • Align RelativePanel methods 12fb3ff
  • Align Uno.Foundation (netstandard2.0) 9a08e12
  • Align Windows.System.VirtualKey 5397faa
  • Implement FileSavePicker for Gtk c946681
  • Implement TextBox Description Property e14dd76
  • Implement WinUI CommandBar and AppBar ce12824
  • Improve generation cancellation for net5 and net6 4b612b6
  • initial setup for foldable support c0c0833
  • NavigationView InfoBadge integration 2e495ad
  • Point users to implemented versions of obsolete WUX controls 9cdaacb
  • Respond to top-level resource updates 8df6db9
  • Update to WinAppSDK 1.0 9fd0a0c
  • Update TwoPaneView to latest WinUI b221201
  • android: Adjust Foldable screen nuget package naming db1d7ae
  • Border: Add ability to use GradientBrushes for BorderBrush af760ff
  • dragdrop: Add support of preview of dragged element on iOS and Android b749632
  • GTK: Detect ApplicationPreferDarkTheme property change e6a173f
  • IncrementNumberRounder: Implement RoundDouble Method 0fdab8e
  • NumeralSystemTranslator: Implement TranslateNumerals method for Arab and ArabExt NumeralSystem value ee3e611
  • perf: Improve perf of the ObjectAnimationUsingKeyFrame 3818924
  • pointers: [GTK] Implement native pointer capture 624631a
  • SignificantDigitsNumberRounder: implement RoundDouble method e30b006
  • vsix: Restore Xamarin template for VS2022 e0a7bde
  • WPF: Observe system theme during runtime f1ea619
  • xamlreader: Support StaticResource assignation to non-DP fd535d2
  • xamlreader: Update Setter.Value when theme changes 7ba8c58
  • GetRadiosAsync() for Android 110d466
  • Improve generated enums eccc12e
  • Initial API surface validator b296076
  • Port RadioMenuFlyoutItem 9b388c1
  • Support Dark theme in Samples app 2f93a19

Bug Fixes

  • animation: Fixed a problematic case where a native animation can be 'lost' if the GC is run during the duration of the animation, preventing the animation from being removed and leaving the UI in an undetermined undesired state. 81547ef
  • template: Adjust dotnet new unoapp 57657f2
  • vscode: Remove duplicate sln block a0021b8
  • Add error message when linker is enabled during EnC session 7c261dd
  • Add keepalive messages for RC client abc5093
  • Add missing Immutable assembly for hot-reload generators 2f64555
  • Add missing NavigationViewItemPresenter.InfoBadge property dabfe9a
  • Add missing short flags for dotnet new 2294217
  • Add server-side keepalive 8965b2f
  • Add support for globbing in the shared project for vscode compatibility 87b32c3
  • Adjust dotnet detection for C# hot reload 74e7803
  • Adjust hot reload support for VS 2022 a6727d8
  • Adjust InfoBarPanel namespace to match WinUI 9784afa
  • adjust remote control target to net6 1a95097
  • Adjust removal of uno websockets dependency 9d3feb2
  • Avoid jumpy ScrollViewer visibility on Skia 0573b47
  • Avoid TextChanged loop in GTK 997fd15
  • Cache IsApiContractAvailable properly 6feacd3
  • Capture all xaml handlers f26804a
  • Disable assembly loading feature in XamlSchemaContext c2ddc8f
  • Disable rolsyn generators for below MSBuild 17, fallback to uno source generators 1f5868d
  • Dispose appinsights configuration 67deda2
  • Don't call CloseAllPopups on Frame navigation 3438fee
  • Don't create a window while checking dotnet version ca1d8ae
  • Don't fail on missing metadata updater (net5 support) ab1c748
  • Don't initialize telemetry on design time builds c7ffe08
  • Don't regenerate source for ResourceDictionary runs adbd48d
  • Fix support of the CustomVisualStateMamager 4cb5983
  • IndexOutOfRange in DisplayRegionHelper.GetRegionInfo a4d301d
  • metadata update after XAML hot reload breaks compilation 1c1d352
  • Observe C# file changes 5abdebd
  • Port IsPaneVisible fix from WinUI (microsoft/microsoft-ui-xaml#6227) d52b71e
  • Propagate cancellations for more locations 1548c75
  • Remove deprecated GenerateBuild for VS2022 compatibility b8cf02a
  • FoldableApplicationViewSpanningRects: change Bounds pix to dip 13a8c44
  • FoldableApplicationViewSpanningRects: remove dependency on MainActivity 4ded713
  • VS2022 23c4467
  • dragdrop: Fix support of transparent control in DragUI ef0b6fd
  • ItemsControl: [Android] Adjust collection update reset for ComboBox 8581995
  • ItemsControl: Fix for applying ItemContainerStyle dc7a7a9
  • listview: [Android] Correct scroll offsets if necessary when scrolling upwards in list 5e8bce5
  • listview: [Android] Fix crash on animated collection change 96cb63c
  • listview: [Android] Fix crash when animating item 7d05e4c
  • pointers: Improve relialibilty of hold gesture by always starting a timer on press when hold has been enabled. 4d18f58
  • reg: ensure both net6/xamarin templates don't share ids 8ac1147
  • TextBox should not get focused while manipulating ScrollViewer 87c9626
  • listview: [Android] Fix flicker and clipping when ListViewItem.Margin is set 801f51c
  • reg: [Android] Fix application content squeezed top left 595d4ea
  • winui: Adjust DispatcherQueue implementation 263f914
  • Add workaround for editorconfig race condition 787c644
  • Bump x:Load timeout for large tests 45bd906
  • Make sure that an element can invalidate itself (and its parents) while in being measured / arranged 6f30b05
  • Border: Allow null BorderBrush to be set decb376
  • calendar: Fix CalendarDatePicker cannot be scrolled when re-opened d161c91
  • docs: Fix a few typos in VS2022 article f3e0a12
  • docs: headers' anchor visibility is now hover 6dcf009
  • listview: [iOS] Fix container reuse by template 868446f
  • listview: [WASM] [Skia] Correct scroll offsets if necessary when scrolling upwards in list cd74fd9
  • perf: Do not box Point for equality check a4d673d
  • reg: Fix CornerRadius support on Border 9f0b463
  • reg: Move DispatcherQueue to WinUI location 443a76f
  • reg: Popup light overlay's was not rendered properly c2fcd60
  • reg: Restore sizechanged propagation 30b0a0e
  • Remove duplicate guids in solution file 4935613
  • Skip generation run info for design-time builds 63d5ab5
  • Use proper reference path validation for resource generation 18a4d6d
  • VS Remotre control .NET version lookup 80ad551
  • calendar: Fix initial scrolling state of the CalendarView d68c05f
  • DependencyObjectGenerator: Place BindableAttribute on the correct type 852265c
  • docs: Incorrect NuGet package name in logging.md c549ddc
  • dotnetnew: Remove invalid solution filters in dotnet new unoapp 11d4b56
  • DualScreen: add RecyclerView to try and address linker issue 1b04f21
  • DualScreen: attempt to address possible linker issues f3d3052
  • DualScreen: remove unnecessary CreateInstance call in SamplesApp.Droid 225d0f2
  • Duo: Observe all configuration changes for samples app 9d35b7b
  • effectiveviewport: [Android] The SCP is now the element flagged as ScrollHost, like on UWP 43f56d0
  • effectiveviewport: [iOS] The SCP is now flagged as ScrollHost f4b1937
  • effectiveviewport: Fix effective viewport computation 3448722
  • effectiveViewport: Make sure to raise the event when initializing multiple elements with EVP handlers 2ee3b50
  • Foldable: fix bad merge 33586e0
  • Foldable: update to use Foundation.Logging 96a5762
  • FoldableApplicationViewSpanningRects: remove testing hack dcbcb14
  • FoldableApplicationViewSpanningRects: revert change Bounds pix to dip 3b2b2a1
  • HitTest: Check for Clip property for ClippingBounds 97152dd
  • listview: Fix D&D UI not reporting move while reordering items 30fd8d3
  • menuflyout: Ensure MenuFlyout nested submenus stay on screen cd13998
  • pointers: [iOS-simulator] Improve debug by starting a timer for Holding on iOS when in simulator 3c6ce3d
  • pointers: [Skia] Make sure to also release impiclit captures on pointer realease f3d53bc
  • pointers: Make sure to abort drag manipulation as soon as possible if not touch pointer 1045c76
  • pointers: Release implicit captures on manip completed d307101
  • reg: Fix EVP not prog...
Read more

3.11.6

16 Nov 15:53
f8ba0fe
Compare
Choose a tag to compare

Uno Platform's 3.11 release ships 160+ features and bug fixes and adds support for  .NET 6 RTM with all related improvements.  

As Microsoft had announced the delay for .NET 6 support for Android and iOS, we've re-introduced Xamarin-based templates for Visual Studio 2022. Additionally, the support for preview .NET 6 Android and iOS has now been moved to 17.1 Preview 1.

In Visual Studio 2022, you'll find now two templates:

  • One named Multi-Platform App (UnoPlatform|xamarin), which uses the existing stable Xamarin "Classic". It is the same as found when using Visual Studio 2019.
  • One named Multi-Platform App (UnoPlatform|net6), which uses the .NET 6 preview support for iOS, Android, macOS and Catalyst and requires Visual Studio 17.1 preview 1.

You can setup your environment with Uno.Check 1.0.2 for Windows, macOS and Linux, which you can install as follows:

dotnet tool install -g uno.check

Then run:

uno-check

Here's a summary of the features for this release:

  • Support for VS 2022 and .NET 6 RTM
  • Drag and drop preview element support on iOS and Android
  • NumeralSystemTranslator for Arab Numeral System
  • Native pointer captures for GTK
  • FileSavePicker for Gtk
  • Support for RadioMenuFlyoutItem
  • Support for IncrementNumberRounder and SignificantDigitsNumberRounder
  • Support of GetPeerRadioAsync

As always, many thanks to our contributors:

You'll find below the full change log for this release.

Features

  • Android: Provide access to BaseActivity events from SpanningRectsExtension 23cca70
  • listview: [iOS] [Android] Support ItemsPresenter.MinHeight 486e8eb
  • vsix: Restore Xamarin template for VS2022 7fb276a
  • Add a FrameNavigationHelper to allow apps to access helper properties on Frame and its PackStackEntries 3826bf1
  • Add support for ios/android C# hot reload in net6 template 1414414
  • Add support for WinAppSDK 1.0-experimental1 31f45ea
  • GetRadiosAsync() for Android 110d466
  • implements AppMemoryUsage and AppMemoryUsageLimit for Android bd55b64, closes #5891
  • Improve generation cancellation for net5 and net6 4b612b6
  • Support Dark theme in Samples app 2f93a19
  • Border: Add ability to use GradientBrushes for BorderBrush af760ff
  • dragdrop: Add support of preview of dragged element on iOS and Android b749632
  • NumeralSystemTranslator: Implement TranslateNumerals method for Arab and ArabExt NumeralSystem value ee3e611
  • perf: Improve perf of the ObjectAnimationUsingKeyFrame 3818924
  • pointers: [GTK] Implement native pointer capture 624631a
  • VS2022: Add support for uno remote control 178f682
  • vsmac: Add support for unoapp template solution filters c240f34
  • Implement FileSavePicker for Gtk c946681
  • Implement MenuBarItemAutomationPeer ddd0bed
  • make versioned fluent resources linker friendly 52d3bcc
  • Port RadioMenuFlyoutItem 9b388c1
  • Replicates CalendarView style fixes for fluent 2 e61d99c
  • Upgrade to .NET 6 RC1 d110581
  • Vector3 XAML conversion 2aa0be9
  • IncrementNumberRounder: Implement RoundDouble Method 0fdab8e
  • SignificantDigitsNumberRounder: implement RoundDouble method e30b006

Performance Improvements

  • hotreload: Reduce the memory allocation d582d9e
  • reg: Fix performance regression in fast convert da59fc5
  • wasm: Place loaded/unloaded exception handling behind a flag 9cd9f35
  • Add the ability to disable SetTargetValue exception handling 9eb4efa
  • Additional changes to mitigate PG-AOT dotnet/runtime issue #56309 218fd00, closes #56309 #7005
  • Additional changes to mitigate PG-AOT dotnet/runtime issue #56309 ba58785, closes #56309 #7005
  • Adjust Grid, StoryBoard and VisualStatGroup enumerations 5b112e9
  • Apply various workarounds for dotnet/runtime issue #56309 5cbbec2, closes #56309
  • Remove foreach in FrameworkTemplatePool dc0bc5f
  • Remove foreach in ItemsControl.UpdateItems b34954e
  • Remove try/catch handling in OnFwElt Loading/Loaded/Unloaded 17f2e4f
  • wasm: Don't use try/finally in Grid measure/arrange fb22656

BREAKING CHANGES

  • fix!: Fix resource dictionary path handling 30f21ac
  • Source paths starting with '/' are now considered relative to project root instead of current file.

Bug Fixes

  • Fix the wasm only CalendarViewCrippledAnimationStyle for fluent v2 dd3ac57
  • animation: Fixed a problematic case where a native animation can be 'lost' if the GC is run during the duration of the animation, preventing the animation from being removed and leaving the UI in an undetermined undesired state. 81547ef
  • Border: Allow null BorderBrush to be set decb376
  • calendar: Fix CalendarDatePicker cannot be scrolled when re-opened d05bbc8
  • calendar: Fix initial scrolling state of the CalendarView 50829e8
  • DependencyObjectGenerator: Place BindableAttribute on the correct type 852265c
  • docs: Fix a few typos in VS2022 article f3e0a12
  • docs: Incorrect NuGet package name in logging.md c549ddc
  • dragdrop: Fix support of transparent control in DragUI ef0b6fd
  • effectiveviewport: [Android] The SCP is now the element flagged as ScrollHost, like on UWP 43f56d0
  • effectiveviewport: [iOS] The SCP is now flagged as ScrollHost f4b1937
  • effectiveviewport: Fix effective viewport computation 3448722
  • effectiveViewport: Make sure to raise the event when initializing multiple elements with EVP handlers 73d782d
  • HitTest: Check for Clip property for ClippingBounds 97152dd
  • ItemsControl: [Android] Adjust collection update reset for ComboBox 8581995
  • ItemsControl: avoid rebinding containers on collection change 4ed5bc4
  • ItemsControl: Fix for applying ItemContainerStyle dc7a7a9
  • listview: [Android] Correct scroll offsets if necessary when scrolling upwards in list 5e8bce5
  • listview: [Android] Fix crash on animated collection change 96cb63c
  • listview: [Android] Fix crash when animating item 7d05e4c
  • listview: [Android] Fix flicker and clipping when ListViewItem.Margin is set 7425947
  • listview: [iOS] Fix container reuse by template 868446f
  • listview: [WASM] [Skia] Correct scroll offsets if necessary when scrolling upwards in list cd74fd9
  • listview: [WASM] Support removing item while dragging 3c6e6e4
  • listview: Fix D&D UI not reporting move while reordering items 30fd8d3
  • menuflyout: Ensure MenuFlyout nested submenus stay on screen cd13998
  • perf: Do not box Point for equality check a4d673d
  • pointers: [iOS-simulator] Improve debug by starting a timer for Holding on iOS when in simulator 3c6ce3d
  • pointers: [Skia] Make sure to also release impiclit captures on pointer realease f3d53bc
  • pointers: Ensure that a manipulation cancelled by ManipStarting event is cleanup e1f5543
  • pointers: Improve relialibilty of hold gesture by always starting a timer on press when hold has been enabled. 4d18f58
  • pointers: Make sure to abort drag manipulation as soon as possible if not touch pointer 1045c76
  • pointers: Release implicit captures on manip completed d307101
  • reg: [Android] Fix application content squeezed top left 595d4ea
  • reg: ensure both net6/xamarin templates don't share ids 0f62edd
  • reg: Fix CornerRadius support on Border 9f0b463
  • reg: Fix EVP not progated on native elements 42ac6dc
  • reg: Fix EVP sometimes not propagated properly 932b82f
  • reg: Fix support of Android versions below 30 (including UI test failing on CI) 07c3d23
  • reg: Fix support of scroll offsets in ViusalTreeHelper c72890c
  • reg: Fix Viewport not updated on first load 7f2409b
  • reg: Popup light overlay's was not rendered properly c2fcd60
  • scrollviewer: [WASM] Make the SCP the "element which scrolls" (instead of the SV) ee21a4e
  • transformtovisual: [iOS] Fix TransformToVisual inside ListView 162dee5
  • [Android] LayoutSlot was including magrins and alignments 9743762
  • [Android] Window's visible bounds are incorrect 39ea361
  • Don't close ContentDialogs on showing MessageDialog cd4b9e4
  • Don't use nullable reference types in generated code b167107
  • scrollviewer: [WASM] Fix ScrollViewer incorrect offset after ChangeView() 7fddb8f
  • Fix lazy theme dictionary caching 8a43603
  • ios commandbar navigationcommand icon alignment 7497510
  • resourcedictionary: Improve performance of ResourceDictionary with not-implemented types 94aad18
  • scrollbar: Fix possible layout cycle when scrollbar is lower than the min size of the thumb ceba136
  • transformtovisual: Fix TransformToVisual on scrolled ScrollViewer df3f88d
  • viewport: Fix effective viewport adding scroll offsets twice d05ebc4
  • xBind: [Wasm] Fix invalid internal ElementStub state ef37b28
  • xBind: Fix xBind to other control without code-behind base class 76b2dba
  • xLoad: Fix x:Load nesting and ElementStub strong reference 9371f72
  • Assign ImageBrush on Android properly 118e4db
  • Convert resources to target property type in generated code 873251d
  • Reduce number of exception raised by RemoteControloClient cf45c19
  • Reduced the severity of the inconsistency message while adding/removing elements in Visual Tree on WASM. b8dfc4b
  • Respect Opacity when rendering gradient brushes b92cdd8
  • Update text according to AcceptsReturn d318146
  • xLoad: Adjust x:Load and x:Bind loading sequence a5217bf
  • Overwrite runtime tests results file if...
Read more

3.10.11

21 Sep 14:04
Compare
Choose a tag to compare

This is a service update for the 3.10 release, with some changes and bug fixes for .NET 6 support and Visual Studio.

  • fix: TextBlock text selection on WebAssembly #7088
  • Use .NET 6 and Uno.Wasm.Bootstrap 3.0.0 #7120
  • Added support for XAML Hot Reload for VS 2022 #7066
  • Added support .NET 6 iOS/Android C# Hot Reload in VS 2022 #7066
  • Fixed VS2022 performance issue #7066
  • ProgressRing: The AnimatedVisualSource was recreated too often #7075
  • Adjust VS 2022 .vsconfig for Preview 4 #7083
  • fix(Android): Fix NRE when TextBlock.FontFamily is null #7132