Skip to content

v12.0.0: Popup V2 is here!

Latest
Compare
Choose a tag to compare
@jfversluis jfversluis released this 10 Jun 08:38
· 10 commits to main since this release

An all new implementation of Popups! We complete wrote Popup from the ground up so that it is now more stable and easier to work with than ever.

If you're migrating, be sure to check out our Popup v2 Migration Guide, along with the updated Popup documentation:

Breaking Changes

  • CommunityToolkit.Maui
    • Popup.Anchor feature removed
  • CommunityToolkit.Maui.Camera
    • Updated Namespaces
    • Refactored the following methods in CameraView:
      ValueTask CaptureImage(CancellationToken);
      Task StartCameraPreview(CancellationToken);
      void StopCameraPreview();

Requirements

The following tools are now required for CommunityToolkit.Maui:

  • Download/install .NET SDK v9.0.300
  • Install Xcode 16.2.0 (or higher)
    • Read the latest .NET MAUI Release wiki to always find the latest-supported version) of Xcode for .NET MAUI
    • We HIGHLY recommend using the open-source tool Xcodes to easily manage your installed Xcode versions
  • Update to the latest stable version of Visual Studio (or Jet Brains Rider)
  • After installing the latest stable .NET SDK, update to the latest stable version of the .NET MAUI workload:
    • On macOS, open the Terminal and enter the following command: sudo dotnet workload install maui; sudo dotnet workload update
    • On Windows, open the command prompt (or Powershell) and enter the following command: dotnet workload install maui && dotnet workload update
  • Add a global.json file to your application with the following parameters to ensure you're not using a unsupported preview version of .NET (example below)
    • The .NET MAUI Community Toolkit does not support preview releases of .NET

global.json

{
  "sdk": {
    "version": "9.0.300", 
    "rollForward": "latestFeature",
    "allowPrerelease": false
  }
}

What's Changed

  • Popup V2 by @bijington in #1581
  • Fix: Animation behavior TapGestureRecognizer by @IeuanWalker in #2567
  • Move UseMicrosoftTestingPlatformRunner to Directory.Build.props by @Youssef1313 in #2619
  • Add <InternalsVisibleTo Include="CommunityToolkit.Maui"/> to CommunityToolkit.Maui.Core.csproj by @TheCodeTraveler in #2628
  • Add Android TextureView by @jonmdev in #2540
  • [Android] TouchBehavior prevents keyboard Tab navigation to next element - fix by @kubaflo in #2673
  • Fix RS1038 Warning: Compiler extensions should be implemented in assemblies with compiler-provided references by @TheCodeTraveler in #2676
  • Return IPopupResult from PopupExtensions.ClosePopupAsync() by @TheCodeTraveler in #2677
  • Fix issue with tint not applying to loaded images by @myix765 in #2077
  • BUG FIX: adding count check for navigation stack before getting last item, adding check for mainpage as current page as additional failover. by @nixkuroi in #2379
  • Pin WindowsSdkPackageVersion by @jfversluis in #2613
  • Update AppThemeResourceExtension to not use IProvideParentValues by @jfversluis in #2639

Housekeeping

New Contributors

Full Changelog: 11.2.0...12.0.0