Skip to content

Releases: unoplatform/uno

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

3.10.7

14 Sep 13:09
Compare
Choose a tag to compare

Uno Platform 3.10: Day-0 support for .NET 6 RC1, WinUI InfoBadge, Windows 11 Fluent Styles

We continue to evolve Uno Platform in lockstep with the latest Microsoft developer platforms and tooling. Our 3.10 release supports .NET 6 RC1, latest developments in WinUI.

We are following developments in .NET 6 and Visual Studio 2022 until their general availability and look forward to bringing to you all the productivity, performance and stability benefits this latest wave of innovation from Microsoft is enabling for all of us.
In addition, we closed over 150 new features and issues requested by our community and clients, as well as added 30+ samples to our documentation.

As always, thanks to our community contributors:

You can view the full blog post for this release here.

Features

  • Upgrade to .NET 6 RC1 d110581
  • Vector3 XAML conversion 2aa0be9
  • background_sizing: Added support of BackgroundSizing on Wasm 8afd0c8
  • background_sizing: Fixed compilation for Skia (background sizing not implemented yet) 219a42e
  • BadgeNotification: Support for Tizen e5dc94f
  • BadgeNotification: Support for WASM b7237fd
  • New default Android, iOS and Mac Catalyst Uno Platform app icons 587ec89
  • background_sizing: Added support for BackgroundSizing on Android 7a9b306
  • background_sizing: Added support for the BackgroundSizing DependencyProperty + a sample for it. c3f8315
  • fillrule: Correctly implement FillRule for iOS & macOS 1c90c0e
  • fillrule: Correctly implement Path.FillRule on Android d0b9213
  • fillrule: Fix FullRule on Wasm when GeometryGroup is used ed89a82
  • geometrygroup: Add preliminary support for GeometryGroup on Skia. FillRule not fully supported yet. 64226f5
  • measureview: Added the ability to .MeasureView() to measure eiter the content of the whole control for and HTML elements. f1607a9
  • wasm_measureview: Added the ability to call .MeasureHtmlView() from application code. Useful to implement .MeasureOverride() in Wasm applications. 27e31b8
  • DeviceBluetooth - common 53bd836
  • background_sizing: Fixed compilation for iOS & MacOS (background sizing not implemented yet) dbbcecc
  • datepicker: Added a new [UnoOnly] UseNativeMinMaxDates property on DatePicker & NativeDatePickerFlyout to allow the picker to be restricted to some date instead of just the year. Properties MinYear and MaxYear are still used for that since they are already of type DateTimeOffset. 33ffc12
  • dragdrop: Add ability to drop external content into wasm app 36c9eaa
  • dragdrop: Fix support of external DragAndDrop to app on wasm b5942de
  • runtime: Add ability to provide a CT for InvokeAsync c38c00c
  • wasm: Add ability to manipulate a File using NativeStorageItem 0ffb4e0
  • ActualTheme and ActualThemeChanged 5485f52
  • Add optional XAML and Bindings Trimming 5d956f2
  • Add ResourceDictionary retemplate 1b5acbd
  • Add ResourceDictionaryWithCodeBehind template e2f48bc
  • Add support for DataContext inheritance for non-UIElement bd1c297
  • Add Thumb control default style 97b0cb7
  • Added CompositionColorGradientStop implementation 14210e6
  • Added CompositionColorGradientStopCollection implementation 61628e1
  • Added CompositionEllipseGeometry implementation 10f2466
  • Added CompositionGradientBrush implementation 38db8d6
  • Added CompositionLinearGradientBrush implementation ab93de0
  • Added CompositionLineGeometry implementation fe75691
  • Added CompositionRadialGradientBrush implementation 031eae3
  • Added CompositionRectangleGeometry implementation 8309bc7
  • Added CompositionRoundedRectangleGeometry implementation 3c5bc14
  • Added property change propagation notification for CompositionObjects 543b834
  • BackdropMaterial fallback support dfee434
  • BackgroundTaskDeferral for Android 2c4d7ee
  • Contact and ContactAddress, warning when setting to longer than UWP 1d8a3c2
  • fields for Android ToastNotification 639ea22
  • Hide delete button when TextBox isn't large enough 003462f
  • Implement SelectionStart, SelectionLength on Skia e10659e
  • Implement sizing methods for ApplicationView 945a8c0
  • Implement TextBox.Select, TextBox.SelectAll on all platforms b0f7646
  • Initial support for CoreWindow.GetKeyState dc4517d
  • Support for RenderTransform on Android LinearGradientBrush 5b54e1f
  • Support for SettingsIdentifier, SuggestedStartLocation and SuggestedFileName on WASM 0048e4b
  • Support PasswordBox on Skia 3f03c60
  • listview: Implement drag-and-drop scrolling and visual states ab6a898
  • pointers: Add inertia support in manipulation events 40f8d54
  • shapes: Finished the implementation of GeometryGroup in Wasm/SVG d322267
  • test: Add runtime tests automatic retry support 8919f17
  • Windows.Devices.Radios common enums 91f8385
  • pointers: Fully implement the inertia processor 288bdc8
  • shapes: Implemented all geometries on Wasm 0d4e7cf
  • wasm: Added ability to measure shapes on Wasm even when the control is not loaded. fe2c502
  • ScheduledToastNotification 6427e28
  • SystemTrigger Android implementation 90f591d

