9.0.0-preview.7.24407.4
Pre-release
Pre-release
Get Started
For development on Windows, install the latest .NET MAUI workload with Visual Studio 17.12 Preview 1.
For development on Windows or Mac, install the .NET MAUI extension in VS Code and install the latest workload from the standalone installer using the dotnet workload install maui
command.
What's Changed
MAUI Product Fixes
- Wire RefreshView up to our xplat layout workflow (#23169) by @PureWeen in #23218
- [Windows] FilePicker picking multiple files is very slow because of
FutureAccessList
use by @MartyIX in #23047 - Call base.OnResume if Existing NavigationFragment Early by @PureWeen in #23187
- [Android] Fix flyout behaviour switching exception by @imuller in #22453
- [main] Null terminate iOS TabbedRenderer by @github-actions in #23290
- [Windows] Improve performance in accessibility extensions by @MartyIX in #22698
- [Android] Avoid double event subscribes in gesture manager by @Redth in #23242
- [net9.0] Null terminate iOS TabbedRenderer by @github-actions in #23335
- Bump
Microsoft.Web.WebView2
from1.0.2151.40
to1.0.2592.51
by @MartyIX in #23209 - Obsolete Frame for NET9 in favor of Border by @PureWeen in #23184
- Simplify
NavigationRootManager.Connect
on the Windows platform. by @Takym in #23345 - [Windows] Make sure that
FileSystem.Current.AppDataDirectory
folder exists in unpackaged by @MartyIX in #23265 - Enable RefreshView Tests by @PureWeen in #23181
- [Binding SG] Split bindings source generated code into multiple files by @jkurdek in #23116
- [windows] fix memory leak in
TabbedPage
by @jonathanpeppers in #23281 - Add Apple Privacy Manifest to new project template by @jfversluis in #21350
- [Windows] Fix horizontal scroll not working w/ CollectionView by @Foda in #23188
- [Android] InputTransparent="true" on a Layout breaks child controls - Fix by @kubaflo in #22345
Element
: NRE by accessingRealParent
- fix by @MartyIX in #23405- Android: Ensure fragment has not been disposed while updating left bar button by @albyrock87 in #23416
- If PlatformView has been removed use index by @PureWeen in #23408
- [windows] fix memory leak in
MauiWinUIWindow
by @jonathanpeppers in #23327 - [Mac] Remove newly added RefreshView test by @PureWeen in #23457
- Fixing regression in Picker behavior in 8.0.60 by @BurningLights in #23369
- Fixes #18204 border lagging behind content on iOS and improves initial render performance by @albyrock87 in #23156
- Revert "If PlatformView has been removed use index" by @PureWeen in #23459
- [iOS] Crash upon resuming the app - fix by @kubaflo in #23360
- Shell BackButtonBehavior improvement by @kubaflo in #23466
- Move PopLifeCycle to device tests by @PureWeen in #23468
- Add MauiUIApplicationDelegate remote notification methods by @mikeparker104 in #23452
- [Windows] Respect
ClearButtonVisibility = ClearButtonVisibility.Never
for<Entry>
s by @MartyIX in #23158 - Support the new RIDs on WinUI by @mattleibow in #23247
- [windows] fix VisualDiagnosticsOverlay keeping Page's alive by @jonathanpeppers in #23489
- [android]: ModalContainer Destroy commit allowing state loss by @rs-lkroneman in #23400
- Remove mobile test from running on desktop by @PureWeen in #23550
- use MathF where possible by @symbiogenesis in #19965
- [windows] fix memory leak in WebView by @jonathanpeppers in #23540
- Don't throw exceptions on back-to-back window deactivations by @Foda in #23519
- [iOS] Read only Editor is editable when Next from on screen keyboard by @kubaflo in #22501
- Make sure resizetized image files are writable by @dellis1972 in #23412
- Add missing ctor overloads to MaterialButton by @pictos in #23517
- Fix a few more template ampersand cases by @Eilon in #23592
- Make ampersands work more in net9-only blazor-solution template by @Eilon in #23589
- [XC] Compile "standalone" bindings by @simonrozsival in #22023
- [Binding SG] Add an API for creating instances of TypedBinding by @simonrozsival in #23239
- Fix menus to only create casting list once by @PureWeen in #23618
- [Android] Honor IconImageSource.FontImageSource color by @kubaflo in #23604
- [iOS] CarouselView: Changing Position after navigation away then comi… by @kubaflo in #23477
- [Core] Enforce CA1507 - use nameof() where possible by @symbiogenesis in #21962
- Re-enable GetServiceOrCreateInstance with Shell by @PureWeen in #23632
- Add empty (no sample content) option for Blazor Hybrid by @Eilon in #23615
- [Windows] Fix pull to refresh w/ horz item layouts by @Foda in #23547
- Detect MauiCALayer being rendered offscreen by @albyrock87 in #23648
- Hide FlyoutIcon when FlyoutBehavior set to disabled by @kubaflo in #20087
- do not apply Bindings if DataType doesnt match by @StephaneDelcroix in #22056
- HybridWebView control for integrating JS/HTML/CSS easily into a .NET MAUI app by @Eilon in #22880
- [Binding SG] Add warning when referencing results of other source generators by @jkurdek in #23646
- [windows] Fix Updating the initial position by @rmarinho in #23709
- [Windows] Fix CollectionView DisconnectHandler SelectionMode Crash by @Foda in #23726
- Use UIView.Window instead of the global window by @mattleibow in #23693
- HybridWebView: Remove unneeded DefaultFile / HybridRoot handler properties by @Eilon in #23730
- [Windows] Subscribe pointer events only when needed by @MartyIX in #23515
- Do not solely make Visual Diagnostics available on debugger being attached by @chabiss in #23490
- [core] Fix tests when converting with PT Locale by @rmarinho in #23764
- Obsolete setting mainpage via application by @PureWeen in #23692
- Obsolete compatibility layout by @PureWeen in #23710
- [Windows] Upgrade Windows App SDK from 1.5.4 to 1.5.5 by @MartyIX in #23750
- Bring back ResourceDictionary.SetAndLoadSource by @simonrozsival in #23683
- [Binding SG] Dogfood binding source generator in the MAUI codebase by @simonrozsival in #23393
- [android] update AOT profile for servicing by @jonathanpeppers in #23765
- Stop using
IPlatformSizeService
by @mattleibow in #23725 - [Accessibility] Add accessibility label to the menu button by @tj-devel709 in #23762
- [net9.0] Delete obsolete Mappers by @rmarinho in #23712
IWindow.Content
can be null in Core by @mattleibow in #23775- [Windows] Add TitleBar Control by @Foda in #23019
- Use DialogFragment for Android modals by @pictos in #22869
- Bump previous MAUI version to current release version by @PureWeen in #23818
- Add HandlerProperties.DisconnectPolicy for controlling when DisconnectHandler is called by @PureWeen in #23738
- [msbuild] Fix BundleResource defaults for iOS and MacCatalyst by @dalexsoto in #23835
- [net9] BackButtonBehavior enhancement - Changed IsVisible & IsEnabled BindingMode to OneWay by @kubaflo in #23467
- Revert "[Windows] Add TitleBar Control" by @mattleibow in #23844
- [net9.0] [Windows] Add TitleBar Control by @mattleibow in #23845
- dismiss the modal when IsAnimated is set to false by @pictos in #23879
- Added ProcessTerminated event to WebView by @jsuarezruiz in #20059
- Make IWindow.Content nullable by @mattleibow in #23785
- Generate the Android 7 round app icon by @mattleibow in #23276
- Fire UpdateValue after all propertychange events by @PureWeen in #23746
- Expose the embedding API by @mattleibow in #23887
- Fix MauiEmbeddingPlatforms Targets by @PureWeen in #23904
- Fix BlazorWebView on iOS/MacCatalyst 18 by @Eilon in #23906
- Fix MauiEmbeddingPlatforms Targets by @PureWeen in #23905
- [Binding SG] Add inaccessible member access and not-static lambdas diagnostics by @jkurdek in #23671
- When swapping out ShellItems clear services by @PureWeen in #23863
- [release/9.0.1xx-preview7] [android] update AOT profile for .NET 9 Preview 7 by @github-actions in #23941
- [android] update AOT profile for .NET 9 Preview 7 by @jonathanpeppers in #23927
- Obsolete legacy measure calls by @PureWeen in #23899
- [release/9.0.1xx-preview7] Obsolete legacy measure calls by @github-actions in #23948
- [iOS/MacCatalyst] CollectionViewHandler2 with compositional layout API's by @Redth in #23928
- [net9.0] Add
Window.Activate()
by @MartyIX in #23873 - Call correct Arrange logic from VE.Arrange by @PureWeen in #23997
- Fix transparent default modal background by @PureWeen in #23985
- [release/9.0.1xx-preview7] Remove the 'Resources' prefix from BundleResource by @github-actions in #24024
Docs
- Simplify Development.md by @PureWeen in #23142
- [Docs] Added pending inline comments to Page class by @jsuarezruiz in #20933
Tests
- Move tests to new location by @PureWeen in #23251
- Split SingleProject targets by @jfversluis in #23269
- [tests] test a lot more things in
MemoryTests.cs
by @jonathanpeppers in #23324 - [net9.0] Bump Appium version to 2.11 by @github-actions in #23338
- Bump Appium version to 2.11 by @PureWeen in #23337
- Bump Appium Drivers by @PureWeen in #23349
- [tests] Analyzer / code fix provider for UITest [Test] without [Category] by @Redth in #23287
- Add missing UI Test category to fix main build by @jfversluis in #23428
- Add Flaky UI Test category by @jfversluis in #23432
- Add UITest.Analyzers to VS Code Solution by @jfversluis in #23433
- Run UI tests per groups of categories in CI by @jfversluis in #22609
- Added missing ui test categories by @kubaflo in #23464
- [tests] Fix iOS screenshot for sonoma by @rmarinho in #23667
- Increase iOS Device Test Time out to 90 by @PureWeen in #23768
- Move WebViewDidNotLeak to UITest by @PureWeen in #23784
Dependency Updates
- Bump to 8.0.80 by @PureWeen in #23469
- [release/9.0.1xx-preview6] Update versions preview6 public by @rmarinho in #23520
- [net9.0] Update versions preview6 (#23520) by @rmarinho in #23532
- [net9.0] Update to preview7 versions by @rmarinho in #23544
- [net9.0] Update dependencies from dotnet/aspnetcore by @dotnet-maestro in #23553
- [net9.0] Update dependencies from dotnet/aspnetcore by @dotnet-maestro in #23587
- Android ecosystem updates 20240618 based on net9.0 branch by @moljac in #23271
- [net9.0] Update dependencies from dotnet/android by @dotnet-maestro in #23694
- [main] Update dependencies from dotnet/xharness by @dotnet-maestro in #23216
- Update arcade net8 by @rmarinho in #23913
- [net9.0] Update arcade net9 by @rmarinho in #23914
- [release/9.0.1xx-preview7] Bump to latest 8.0.1xx-sr7 by @dalexsoto in #23947
- [release/9.0.1xx-preview7] Update versions for iOS and sdk by @rmarinho in #23977
- Update Preview7 to .NET MAUI 8.0.72 by @PureWeen in #24042
- [release/9.0.1xx-preview7] Bump macios to latest by @dalexsoto in #24026
Housekeeping
- VSCode no longer uses MAUI to launch by @mattleibow in #23222
- Renamed the project because macOS uses .app by @mattleibow in #23223
- Update bug-report.yml with 8.0.61 by @PureWeen in #23273
- Do not include Maui.InTree.targets for an AspNet.Core project by @simonrozsival in #23246
- [net9.0] Merge main into net9.0 by @PureWeen in #23328
- Revert "[net9.0] Merge main into net9.0" by @mattleibow in #23383
- [net9.0] Merge main into net9.0 by @mattleibow in #23384
- Add Additional Provisioning by @PureWeen in #23461
- Bump issue template to latest releases by @PureWeen in #23504
- [net9] Bring changes from p6 release branch back into net9.0 by @Redth in #23404
- Fix the batch file for running local dotnet on windows by @vitek-karas in #23541
- [net9.0] Merge main to net9 by @rmarinho in #23513
- [darc] Pin darc version as workaround by @rmarinho in #23584
- [net9.0] Merge main to net9.0 by @rmarinho in #23585
- Revert "[darc] Pin darc version as workaround (#23584)" by @rmarinho in #23636
- [CI] Bump xcode 15.4.0 by @rmarinho in #22611
- [net9.0] Merge main to net9.0 by @rmarinho in #23638
- [ci] Fix maestro publishing for stable packages by @pjcollins in #23664
- [ci] Fix maestro publishing for stable packages (#23664) by @rmarinho in #23681
- [net9.0] Comment out shell test by @rmarinho in #23676
- Add the embedding sample by @mattleibow in #23647
- Fix iOS log exports by @PureWeen in #23334
- [ci] Use drop service for SDK insertion artifacts by @pjcollins in #23658
- [ci] Update pool by @rmarinho in #23759
- Move the legacy layouts into the right folder by @mattleibow in #23766
- [ci] Add scheduled push to nightly feed job by @pjcollins in #23721
- [ci] Move to push nightly to a template by @rmarinho in #23811
- [net9.0] Merge main to net9 by @rmarinho in #23752
- Add embedding sample and code by @mattleibow in #23642
- [ci] Allow to set the agents for template build by @rmarinho in #23849
- Fixed a crash for the samples app [User interface concepts -> styles] by @kubaflo in #23852
- [net9.0] Comment more failing tests for shell on net9 by @rmarinho in #23859
- [net9.0] Merge main to net9.0 by @rmarinho in #23853
- NuGet auditing package dependencies for security vulnerabilities by @moljac in #23860
- [ci] Fix when pushing artifacts on uitests samples by @rmarinho in #23919
- [net9.0] Merge
main
intonet9.0
by @mattleibow in #23890 - [net9.0] Update preview7 packages by @rmarinho in #23809
- [net9.0] Revert arcade net9 by @rmarinho in #23931
- [9.0.1xx-preview7] Merge 9.0 into 9.0.1xx-preview7 by @PureWeen in #23957
New Contributors
@imuller made their first contribution in #22453
@Takym made their first contribution in #23345
@rs-lkroneman made their first contribution in #23400
Full Changelog: 9.0.0-preview.6.24327.7...9.0.0-preview.7.24406.13