Release 9.4.0
This version requires you to update your Apple workloads to 18.5.xxxx and Android to 35.x.x. You can check with dotnet workload list and you would see something like:
Workload version: 9.0.303
Installed Workload Id Manifest Version Installation Source
---------------------------------------------------------------------
android 35.0.78/9.0.100 SDK 9.0.300
ios 18.5.9207/9.0.100 SDK 9.0.300
maccatalyst 18.5.9207/9.0.100 SDK 9.0.300
macos 15.5.9207/9.0.100 SDK 9.0.300
tvos 18.5.9207/9.0.100 SDK 9.0.300
You can use dotnet workload install android ios maccatalyst macos tvos --version 9.0.303 to update your workloads, where 9.0.303 is the version of .NET SDK you have installed. We recommend 9.0.303 or higher.
What's Changed
The highlights for MvvmCross 9.4 are:
- Support for SceneDelegate on iOS. For now the implementation out of the box only supports single window Apps just like before with AppDelegate. You can refer to MvvmCross SceneDelegate documentation for more information
- Fixed console bits were missing from .NET 9.0 targets
- Contributions from @snechaev to support empty selection in MvxTableViewSource for macOS targets and keeping strong references to NSWindowControllers
- Added better support for saving and restoring Fragment state on Android contributed by @entdark
- Added MvxCollectionViewListCell for tvOS and iOS platforms by @Digifais
Also a few minor changes such as:
- Updates to signing infrastructure provided by .NET Foundation to use Azure Key Vault and new signing tool
- Added Software Bill of Material (SBOM) for NuGet packages such that the packages can be verified by consumers and check all their dependencies
- Switching builds to Cake Frosting
- Switching Git Version tooling to use NerdBank.GitVersioning
- Switching to NSubstitute in favor of Moq
Since the Git Versioning tooling has been updated, the versioning for packages from the develop branch will be slightly different. Instead of using Git Version hight like: 9.5.0-alpha.12, where 12 is the commit height on the branch. The new versioning scheme will use the commit SHA instead like: 9.5.0-alpha-g6071f47cef.
Many thanks to the new and recurring contributors on the project. All your contributions are much appreciated.
Breaking Changes π
- Added MvxSceneDelegate for iOS SceneDelegate support by @Cheesebaron in https://github.com/MvvmCross/MvvmCross/pull/4893
- Added saving and restoring fragments info for ViewPager fragments: by @entdark in https://github.com/MvvmCross/MvvmCross/pull/4896
iOS
IMvxIosSetup PlatformInitialize methods no longer use IMvxApplicationDelegate but rather IMvxLifecycle
- void PlatformInitialize(IMvxApplicationDelegate applicationDelegate, UIWindow window);
- void PlatformInitialize(IMvxApplicationDelegate applicationDelegate, IMvxIosViewPresenter presenter);
+ void PlatformInitialize(IMvxLifetime lifetimeInstance, UIWindow window);
+ void PlatformInitialize(IMvxLifetime lifetimeInstance, IMvxIosViewPresenter presenter);
Android
MvxCachingFragmentStatePagerAdapter no longer requires Context as first argument in the ctor
- public MvxCachingFragmentStatePagerAdapter(Context context, FragmentManager fragmentManager, List<MvxViewPagerFragmentInfo> fragmentsInfo)
+ public MvxCachingFragmentStatePagerAdapter(FragmentManager fragmentManager, List<MvxViewPagerFragmentInfo> fragmentsInfo)
New Features π
- Update NuGet dependencies and .NET by @Cheesebaron in https://github.com/MvvmCross/MvvmCross/pull/4915
- Switch to Cake frosting + NerdBank.GitVersioning for builds by @Cheesebaron in https://github.com/MvvmCross/MvvmCross/pull/4916
Fixed Bugs π
- Add Console platform to .NET 9.0 TFM by @Cheesebaron in https://github.com/MvvmCross/MvvmCross/pull/4892
Other Changes π±
- Switch to NSubstitute in favor of Moq by @Cheesebaron in https://github.com/MvvmCross/MvvmCross/pull/4884
- Update CODE_OF_CONDUCT.md by @Cheesebaron in https://github.com/MvvmCross/MvvmCross/pull/4885
- Update Directory.Build.props by @Cheesebaron in https://github.com/MvvmCross/MvvmCross/pull/4886
- Cleanup sln items by @Cheesebaron in https://github.com/MvvmCross/MvvmCross/pull/4887
- Add NuGet package SBOM and attestation by @Cheesebaron in https://github.com/MvvmCross/MvvmCross/pull/4894
- Update .NET tools by @Cheesebaron in https://github.com/MvvmCross/MvvmCross/pull/4895
- fixed misspelled minimum macOS version project property by @snechaev in https://github.com/MvvmCross/MvvmCross/pull/4900
- Switch to new sign tool by @Cheesebaron in https://github.com/MvvmCross/MvvmCross/pull/4904
- Mvvmcross overview docs update by @ardelean94 in https://github.com/MvvmCross/MvvmCross/pull/4905
- Update to .NET 9.0.301 version in CI by @Cheesebaron in https://github.com/MvvmCross/MvvmCross/pull/4906
- Introduce MvxCollectionViewListCell in Tvos and Ios platforms by @Digifais in https://github.com/MvvmCross/MvvmCross/pull/4907
- Handle empty selection in the MvxTableViewSource. Fixes #4897 by @snechaev in https://github.com/MvvmCross/MvvmCross/pull/4901
- Keep the (conditional) strong reference to the NSWindowController. Th⦠by @snechaev in https://github.com/MvvmCross/MvvmCross/pull/4910
- Fix NSTextView binding (for text content). Fixes #4909. by @snechaev in https://github.com/MvvmCross/MvvmCross/pull/4912
New Contributors
- @ardelean94 made their first contribution in https://github.com/MvvmCross/MvvmCross/pull/4905
Full Changelog: https://github.com/MvvmCross/MvvmCross/compare/9.3.1...9.4.0