Performance Improvements

  • [Android] Improve DisplayInformation performance 111affb
  • 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
  • Apply various workarounds for dotnet/runtime issue #56309 5cbbec2, closes #56309
  • Improve DependencyProperty propagation ea6381e
  • Improve nullability checking in DependencyProperty 5f50f1f
  • Move Brush inheriting types to be lazy in ResourceDicionary 9954c4d
  • Remove DateTimeOffset from TimeLine 96585ff
  • Use invariant culture in XamlFilePathHelper fbf79fb
  • Use lazy split regex creation in FastConvert 1e49c0f
  • use switch(string) for bindablemetadata lookups f74fe23
  • android: Adjust clipping computation performance 6b3f2eb
  • android: Cache Stroke/Fill system style to reduce interop c410a4a
  • android: Don't sort Canvas children below 2 986d922
  • android: Move SimpleOrientationSensor off the UI thread 8f5666e
  • android: Simplify Activity instances tracking fbe91b5
  • android: Use HashTableEx in FontHelper 0fc8e52

Bug Fixes

  • [Skia] Fix layout when RevealBrush is used 9f5e1a8
  • Add support for VS 2022 in sync generator 4947bc1
  • Add XAML source generator cancellation support 0e4964d
  • Add XAML source generator cancellation support dd4b19e
  • Apply coercion before value is set 7be2c37
  • Apply icon color correctly inside native AppBarButton 4055a07
  • Apply pointer visual states of pivot items 341205f
  • ComboBox WinUI 2.6 border workaround 1991964
  • Compare NaN correctly f509baf
  • Disable light-dismissing MessageDialog 3c27bd3
  • Exception was not reprotyed properly in async calls on WASM f93e40d
  • Fallback to specific regional culture if neutral culture isn't found 1b35aed
  • Fix faulty indentation d6ec852
  • fixes TextBox cursor color for Android 29+ 375db65, closes #6240
  • Flyout should return focus to previously focused 4d8af83
  • Generate native ctor only when a ctor with required signature exists in base types 3691e08
  • Handle scaling less than 100% on Wasm 7937de6
  • ImageBrush RenderTransform does not throw a633fa9
  • LinearGradient angle should be reflected in EndPoint 1ffe017
  • Popup should receive focus if its child is focusable e6c03bc
  • ToggleButton WinUI 2.6 border workaround d08d589
  • Unchecked CheckBox should not have visible glyph a9d201e
  • Border: Adjust UI Test snapshots differences after changes for pull request 6898 (Related to Uno.Themes - #616) 56cba36, closes #616
  • commandbar: [iOS] Don't fetch the internal TitleView parent on invalidate measure 0a9a729
  • CornerRadius: [Android]Remove twice drawn border, adjust Background that was underneath the border and properly calculate inner corner radius for common cases 4d0976a
  • dragdrop: Preserve DragDropExtension JS entrypoint a5ba887
  • Propagate focus properties from Flyout to Popup host 7cac6bc
  • Remove net5.0 target option for skia/wasm dc13854
  • getbbox: Fixed GetBBox bug 93a663c
  • xamlreader: Load ThemeResources properly 06609d6
  • Propagate focus properties from FlyoutPresenter caf0ffb
  • Propagate focus property changes from PopupBase to Child 9f8b3af
  • Set method of attached property must have 2 parameters 9b1c2c1
  • Use SymbolThemeFontFamily instead of hard-coded Segoe MDL2 Assets 9dae693
  • geometrygroup: Fixed a situation where the change handler could not be set on the GeometryCollection 794d4e6
  • reg: Fix SelectedIndex update when ItemsSource is ObservableCollection 2747773
  • Add missing implementation for text alignment on macOS 680ce6c
  • Correctly check if the TextBox is PasswordBox befo 4e02fba
  • Handle justified text for TextBlock on Android 8104c69
  • Hide MS Edge reveal password to avoid duplicate reveal buttons a5e9160
  • Use SkiaSharp.Views.WPF for .NET Core target c03af67
  • animation: Fix DAUKF not cancelling its frames when stopped 1af267b
  • animation: Fix transition animation not cancelled 144348c
  • animations: Ensure VisualState and VisualTransition are materialized in the right resource context 77b769d
  • ColorPicker: event subscriptions when reloaded e30e8c3
  • ColorSpectrum: not rendering on skia/wasm f3216d8
  • dragdrop: [iOS] [Android] Support drag over events when native view in...
Read more

3.9.1

28 Jul 15:43
2918e34
Compare
Choose a tag to compare

This newest release brings support for .NET 6 (for iOS, Android, mac Catalyst and macOS), support for Visual Studio 2022 templates, WinAppSDK 0.8.1, Focus management updates, a XAML Trimming feature to reduce the size of WebAssembly apps by nearly 50% as well as many other improvements and bug fixes.

For more details about this release, take a look at our blog post.

We've closed many other issues and added other features, and as always thanks to our contributors!

Features

  • AccessibilitySettings class (99726d5)
  • Add dotnet new .NET 6 mobile templates (5b9d4b7)
  • Add FlipView Implementation (aefdc9b)
  • Add FlipView Sample Pages (530c8a5)
  • Add Flipview styles (bfc5d20)
  • Add net6 support (2427544)
  • add vs2022 vsix support (334bf7c)
  • Allow default button cursor configuration on WASM (de8504a)
  • AnimatedIcon (607d3b9)
  • AnimatedIconSource (ceb9887)
  • ComboBox.OnDropDownOpened/Closed (13c8716)
  • CreateIconElement tracks and updates created instances (27a35b5), closes #6168
  • Enhance support for focus management (8a48451)
  • ImageIconSource (452adda)
  • Implement WUX IconSources, update MUX IconSources (bbc56d9)
  • Implemented MarkupExtensionReturnTypeAttribute (eee861b)
  • Implemented WebHostHiddenAttribute (262d3b5)
  • Improve error reporting with Roslyn-hosted generators (8c3a0d7)
  • Update InfoBar to latest from MUX (0f4fe67)
  • Upgrade template to WinAppSDK 0.8 (257ac12)
  • ConnectionProfile: [WPF] Adds support for ConnectionProfile.GetNetworkConnectivityLevel() (1eab4e6)
  • ConnectionProfile: [WPF] Review Feedback - Adjusted name to Windows specific; Fixed code style; Added nullable code file to new files (74cb66e)
  • geometry_bounds: Added .Bounds support for some Geometry implementations. (ee6ed7f)
  • Initial implementation of FileOpenPicker for Skia.Gtk (4cd398a)
  • Initial implementation of FolderPicker for Gtk (d35733f)
  • separate implementations (48ce37e)
  • Support for CachedFileManager (1673873)
  • Update TabView to latest MUX (eb3c105)
  • WinUI ImageIcon (547020f)

Bug Fixes

  • elevatedview: shadow not appearing on uwp (94cafcd)
  • Map Key.KP_Enter to VirtualKey.Enter (b6207be)
  • selector: Fix support for ObservableCollection.Move (3fcdff3)
  • templates: Ensure resource files are not tranformed (ffa5a31)
  • Remove dependency on System.Json package (46a2856)
  • android: Clamp android animation scale values to accepted values (bb00bfe)
  • BindableDrawerLayout: unable to add removed pane back (b354803)
  • Droid: Keyboard not getting correct height (Android 11) (41d30a1)
  • Layout: [Android] Properly round values when converting logical to physical pixels. Apply rounding offsets for Path rendering (0920cf3)
  • netstdref: Fixed UI Runtime Tests project were not compiling for netstdref target. (a310ea3)
  • rect_union: Fixed a calculation bug with .Union on Rect class. (2425c81)
  • SourceGenerators: Use custom initializer for Duration (c881abd)
  • wasm_imagebrush: Fixed a bug when ImageBrush on shapes was dynamically changing on Wasm: the previous image were not removed from the SVG pattern. (8e64a36)
  • Adjust for invalid splashscreen uri (8faa64e)
  • Allow running multiple full window runtime tests in succession (26a2055)
  • Auto fallback to vibration on Android haptics (4750cfc)
  • Ensure missing WinUI styles are generated properly (d447e3d), closes #6366
  • Fix sr-Cyrl resourcesloading (f8c3208)
  • Remove redundant pdb copy for WebAssembly Compatibility (37febd1)
  • samplesapp: Fixed a cross-threading exception on UWP (07bf66d)
  • Adjust for missing symbols when running on macOS 10.14 (6989126)
  • Resource Dictionary issue (239ca6a)
  • binding: Don't try metadata lookups on internal and struct types (148ccc6)
  • calendar: Fix setting Width and Height on Calendar does nothing (2be72c9)
  • calendardatepicker: The type CalendarDatePicker were wrongly makred as not implemented. (ad89368)
  • grid: Support Grid attached properties on native views (4ae7c3e)
  • reg: Fix double path separator for lottie assets (07ab523)
  • Allow multiple default value providers (d39362b)
  • Avoid LinkerSafe depre...
Read more

3.8.6

14 Jun 16:29
1c03259
Compare
Choose a tag to compare

The new 3.8 release ports additional WinUI controls and layouts, such as the often-requested CalendarDatePicker control, to all Uno-supported platforms getting us one huge step closer to realizing the #WinUIEverywhere vision.

In addition, the new release brings up to 2x performance improvements in some scenarios, realized from the new Grid implementation as well as DependencyObject and UI Elements creation improvements. We also introduced new AOT and WebAssembly features, built on top of recently released Microsoft work on .NET.

On the Linux front we are pleased to enable new scenarios so you can target embedded systems using the FrameBuffer as well.

In addition to new UI and Performance features and improvements, the team has closed many issues. Closing issues timely is crucial in further fueling large projects enabling customers like Kahua to port a massive line of business applications from desktop to Web. We are particularly proud of the fact that with every release we close more issues than have been opened in the previous period; it shows a healthy and quickly maturing open-source project. Our huge thanks go to all our contributors @xperiandri, @Crixerker, @mterwoord, @scolapicchioni, @trungnt2910, @johnthepro and @pkar70!

See all the detailed updates in our blog post.

Features

  • Cursors loaded from Gtk display theme. Support for more cursors on Gtk 6ce492a
  • calendar: Add support for Chrome eabe306
  • calendar: Add support of selection (and navigating back to Decade/Year mode to Day mode) b6d1dc6
  • calendar: Enable auto scrolling to today 1589851
  • calendar: Enable phase loading 0badfcf
  • calendar: Implement virtualisation 430fe39
  • calendar: Improve scrolling experience 7d564b2
  • calendar: Initial import of the CalendarView 392e356
  • calendar: Make some items visible! 53cca3f
  • calendar: Make the CalendarView header appear, allowing to change display mode 099bbf7
  • calendardatepicker: just finished translating the WinUI C++ code for CalendarDatePicker f0c90b4
  • calendardatepicker: Set default Min/Max date for CalendarDatePicker to +/- 100 years. 4e3180b
  • CalendarView: Add Uno specific properties to make styling easier 4044058
  • GTK: Launcher.QueryUriSupportAsync support for Gtk Linux ca677a8
  • WPF: Launcher.QueryUriSupportAsync support for WPF 3049f16
  • Add ControlsResourcesVersion property for WinUI 2.6 compatability 65fe529
  • Add support for Linux FrameBuffer and libinput c3550b9
  • Add template support for Linux FrameBuffer ba04fc8
  • Add the BorderLayerRenderer on wasm 590350b
  • App/Window activation and visibility on Android fb18f1f
  • App/Window activation and visibility on GTK 7b711d2
  • App/Window activation and visibility on iOS 5dbf801
  • App/Window activation and visibility on WASM 8b7914f
  • App/Window activation and visibility on WPF 2a7959c
  • missing ActivationKind values bfd6cd4
  • Support for WinUI's internal DXamlCore.GetLocalizedResourceString() 83dbbe4
  • Upgrade cross-platform library template to uwp 18362 0839b79
  • scrollviewer: Implement the SCP.ScrollOwner (avoids anoying logs on wasm, android and ios) ab3ccb6
  • App/Window activation and visibility on macOS d32ba14
  • Application.Exit on GTK and WPF 55bfe8a
  • Update wasm templates to use .NET 5 64f6639
  • Use preventDefault to prevent browser from processing Handled events 974f689
  • ApplicationView: IsViewModeSupported, TryEnterViewModeAsync 23493ac
  • grid: Replaced the logic by the WinUI's one. ea0b254
  • layoutpanel: Implementation of LayoutPanel f2380ef
  • scrollviewer: Add ability to configure scrollbar's auto-hide delay, and fully disable auto-hide a5ec556
  • showlocalvisualtree: Improved the display of .ShowLocalVisualTree() by adding details about Grid/Canvas positioning. 96b8086
  • uniformgridlayout: First working version of UniformGridLayout 7f0a361
  • Support for iOS universal links 3a7253e

Performance Improvements

  • [Skia] Remove weak registrations in UIElement constructor e84146f

  • [Wasm] Don't deserialize unused TS interop output 52f5b5d

  • [Wasm] Improve UIElement.Visibility set to Collapsed 0be67af

  • [Wasm] Improve SetBackgroundBrush performance 14d996e

  • [Wasm] Improve text set color 07c794b

  • [Wasm] Register on ScrollContentPresenter pointer events only when native d25f9cc

  • [Wasm] Restore conditional DO hard references b968add

  • Add various controls creation benchmarks 1de5dac

  • Build only one logger for static style methods f4651c9

  • Explicitly limit DependencyPropertyDetail array pool max length 34923c4

  • Generate Brush.Opacity and RelativeTransform DPs 516fbb6

  • Improve DependencyPropertyDetails performance 640a543

  • Initialize UIElement.KeyboardAcceleratorsProperty lazily 61c4223

  • Make Grid.RowDefinitions and ColumnDefinitions lazy initialized feaad83

  • Make VisualState and VisualTransition lazy loaded 64a79fc

  • misc performance improvements on DependencyObjectStore 9c01d26

  • Move all UIElement TextHelpers to UIElement c1a776b

  • Push active system theme to ResourceDictionary 2322829

  • Reduce foreach/linq usage in pointers management d5b622a

  • Remove unused WeakReference read-back on creation 6cfe4c8

  • Skip ClearPointersStateIfNeeded during ctor 7d74f48

  • Use cached DependencyProperty comparer 6ef9e81

  • grid: Added more cases to Grid benchmark 3ae96b1

  • VisualState: Create VisualState.Setters and StateTriggers backing collections lazily 5c14003

  • Use for loops in DependencyObjectCollection 0f64934

  • grid: Added a new multidimension test to grid. 53b3618

  • fix!: Exclude Windows.UI.Xaml.UIElementExtensions from Xamarin platforms 3cbea4f

Bug Fixes

  • reg: Add missing FocusVisualLayer fddc5b0
  • Fix Xaml merge task not supproting conditional namespaces e76c7ec
  • ApplicationLanguages: Prevent NullReferenceException for ManifestLanguages 60a913f
  • calendar: Avoid flicker when changing DisplayMode 9179695
  • calendar: Fix background not applied properly on all items ec1c39f
  • calendar: Fix blackout foreground color 08229b9
  • calendar: Fix decade and year view scrolling on wasm 819e28e
  • calendar: Fix decade/year/month navigation bc51190
  • calendar: Fix first date always top/left 4702c59
  • calendar: Fix measurement issues 077f48e
  • calendar: Fix possible blank year view when opening closing calendar picker multiple times 02a25e8
  • calendar: Fix possible null ref in measure 70c5afa
  • calendar: Fix possible null-ref d589e89
  • calendar: Fix possibly failing assert ddb505a
  • calendar: Fix scrolling issues on iOS (inc. allow ChangeView on SV when not yet arranged) f9f463d
  • calendar: Fix stretching on iOS 7af5a44
  • calendar: Fix the Month and Decade views on Android 5cf9732
  • calendar: Fix today + selected visual state c473ae1
  • calendar: Fix vertical stretching (most probably not on Android and iOS) 31ae25b
  • calendar: Improve reliability of calendar by safely handling invalid cases 6bf96e5
  • calendar: Make sure to always fill the viewport aa570e4
  • calendarpicker: Make sure to clear the over visual state when closing and re-opening the picker a19d2c8
  • calendarview: Fixed #6160 c0c1bc5
  • calendarview: Removed a potential exception while recycling elements 7685dcb
  • Use UNO_BOOTSTRAP_WEBAPP_BASE_PATH to support path-based deep-linking 890d5d5
  • calendar: Fixed a potential crash when SetToMin()/SetToMax() were used in multi-eras calendars 9549557
  • calendar: Year and Decade views are not working on Android d4b1a81
  • calendardatepicker: Fixed compilation on other platforms af2bf91
  • calendardatepicker: Now closes the opened picker when the control is unloading 9121bd9
  • calendarview: fixed potential NRE when unloaded before being fully initialized 34657f0
  • TextBox: Update fluent textbox resources and style to match the latest WinUI source code [Reunion 0.5] and fix resources for dark theme ee22bc5
  • XamlFileGenerator: Generate literal properties for ResourceDictionary subclasses f5b7e4b
  • xamlloader: Fixed potential NRE error when loading problematic XAML content f53c955
  • Fix ChangedView raised too early 32ecb8d
  • Fix dependency generation not allowing to set only DPChangedCallbackName 89de363
  • Fix merge issues a5392e6
  • Possible null-ref in MenuBar d46acd2
  • Restore ability to have empty control template 55b18a8
  • Setting JumpListItem.Description null crashes on Android 4625009
  • calendardatepicker: fixed date picking were not working. 7e170e2
  • calendardatepicker: Fixed default value for .Date : should be null, not DateTimeOffset.MinValue. 93ecfca
  • calendarview: Fixed default min/max dates for CalendarView to use the same logic as other date-related controls. 4f4bcad
  • enability: Fixed a recent regression in generated code about IsEnable property 7b8bacd
  • pointer: IsLeftButtonPressed were wrongly true on the PointerRelease event e89a48b
  • remotecontrol: Fixed annoying "Uri format" parsing error while launching apps with RemoteControl activated. cf88024
  • samplesapp: Fixed NRE during application starting. 9943d91
  • xBind: Add support {x:Null} syntax 1a6c2fd
  • BindingHelper may not provide properties when using WinUI fa1d1ad
  • Fix compilation of the ref library ba767c5
  • Fix possible scroll to out of bounds of the SV on iOS d1f0296
  • Fixes DP generation 8ba9656
  • skiagtk: Remove unused incorrect dependency in Uno.UI.Runtime.Skia.Gtk and FrameBuffer aaf1809
  • TextBox: Remove FocusRing on macOS 53ec039
  • Incorrect SymbolIcon NotImplemented attr...
Read more