Skip to content

Flutter 3.41#660

Merged
Rausterr merged 2 commits intomainfrom
update/flutter-3-41
Mar 13, 2026
Merged

Flutter 3.41#660
Rausterr merged 2 commits intomainfrom
update/flutter-3-41

Conversation

@Marc-Andrieu
Copy link
Member

@Marc-Andrieu Marc-Andrieu commented Mar 6, 2026

Description

Summary

Flutter 3.41 is out there.

(I'm going to need it for the new dev flag to disable cross-origin isolation in WASM builds.)
Anyway, I chose to bump the version here in a dedicated PR instead

  • for testing purposes (the app works just as before)
  • so no-one complains the PR does too much at a time

Changes Made

  • Fix two 3.38 deprecations
  • Bump Flutter version to 3.41.2 and get packages for new versions

Additional Notes

Classification

Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 🔨 Refactor (non-breaking change that neither fixes a bug nor adds a feature)
  • 🔧 Infra CI/CD (changes to configs of workflows)
  • 💥 BREAKING CHANGE (fix or feature that require a new minimal version of the front-end)
  • 😶‍🌫️ No impact for the end-users

Impact & Scope

  • Core functionality changes
  • Single module changes
  • Multiple modules changes
  • Other: Version bump

Testing

  • 1. Tested this locally
  • 2. Added/modified tests that pass the CI (or tested in a downstream fork)
  • 3. Tested in a local client using a pre-prod backend
  • 0. Untestable (exceptionally), will be tested in prod directly

Documentation

  • Updated the docs accordingly :
  • // Comments
  • No documentation needed

@Marc-Andrieu Marc-Andrieu self-assigned this Mar 6, 2026
@Marc-Andrieu Marc-Andrieu added ready for review This PR is ready to be reviewed dart Pull requests that update Dart code labels Mar 6, 2026
@codecov-commenter
Copy link

codecov-commenter commented Mar 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 50.88%. Comparing base (83633cb) to head (6916617).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #660   +/-   ##
=======================================
  Coverage   50.88%   50.88%           
=======================================
  Files         167      167           
  Lines        3797     3797           
=======================================
  Hits         1932     1932           
  Misses       1865     1865           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Marc-Andrieu Marc-Andrieu changed the title Update/flutter 3 41 Flutter 3.41 Mar 6, 2026
@Rausterr Rausterr merged commit 3831d73 into main Mar 13, 2026
5 checks passed
@Rausterr Rausterr deleted the update/flutter-3-41 branch March 13, 2026 17:11
Marc-Andrieu added a commit that referenced this pull request Mar 14, 2026
# Description

## Summary

<!--BRIEF description: DON'T EXPLAIN the code: JUSTIFY what this PR is
for!-->

The current index.html has been obsolete for the past 2 years!

Cf. the official example 
-
https://github.com/flutter/flutter/blob/stable/examples/api/web/index.html
- then blame to see flutter/flutter#152349: the index.html before this
2024 PR has exactly the outdated script we still use today.

The current index.html script explicitly runs a JS file, and unlike the
new one, does not support WASM builds.

Like #660, I chose to bump the version here in a dedicated PR instead
- for testing purposes (the app works just as before)
- so no-one complains the PR does too much at a time

## Changes Made

<!--DESCRIBE the changes: tell the BIG STEPS, use a CHECKLIST to show
progress. You can explain below how the code works.-->

- [x] Rewrite the index.html
  - [x] Use the new script and test again (see the PoC at #646)
- [x] Some fixes in the `<head>` tag: two title tags, use new
`mobile-web-app-capable` meta (without `apple-` prefix, etc

## Additional Notes

<!--Anything relevant that does not quite fit in the summary-->

<!--Don't touch these two tags-->
<details>
<summary>

# Classification

</summary>

## Type of Change

- [x] 🐛 Bug fix (non-breaking change which fixes an issue)
- [ ] ✨ New feature (non-breaking change which adds functionality)
- [x] 🔨 Refactor (non-breaking change that neither fixes a bug nor adds
a feature)
- [ ] 🔧 Infra CI/CD (changes to configs of workflows)
- [ ] 💥 BREAKING CHANGE (fix or feature that require a new minimal
version of the front-end)
- [x] 😶‍🌫️ No impact for the end-users

## Impact & Scope

- [ ] Core functionality changes
- [ ] Single module changes
- [ ] Multiple modules changes
- [x] Other: web/ directory <!--Not module-oriented: write something!-->

## Testing

- [x] 1. Tested this locally
- [ ] 2. Added/modified tests that pass the CI (or tested in a
downstream fork)
- [x] 3. Tested in a local client using a pre-prod backend
- [ ] 0. Untestable (exceptionally), will be tested in prod directly

## Documentation

- [ ] Updated [the docs](docs.myecl.fr) accordingly : <!--[Docs#0 -
Title](https://github.com/aeecleclair/myecl-documentation/pull/0)-->
- [ ] `//` Comments
- [x] No documentation needed

</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dart Pull requests that update Dart code ready for review This PR is ready to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants