Skip to content

chore: migrate to Flutter 3.32#2686

Merged
CharlVS merged 2 commits intodevfrom
chore/flutter-3-32-migration
May 26, 2025
Merged

chore: migrate to Flutter 3.32#2686
CharlVS merged 2 commits intodevfrom
chore/flutter-3-32-migration

Conversation

@takenagain
Copy link
Copy Markdown
Contributor

@takenagain takenagain commented May 22, 2025

Summary by CodeRabbit

  • New Features

    • Introduced enhanced debugging support for iOS Flutter applications with new LLDB integration scripts.
    • Custom LLDB initialization is now configured for iOS test and launch actions.
  • Documentation

    • Updated all references and instructions to support Flutter version 3.32.0.
  • Chores

    • Upgraded Flutter SDK version to 3.32.0 across configuration files and workflows.
    • Updated theme configuration to use the latest theme data constructors.
    • Minor cleanup in iOS project build settings.

@takenagain takenagain added this to the v0.9.1 Release milestone May 22, 2025
@takenagain takenagain self-assigned this May 22, 2025
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented May 22, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

This update upgrades the Flutter SDK version from 3.29.2 to 3.32.0 across documentation, workflows, and configuration files. It also introduces new LLDB debugging integration for iOS by adding helper scripts and configuring Xcode to use a custom LLDB initialization file. Theme data constructors are updated for compatibility.

Changes

Files/Paths Change Summary
.github/actions/flutter-deps/action.yml
.github/workflows/roll-sdk-packages.yml
pubspec.yaml
docs/FLUTTER_VERSION.md
docs/MULTIPLE_FLUTTER_VERSIONS.md
Updated Flutter SDK version from 3.29.2 to 3.32.0 in actions, workflows, environment constraints, and documentation.
app_theme/lib/src/dark/theme_global_dark.dart
app_theme/lib/src/light/theme_global_light.dart
Replaced CardTheme, DialogTheme, and TabBarTheme with their respective *ThemeData constructors.
ios/Flutter/ephemeral/flutter_lldb_helper.py Added a Python script for LLDB to intercept and manipulate memory during debugging of iOS Flutter apps.
ios/Flutter/ephemeral/flutter_lldbinit Added a generated LLDB initialization script to import the helper Python script.
ios/Runner.xcodeproj/project.pbxproj Removed empty inputPaths and outputPaths arrays from two shell script build phases.
ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme Configured Xcode scheme to use the custom LLDB initialization file for test and launch actions.

Sequence Diagram(s)

sequenceDiagram
    participant Xcode as Xcode
    participant LLDB as LLDB
    participant Helper as flutter_lldb_helper.py
    participant App as iOS Flutter App

    Xcode->>LLDB: Launch with custom LLDB init file
    LLDB->>Helper: Import flutter_lldb_helper.py
    Helper->>LLDB: Set breakpoint on NOTIFY_DEBUGGER_ABOUT_RX_PAGES
    App->>LLDB: Hit breakpoint during execution
    LLDB->>Helper: Call handle_new_rx_page
    Helper->>App: Modify memory at specified address
    LLDB->>App: Continue execution
Loading

Suggested labels

enhancement, documentation

Suggested reviewers

  • CharlVS

Poem

In the warren of code, a hop and a skip,
Flutter’s version jumps—let’s all equip!
LLDB now helps with a friendly byte,
Debugging iOS apps deep into the night.
Themes are refreshed, docs in the sun—
This rabbit’s proud: the update is done! 🐇✨


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions
Copy link
Copy Markdown

github-actions bot commented May 22, 2025

Visit the preview URL for this PR (updated for commit 6b8a063):

https://walletrc--pull-2686-merge-el3xdaiv.web.app

(expires Sun, 01 Jun 2025 19:55:36 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: f66a4ff03faa546f12f0ae5a841bd9eff2714dcc

@takenagain
Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented May 22, 2025

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@takenagain takenagain force-pushed the chore/flutter-3-32-migration branch from 53fa1f5 to b2a5513 Compare May 25, 2025 19:42
@takenagain takenagain force-pushed the chore/flutter-3-32-migration branch from b2a5513 to 6b8a063 Compare May 25, 2025 19:52
@takenagain takenagain requested a review from Copilot May 25, 2025 19:59
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR migrates the project to Flutter 3.32.0, updating configurations, documentation, and theme constructors, while also improving LLDB integration for iOS debugging.

  • Updated Flutter version references across configuration files, build workflows, and Docker/DevContainer files
  • Introduced new LLDB integration helper scripts and updated scheme settings for enhanced iOS debugging
  • Updated app theme code to use the new Flutter API class names

Reviewed Changes

Copilot reviewed 16 out of 16 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
pubspec.yaml Upgraded Flutter version to 3.32.0
ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme Added custom LLDB initialization file configuration
ios/Runner.xcodeproj/project.pbxproj Cleaned up empty array configurations
ios/Flutter/ephemeral/flutter_lldbinit Added generated LLDB init script
ios/Flutter/ephemeral/flutter_lldb_helper.py Added LLDB helper script for enhanced debugger integration
docs/MULTIPLE_FLUTTER_VERSIONS.md, docs/FLUTTER_VERSION.md Updated documentation to reference Flutter 3.32.0
app_theme/lib/src/light/theme_global_light.dart, app_theme/lib/src/dark/theme_global_dark.dart Updated theme configuration to use new Flutter API class names
.github/workflows/roll-sdk-packages.yml, .github/workflows/mobile-builds.yml, .github/actions/flutter-deps/action.yml Updated Flutter version in CI workflows (with a temporary workaround in mobile-builds.yml)
.docker/komodo-wallet-android.dockerfile, .devcontainer/Dockerfile Updated Flutter version in container configurations

@takenagain takenagain marked this pull request as ready for review May 25, 2025 20:10
@takenagain takenagain requested a review from CharlVS May 25, 2025 20:11
Copy link
Copy Markdown
Collaborator

@CharlVS CharlVS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@CharlVS CharlVS merged commit 05d444f into dev May 26, 2025
9 of 13 checks passed
@CharlVS CharlVS deleted the chore/flutter-3-32-migration branch May 26, 2025 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants