Skip to content

chore(deps): take the upgrades the pinned toolchain allows - #129

Merged
leoafarias merged 1 commit into
refactor/replace-stale-widget-depsfrom
chore/compatible-dependency-upgrades
Sep 23, 2026
Merged

leoafarias merged 1 commit into
refactor/replace-stale-widget-depsfrom
chore/compatible-dependency-upgrades

Conversation

@leoafarias

Copy link
Copy Markdown
Collaborator

Intent

Stack 4/8, based on #127. It takes every dependency upgrade that resolves with the pinned Flutter 3.44.6 toolchain and needs no code changes.

Package From → to Where
cached_network_image 3.4.1 → 4.0.0 superdeck
go_router 17.3.0 → 18.0.1 superdeck, playground
google_fonts 8.1.0 → 8.2.1 superdeck, playground, pdf, demo
pdf 3.12.0 → 3.13.1 plugins/pdf
lucide_icons_flutter 3.1.15 → 3.1.20 playground
yaml 3.1.3 → 3.1.4 core, cli
mason_logger 0.3.5 → 0.3.6 cli
image (dev) 4.8.0 → 4.10.1 playground
dart_code_metrics_presets (dev) 2.32.0 → 2.33.0 all packages

The two major versions only move to the new material_ui/cupertino_ui packages and require Flutter 3.44. They need no code changes here.

Behavior change to review: YAML block values

yaml 3.1.4 fixes block scalars that end at end-of-input: they now keep the implicit trailing line break the YAML spec requires. For SuperDeck, a front matter | or > value that is the last entry now ends in \n, matching the same value anywhere else. |-/>- strip it.

  • No deck in the repo uses these: the round-trip tests over the demo and fixture decks pass, and the demo's built JSON is unchanged.
  • The two front-matter recognition tests now expect the spec value.
  • It's noted in the builder CHANGELOG.

Held back (they need a newer Flutter or newer code generators)

  • meta 1.19 and file_saver 0.5.0 (which requires meta ^1.19): Flutter 3.44.6 pins meta 1.18.0.
  • test 1.32: flutter_test pins test_api 0.7.11.
  • build_runner ≥ 2.15.2: needs analyzer ≥ 13.3, while mix_generator (through beta.4) and ack_generator 1.6.2 cap it below 11.
  • google_cloud_ai_generativelanguage_v1beta and json_schema_builder: moved to the AI-stack PR, since they shape the Gemini requests and need the live smoke test.

Commands run

  • melos run build_runner:build --no-select: no generated-file drift.
  • dart analyze --fatal-infos in all 7 packages: no issues.
  • Tests: core 699, builder 162, cli 33, superdeck 784, pdf 39, playground 371. All pass.
  • melos run contracts:check --no-select: schema up to date.
  • flutter build macos --debug for demo and playground, and melos run test:integration:macos: 39 passing.

cached_network_image 4.0.0 and go_router 18.0.1 (both only move to material_ui and require Flutter 3.44), google_fonts 8.2.1, pdf 3.13.1, lucide_icons_flutter 3.1.20, yaml 3.1.4, mason_logger 0.3.6, image 4.10.1, and dart_code_metrics_presets 2.33.0.

yaml 3.1.4 now gives a block scalar that ends the front matter its implicit trailing line break, as the YAML spec requires; the two front matter tests expect it and the builder changelog notes it.
@github-actions

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 33464e8):

https://superdeck-dev--pr129-chore-compatible-dep-fjc5e5nc.web.app

(expires Fri, 23 Oct 2026 03:47:48 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: bd68fc230762285849207e7e120aaf87cd4ca2f9

@leoafarias
leoafarias added this pull request to stack #128 September 23, 2026 04:07
@leoafarias
leoafarias merged commit a744a71 into main Sep 23, 2026
6 of 8 checks passed
@leoafarias
leoafarias deleted the chore/compatible-dependency-upgrades branch September 23, 2026 04:26
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