Skip to content

chore: update mix to 2.0.3 and remix to 0.2.0#75

Merged
tilucasoli merged 4 commits into
mainfrom
tilucasoli/update-mix-remix-version
May 20, 2026
Merged

chore: update mix to 2.0.3 and remix to 0.2.0#75
tilucasoli merged 4 commits into
mainfrom
tilucasoli/update-mix-remix-version

Conversation

@tilucasoli
Copy link
Copy Markdown
Collaborator

@tilucasoli tilucasoli commented May 19, 2026

Summary

  • Bumps mix to ^2.0.3 and remix to ^0.2.0 in packages/superdeck, demo, and the melos.yaml shared-dependency pin. mix 2.0.3 removes TextDecorationRef so it builds against newer Flutter SDKs where TextDecoration is final (mix#913).
  • Adapts SDButton to remix 0.2.0's leadingIcon/trailingIcon API (renamed from icon).
  • .fvmrc continues to track the stable channel — no Flutter pin needed with mix 2.0.3.

Impacted packages

  • packages/superdeck
  • demo
  • workspace pin via melos.yaml

Test plan

  • melos bootstrap
  • dart analyze (clean)
  • superdeck test suite (551 passing)
  • flutter build web --release of the demo on Flutter 3.44.0 stable

🤖 Generated with Claude Code

Bump mix to ^2.0.2 and remix to ^0.2.0 across the superdeck and demo
packages and the melos shared-dependency pin. Adapt SDButton to the
remix 0.2.0 API change that split RemixButton's `icon` parameter into
`leadingIcon`/`trailingIcon`.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@docs-page
Copy link
Copy Markdown

docs-page Bot commented May 19, 2026

To view this pull requests documentation preview, visit the following URL:

docs.page/btwld/superdeck~75

Documentation is deployed and generated using docs.page.

Flutter 3.44.0 (current stable channel) makes dart:ui's TextDecoration
a final class, which breaks mix 2.0.2 — it does `implements
TextDecoration` in prop_refs.dart. This fails the Integration Tests and
Web Smoke jobs at kernel/dart2js compilation. mix 2.0.2 is the latest
release and its main branch still has the same code, so there is no
newer mix to upgrade to.

Pin .fvmrc to the 3.41.9 stable release the project develops on, where
mix 2.0.2 compiles cleanly. Revert to channel tracking once mix ships
a release compatible with newer Flutter.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 19, 2026

Visit the preview URL for this PR (updated for commit 8f90677):

https://superdeck-dev--pr75-tilucasoli-update-mi-fk4fb2mo.web.app

(expires Fri, 19 Jun 2026 02:03:57 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: bd68fc230762285849207e7e120aaf87cd4ca2f9

mix 2.0.3 removes TextDecorationRef (mix#913), restoring compatibility
with Flutter SDKs where TextDecoration is final. With mix 2.0.3 the
3.41.9 pin from the previous commit is no longer needed, so revert
.fvmrc to track the stable channel.

Verified locally on Flutter 3.44.0 (current stable): demo `flutter
build web --release` compiles cleanly and the superdeck test suite
(551 tests) passes.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@tilucasoli tilucasoli changed the title chore: update mix to 2.0.2 and remix to 0.2.0 chore: update mix to 2.0.3 and remix to 0.2.0 May 20, 2026
The previous push (mix 2.0.3, dropped Flutter pin) fixed the compile
issue but surfaced a "Bad state: RenderBox was not laid out" runtime
error on demo slide 2 in the Web Smoke job. The combo that was last
all-green on CI was mix 2.0.2 + Flutter 3.41.9 pin; reverting just the
Flutter unpin while keeping mix at 2.0.3 isolates the change down to
the single dependency bump the user asked for.

Drop the pin again once we confirm mix 2.0.3 is layout-compatible with
newer Flutter SDKs.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@tilucasoli tilucasoli merged commit 6275a2a into main May 20, 2026
5 checks passed
@tilucasoli tilucasoli deleted the tilucasoli/update-mix-remix-version branch May 20, 2026 02:17
tilucasoli added a commit to tilucasoli/superdeck that referenced this pull request May 20, 2026
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant