Skip to content

4.6.19

Compare
Choose a tag to compare
@jeromelaban jeromelaban released this 04 Nov 00:16
· 50 commits to release/stable/4.6 since this release
3c308bb

Today we are announcing support for .NET 7. Our sixth release of 2022 is a huge step towards creating the most productive platform for building .NET-based applications which run everywhere.

For more about the highlights, such as core .NET 7 support, Library Assets, SVG Support, Android 13, the new WebAssembly Bootstrap 7.0 and ASP.NET Core Hosting Project, head to our blog post!

Community Shout Out!

Our contributor community just passed 400 contributors across all our repositories – be it the core UI one, documentation, or gallery.

Here are some of our contributor's updates:

Big shout out to all our new contributors who came during our Hacktoberfest initiative, helping make our Gallery loaded up with new samples.

Features

  • assets: Adds support for content assets in NuGet and transive project refs (c39af78)
  • Template: Add manifest.json to WASM template (9b802c5)
  • Template: Make manifest.json optional (572c991)
  • xBind: Enhanced support for x:Bind casting expressions (4521b63)
  • Add support for attached properties localization (e726e39)
  • Add support for VSIX .NET framework selection (f38716d)
  • Default to C# latest on UWP app solution template (ad708aa)
  • WASM: NativeOrientation property support (83382c3)
  • Add documentation for LightSensor (9cf7986)
  • Add UI Test template for VSIX (7ca050b)
  • Aligned icon font (c412d01)
  • Automatic docs spell-checking and associated fixes (1ba4d9a)
  • Build for wasm/skia net7 (7e899a2)
  • CallLog implementation for Android (023a029)
  • ElevatedView unification on Android (ccf296c)
  • ElevatedView WASM unification (ebed703)
  • Port ColorPicker.Orientation feature from WinUI (738facc)
  • Support for SelectionHihglightColor on Skia (890f2d4)
  • Support for SVG rasterization (c8bce1c)
  • Support scaled logo asset as icon on Skia (e3aa7fb)
  • SVG rendering on iOS and macOS (3610d08)
  • SVG support on Android (82c0ccc)
  • SVG vector rendering on on Skia (bb941b7)
  • hosting: Add support for ASP.NET Core hosted WebAssembly app (ca382fc)
  • TextBox: Android selection and placeholder color (14854a7)
  • TextBox: iOS selection and placeholder color (e1494e2)
  • TextBox: WASM selection and placeholder color (3d07dba)
  • WASM: Support setting the screen orientation (43bed26)
  • xbind: Add pathless casting support (21f12bc)
  • xBind: Add attached properties path support (290a52c)
  • Mark SelectionHighlightColor implemented on PasswordBox (9bad3e0)
  • Support for CoreApplication.Exit and Exiting (dfbaf17)
  • XamlSourceGenerator tracing (aaa3a41)
  • xamlreader: Support CustomResource (c9d011c)

Bug Fixes

  • MenuBarItem: Removed invalid cast (4370f0f)
  • add markdown code fence by request (0c09220)
  • Adjust image scale logic to fallback to higher DPIs if lower not available (88af9bc)
  • Ensure proper error reporting when a WinAppSDK project references Uno (d92eb5f)
  • Ensure reusability of ImageSource (6b08dd7)
  • Ensure ShowAsync returns if popup is forcibly closed (368f496)
  • Ensure Xamarin.iOS target is deployable when Mac Host is connected (fce6773)
  • Hide invalid HTML img elements (e8547ec)
  • Make horizontal scrolling in RefreshContainer on Android more reliable (1774a3a)
  • Nullable build errors on iOS (bd336e7)
  • Reference Bootstrap.Server package for Server project (0297d51)
  • remove unnecessary inline code snippet (e9a7389)
  • slnf referencing non-existing project (7cb2be0)
  • BindableTypeProvidersGenerator: Generate suppressions (67dbdba)
  • ContentDialog: Handle back button being pressed (17633b7)
  • DependencyObjectGenerator: Handle nested classes properly (d0b2734)
  • dotnetnew: Align WinUI templates to use the same as the VSIX (079b755)
  • dotnetnew: Ensure Wasm and Skia runtime libraries are using the same name (2bedb82)
  • localization: Fix type conversion on attached property implicit localization (67b7e91)
  • logger: Ensure thread safety of LoggerFactory (6b563a6)
  • SamplesApp: Favorites list loading (419483a)
  • wasm: Adjust TS compiler dependency on CompileTypeScriptWithTSConfig (ab0e1d8)
  • XamlGen: Handle base type not specified in code-behind (8af10a0)
  • xBind: Adjust FallbackValue behavior to explicitly support setting null to the target (c1f8c19)
  • Avoid null-ref, fallback to VisibleBounds is XamlRoot is null (b4ac3eb)
  • Ensure Window.Current is set when Window is newed up (f3b9235)
  • Update nuget.config for solution templates (81591eb)
  • Wrong sample-code for Sharing stuff (01b3a96), closes #490
  • gen: Report error diagnostic on SnapShotTestGenerator exceptions (4a0580d)
  • ios: nested page's CommandBar desync when returning from controller (2aa5f13)
  • Adjust for net6/7 debugging in VS 2022 17.4 Preview 1 (49f43f1)
  • Avoid WebKit autofill highlighting (56e2c69)
  • Ensure PermissionsHelper does not crash with multiple subsequent requests (bac7024)
  • Foreground on multi-line GTK input (ae7bc0f)
  • invalid xml syntax in crosstargeting_override.props.sample (3313fe3)
  • Parse cultures from last to first (15549d5)
  • iOS: ListView empty items when scrolling (3dbf531)
  • StorageFile: StorageFile return path without content provider (98ede47)
  • VisibleBoundsPadding: Ensure the proper root is used to compute relative bounds (1787456)
  • Remove WPF issue #6792 workaround (0ed43a0)
  • fluent: Adjust ToggleButton invalid visual state (5bee1f4)
  • skia: Ensure that visuals rendering happens in the correct order (6bc192e)
  • Avoid build error due to Append(string) (9fce409)
  • Ensure CurrentUICulture is not set to invariant culture in Skia (0a65bed)
  • Fix infinite recursion in CalendarView (21a86de)
  • TextBox.Foreground setting on Skia GTK (9b49305)
  • gtk: Align validation surface to the OpenGLRender surface version (c62d6b7)
  • vsix: Adjust net6 templates to avoid defining default RuntimeIdentifier (62444fc)
  • Adjust DataContext propagation to ToolTip (f4d3264)
  • Avoid throwing in DependencyObjectGenerator when using Roslyn (5a38c9e)
  • Don't use static storage for errors on invalid properties (0200ffe)
  • Properly scale shadow on Android (5c5f6b4)
  • gtk: Fallback on software rendering when GL Context is not available (9c2de10)
  • gtk: Pre-validate OpenGL support to avoid initializing on macOS (4a1b8ab)
  • gtk: Show an error message when GL_ARB_vertex_array_object is not available (3e7c6ef)
  • NativeFramePresenter: Create Page instances at time of insertion into the Frame.BackStack (dd618c6)
  • vsix: vsix framebuffer template missing namespaces (f91738a)
  • Wasm: Fix BorderRadius not rendering properly when it's greater than half of width or height (5c2458c)
  • xaml: binding option value type being ignored (89cc6e6)
  • xamlreader: Providing an empty to a .Resources element in XAML were crashing the XamlReader with a NullRef exception. (56cf21a)
  • Adjust vsmac solution filter to include the mobile head (0b4717a)
  • Attempt to fix PasswordBox on WPF (6d3758a)
  • Don't run linker hints tasks in process, don't run on design-time or skipped builds (ae9dae8)
  • Generated javascript content is not embedded at the right place (9e81728)
  • Quit app correctly on GTK (15572f3), closes #9994
  • RefreshContainer content arrange (e7615f3)
  • remove vs17 specific use of [MSBuild]::VersionGreaterThan (5304555)
  • Gtk: Match TextBox caret color with foreground color (aa7e589)
  • Warnings NU1504 The duplicate 'PackageReference' items are: Xamarin.Build.Download 0.11.3 (ef9d8fb)
  • Wasm: Fix DoubleTapped not firing with touch (f64ec9f)

Performance Improvements

  • Avoid unnecessary SetStyle call for TextBox (ee371ac)

  • Avoid unnecessary reloads for same SVG source on Skia (60e1803)

  • Cache GetScaledPath results to avoid repeated querying for identical images (1008432)

  • Cache resource keys of resw (2befbd7)

  • Cache XAML parsing (67d6e9c)

  • Don't copy roslyn binaries to the output to enable VBCSCompiler hosted builds (fa4d988)

  • Enable CA1815 (override Equals on value types) (4ec5891)

  • Enable Roslyn-based generators for internal Uno-Skia build (737940d)

  • Enhance lookups in FindSubElementByName (fcc798c)

  • Improve ILLink.Substitutions.xml merge speed in specific scenarios (dca516d)

  • Improve performance (e43443c)

  • Make SamplesListGenerator an incremental generator (d2e71c5)

  • Misc performance improvements for generators (d0ce901)

  • Move DependencyPropertyGenerator to be incremental (ca23880)

  • Reduce memory allocations when parsing XAML files (3f9738e)

  • Reduce string allocations in GetFullMetadataNameForFileName (0997264)

  • Remove resource files generation from library builds (7302413)

  • Separate internal generators into own project (0fb85ec)

  • Set selection highlight as a single operation (9b648af)

  • Use GetXXWithName for members lookups (1ca05f4)

  • Use hash set for resource key lookup (dd578cf)

  • feat!: Add Android SDK 13.0 support, remove Android SDK 11.0 (199190a)

BREAKING CHANGES

  • BaseActivity.PrepareOptionsPanel is now removed as support has been removed by Android. Use PreparePanel instead.