From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id 0F2841FF0B7 for ; Fri, 30 Oct 2026 13:07:09 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 65F5F21694; Fri, 30 Oct 2026 13:06:32 +0100 (CET) From: Shan Shaji To: pve-devel@lists.proxmox.com Subject: [PATCH proxmox{_login_manager,_dart_api_client}/pve_flutter_frontend 0/9] chore: bump flutter version to v3.47 Date: Fri, 30 Oct 2026 13:06:08 +0100 Message-ID: <20261030120617.56692-1-s.shaji@proxmox.com> X-Mailer: git-send-email 2.50.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1793361983717 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.362 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) KAM_SHORT 0.001 Use of a URL Shortener for very short URL RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: COUSANMDCSDJP3JYKDPX4MWH4R6VUSYS X-Message-ID-Hash: COUSANMDCSDJP3JYKDPX4MWH4R6VUSYS X-MailFrom: s.shaji@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Upgrade Flutter to the latest stable release What's new: https://flutter.dev/blog/whats-new-in-flutter-3-47 breaking changes: https://docs.flutter.dev/release/breaking-changes#released-in-flutter-3-47 * The decoupled material_ui and cupertino_ui packages have officially reached v1.0 on pub.dev. We can opt-in to the decoupled design system by running the following command: `dart fix --apply --code=migrate_design_widgets` Running this updates the imports across all files. Since this results in too many file changes, it will be sent as a separate patch. * Another notable change is the migration to built-in Kotlin support. Starting from AGP 9.0, built-in Kotlin support is enabled unless explicitly opted out. Flutter suggests migrating apps to AGP 9 and enabling built-in Kotlin support. However, flutter_inappwebview [1] and biometric_storage [2] do not yet have stable releases with these migration changes (only pre-release versions are available). Additionally, cupertino_http has not yet migrated and lacks stable or pre-release versions. I have created a PR to remove the explicit apply of KGP [3] upstream, but have not received feedback yet. Theoretically, we could upgrade AGP to 9.0 and perform the migration mentioned in [0], because the Flutter Gradle Plugin applies KGP if `android.BuiltinKotlin` is false and no KGP application is found [4]. However, other changes in AGP 9 breaks the build due to legacy APIs in flutter_inappwebview and biometric_storage. Because of this, I am not migrating the Gradle file, AGP, or Kotlin versions yet. I will migrate the .gradle file and update the plugins in a separate series once stable releases are available, or adopt pre-release versions if Flutter drops support for opt-in flags (which will likely only happen by the Flutter v3.50 release [5]). * Another change involves migrating to the Swift Package Manager instead of CocoaPods, as CocoaPods is now in maintenance mode [6]. cupertino_http [7] has already migrated to SwiftPM, but it was released as a major version bump, so upgrading it will be handled in a separate patch. Similarly, flutter_inappwebview and biometric_storage have pre-release versions with SwiftPM support, but avoiding them for now as these releases includes other changes which requires it's own testing. This is safe to do because Flutter falls back to CocoaPods for any plugins that do not yet support SwiftPM [7]. - [0] https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-app-developers - [1] https://pub.dev/packages/flutter_inappwebview/versions/6.2.0-beta.3/changelog#620-beta3 - [2] https://pub.dev/packages/biometric_storage/versions/6.0.0-dev.7/changelog#600-dev1 - [3] https://github.com/dart-lang/http/pull/2042 - [4] https://docs.google.com/document/d/1iAMVVvsHqs130hc3-49sstv7n63TgM5aUd-cqAGWHfc/edit?pli=1&tab=t.0#heading=h.4cojipea00cf - [5] https://github.com/flutter/flutter/issues/189235 - [6] https://blog.cocoapods.org/CocoaPods-Support-Plans/ - [7] https://docs.flutter.dev/packages-and-plugins/swift-package-manager/for-app-developers#how-to-turn-on-swift-package-manager pve_flutter_frontend: Shan Shaji (7): chore: ios: add SwiftPM support chore: update Gradle, AGP and Kotlin versions chore: add opt-out flags for built-in Kotlin and Gradle Kotlin DSL chore: include non-Dart files to analyzers's exclude directive chore: run `flutter pub upgrade` with flutter (v3.47) chore: use caret syntax instead of any for shared_preferences plugin chore: bump minimum supported OS version to 15 analysis_options.yaml | 9 + android/gradle.properties | 4 + .../gradle/wrapper/gradle-wrapper.properties | 2 +- android/settings.gradle | 4 +- ios/Podfile | 2 +- ios/Podfile.lock | 17 +- ios/Runner.xcodeproj/project.pbxproj | 28 +- .../xcshareddata/xcschemes/Runner.xcscheme | 18 ++ pubspec.lock | 256 +++++++++--------- pubspec.yaml | 2 +- 10 files changed, 195 insertions(+), 147 deletions(-) proxmox_login_manager: Shan Shaji (1): chore: run flutter pub upgrade analysis_options.yaml | 3 + pubspec.lock | 216 ++++++++++++++++++++++-------------------- 2 files changed, 115 insertions(+), 104 deletions(-) proxmox_dart_api_client: Shan Shaji (1): chore: run flutter pub upgrade pubspec.lock | 190 +++++++++++++++++++++++++++++---------------------- 1 file changed, 107 insertions(+), 83 deletions(-) Summary over all repositories: 13 files changed, 417 insertions(+), 334 deletions(-) -- Generated by git-murpp 0.8.1