Repository navigation
Upgrade Flutter and packages - #2521
Open
rajveermalviya wants to merge 9 commits into
Open
rajveermalviya wants to merge 9 commits into
rajveermalviya wants to merge 9 commits into
Conversation
And update Flutter's supporting libraries to match. This also regenerates ZulipLocalizations.localizationsDelegates, now that gen-l10n knows about package:material_ui: https://github.com/flutter/flutter/pull/ 194500 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is the result of the following commands: flutter pub upgrade --major-versions firebase_core firebase_messaging pod update --project-directory=ios/ pod update --project-directory=macos/ plus removing our cap on these, and adapting our code. Changelogs: https://pub.dev/packages/firebase_core/changelog#520 https://pub.dev/packages/firebase_messaging/changelog#1710 The cap was for a bug where getAPNSToken returned null when Firebase is configured from Dart, as we do. 16.7.0 fixed that: https://github.com/firebase/flutterfire/pull/ 18650 17.0.0 deprecates getToken and onTokenRefresh. Their replacements, register and onRegistered, give a Firebase Installation ID, which the server can't send to; so keep the deprecated ones for now. 16.6.0 adds AuthorizationStatus.deniedPermanently, used only on Android; handle it like `denied`. The majors' breaking changes are Firebase Android BoM 35, which needs minSdk 24 (ours is 26), and Firebase iOS SDK 13, which is only on Swift Package Manager. Through CocoaPods we get iOS SDK 12.19.3, up from 12.17.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is the result of the following commands: flutter pub upgrade --major-versions pigeon tools/check --all --fix pigeon plus adapting NotificationService.swift to a breaking change in pigeon 28: our `@async` FlutterApi method is now `async throws` in Swift, instead of taking a completion callback. Changelog: https://pub.dev/packages/pigeon/changelog#3004 Pigeon 30's breaking change is to Native Interop, which we don't use. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is the result of the following commands: flutter pub upgrade --tighten json_serializable json_annotation tools/check --all --fix build_runner plus adapting to two changes in 6.15.0's generated code. Changelog: https://pub.dev/packages/json_serializable/changelog#6152 - A null or missing enum value now decodes to the enum's null-valued entry, `unknown` in our enums, instead of throwing. So a poll vote event with a null op is no longer dropped as malformed; it's ignored like other unknown ops, which notifies listeners. Update its test. - A `readValue` result is now checked for null, which analyze flags as dead code when the function can't return null. So declare `UpdateMessageEvent._readMoveData` as returning `Object?`, as `JsonKey.readValue` expects. `--tighten` also raises our json_annotation floor to 4.12.0, which json_serializable requires; build_runner warns otherwise. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is the result of the following commands: flutter pub upgrade drift drift_dev tools/check --all --fix build_runner drift Changelogs: https://pub.dev/packages/drift/changelog#2354 https://pub.dev/packages/drift_dev/changelog#2353 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Since gen-l10n learned about package:material_ui, the code it generates no longer uses deprecated members: https://github.com/flutter/flutter/pull/ 194500 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Now that gen-l10n knows about package:material_ui, the generated list is the same one we'd written out: https://github.com/flutter/flutter/pull/ 194500 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rajveermalviya
force-pushed
the
pr-upgrade-deps
branch
from
November 26, 2026 08:57
42bfa15 to
d2a4700
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Flutter notable commits