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