From 48f4f4989480219a4374db93a171c3bb75b2db4a Mon Sep 17 00:00:00 2001 From: Tymofiy Bortnyk Date: Mon, 29 Jun 2026 14:46:03 +0300 Subject: [PATCH] build: bump Flutter 3.44.1 -> 3.44.4 Patch bump within the 3.44 minor, so no KGP / built-in-Kotlin risk (that behavior changes across minors, not patches). Verified green: make analyze clean, dart + kotlin tests pass, debug APK builds with only the expected benign "KGP not found on the classpath" warning. Picks up the .2/.3/.4 hotfixes; the app-relevant ones are the Android edge-to-edge system-bars visibility fix (3.44.2) and the GLES texture-destroy crash fix (3.44.3). Dependencies unchanged: all outdated packages are SDK-pinned, so `flutter pub upgrade` is a no-op. - Bump flutter-version 3.44.1 -> 3.44.4 in all 4 CI workflows - Update version references in CLAUDE.md Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/codeql-default.yml | 2 +- .github/workflows/e2e.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 2 +- CLAUDE.md | 12 ++++++------ 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/codeql-default.yml b/.github/workflows/codeql-default.yml index 6f9a45c..fac4dc9 100644 --- a/.github/workflows/codeql-default.yml +++ b/.github/workflows/codeql-default.yml @@ -39,7 +39,7 @@ jobs: uses: subosito/flutter-action@v2 with: channel: 'stable' - flutter-version: '3.44.1' + flutter-version: '3.44.4' cache: true - name: Cache Gradle dependencies diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 6afdf1d..0029bae 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -37,7 +37,7 @@ jobs: uses: subosito/flutter-action@v2 with: channel: 'stable' - flutter-version: '3.44.1' + flutter-version: '3.44.4' cache: true - name: Install Flutter dependencies run: flutter pub get diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 66676bc..0774c0e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: uses: subosito/flutter-action@v2 with: channel: 'stable' - flutter-version: '3.44.1' + flutter-version: '3.44.4' cache: true - name: Install dependencies diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b5a9e7b..71e5788 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -47,7 +47,7 @@ jobs: uses: subosito/flutter-action@v2 with: channel: 'stable' - flutter-version: '3.44.1' + flutter-version: '3.44.4' cache: true - name: Cache Gradle dependencies diff --git a/CLAUDE.md b/CLAUDE.md index 9186f28..a5f880e 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -17,7 +17,7 @@ This file provides context for AI assistants working on this project. | Aspect | Value | |--------|-------| -| Framework | Flutter 3.44.1 (pinned — see "Before Coding") | +| Framework | Flutter 3.44.4 (pinned — see "Before Coding") | | Android SDK | minSdk 30 (Android 11), target 36 — do NOT lower minSdk, see Gotcha #9 | | Weather API | Open-Meteo (free, no key) | | Charting | Native SVG (SvgChartGenerator.kt + AndroidSVG) | @@ -150,17 +150,17 @@ build. The project therefore has **zero Flutter plugins with native code** (`GeneratedPluginRegistrant` is empty): `home_widget` and `geolocator` were both removed in favour of native implementations (`WidgetStore`/`LocationProvider` over the method channel). -**With no KGP plugin present, Flutter 3.44.1 builds clean** (unpinned from 3.41.7 to 3.44.0 -2026-05; bumped to the 3.44.1 patch 2026-06). Flutter 3.44.1 still *tries* to force-apply +**With no KGP plugin present, Flutter 3.44.4 builds clean** (unpinned from 3.41.7 to 3.44.0 +2026-05; bumped to the 3.44.1 then 3.44.4 patch 2026-06). Flutter 3.44.4 still *tries* to force-apply `kotlin-android` to `:app` and logs a benign warning — `Applying the Kotlin Android Plugin (KGP) was unsuccessful. KGP was not found on the classpath.` — but the apply is caught (`FlutterPluginUtils.kt:633`) and the build succeeds. That one warning line is expected; ignore it (Flutter plans to drop the force-apply, flutter/flutter#184837). -- **Before coding, check the toolchain & deps.** Confirm `flutter --version` is **3.44.1** (the +- **Before coding, check the toolchain & deps.** Confirm `flutter --version` is **3.44.4** (the pinned version — don't unintentionally build on another); run `flutter pub outdated` to review - dependency updates and note any Flutter release past 3.44.1. Treat **any** Flutter or dependency + dependency updates and note any Flutter release past 3.44.4. Treat **any** Flutter or dependency bump as a *deliberate, verified* change — it can re-break the built-in-Kotlin setup (see history below) — not a casual upgrade. - **CRITICAL:** do **not** add any Flutter plugin that applies KGP (most native plugins do) — it @@ -168,7 +168,7 @@ flutter/flutter#184837). channel, or a plugin version that supports built-in Kotlin. If a KGP plugin is unavoidable, you must switch to the legacy path: `android.builtInKotlin=false` + re-add `id("kotlin-android")` to `app/build.gradle.kts` (KGP is already declared `apply false` in `settings.gradle.kts`). -- **CI:** `flutter-version: '3.44.1'` in `.github/workflows/`. +- **CI:** `flutter-version: '3.44.4'` in `.github/workflows/`. - **Verify after any toolchain/plugin change:** `make analyze` + `make test` + a debug build. After switching the local Flutter SDK version, run `flutter clean` first (stale kernel caches from a different Dart version cause spurious `dot-shorthands` framework-compile errors).