Skip to content

docs(flutter): migration guide for 0.15.0 - #956

Merged
HayesGordon merged 2 commits into
mainfrom
flutter/deferred-migration
Sep 14, 2026
Merged

HayesGordon merged 2 commits into
mainfrom
flutter/deferred-migration

Conversation

@HayesGordon

Copy link
Copy Markdown
Contributor

Adds a Version 0.15.0 section to the Flutter migration guide, and a version table at the top of the page linking each major.

Two migrations are covered.

Data binding. RiveWidgetController binds at construction (main plus every global view model), so controller.dataBind, RiveWidgetBuilder.dataBind and RiveLoaded.viewModelInstance are gone. The section gives the per-call replacements, the unbound to authored-defaults behavior change, package:rive/legacy.dart as a bridge
that needs no call-site changes, instance ownership, and why read-backs cannot be bound again.

Deferred rendering. The Rive Renderer is deferred-only on native: UI-thread contract, Rive.batchAdvance / batchAdvanceAndRender removal, the RenderTexturePainter.riveFactory default, one artboard instance per texture, Factory.rive session resolution, and rive_deferred.dart.

Also notes the corrected Flutter 3.32.0 (Dart 3.8.0) floor and bumps versionDevFlutter to 0.15.0-dev.2.

Scope is deliberately this one page. 0.15 is still a dev release, so no other Flutter page is bumped to 0.15.x yet. The deferred renderer page sweep (custom-painter rewrite, FAQ entries, flutter.mdx, rive-native, renderer overview) waits for the stable release. See BACKLOG "docs: flutter deferred renderer page sweep (0.15 stable)".

- Add a Version 0.15.0 section covering the two migrations in the
  release: Data Binding now binds when RiveWidgetController is
  constructed (removed controller.dataBind, RiveWidgetBuilder.dataBind
  and RiveLoaded.viewModelInstance, the package:rive/legacy.dart bridge,
  instance ownership, read-backs that cannot be bound again) and the
  Rive Renderer's deferred rendering on native (threading contract,
  batch advance API removal, riveFactory, one artboard instance per
  texture, Factory.rive session resolution, rive_deferred.dart).
- Note the corrected Flutter 3.32.0 / Dart 3.8.0 floor.
- Open the guide with a version table linking each major's section.
- Bump versionDevFlutter to 0.15.0-dev.2.
@HayesGordon
HayesGordon requested a review from a team as a code owner September 14, 2026 12:02
@mintlify

mintlify Bot commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
rive 🟢 Ready View Preview Sep 14, 2026, 12:26 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The version links are broken, and the shared version bump makes existing Flutter examples target incompatible APIs.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Adds Flutter 0.15.0 migration guidance for breaking runtime changes.

Changes:

  • Documents Data Binding API migration and ownership.
  • Explains deferred native rendering requirements.
  • Updates the Flutter development version.
File summaries
File Description
runtimes/flutter/migration-guide.mdx Adds the 0.15.0 migration section and version index.
docs.json Bumps Flutter’s development version to 0.15.0-dev.2.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 3
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs.json
Comment thread runtimes/flutter/migration-guide.mdx
Comment thread runtimes/flutter/migration-guide.mdx Outdated
# pubspec.yaml
dependencies:
rive: ^{{versionDevFlutter}}
rive: ^{{versionFlutter}}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@lancesnider this reverts what you did. We should from now on always link to stable releases for Flutter (and any runtime in the getting-started sections)

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The documentation is coherent and appropriately scoped, with only a non-blocking grammar correction remaining.

Review details

Suppressed comments (1)

Previously missed (1) — in code that hasn't changed since the last review.

runtimes/flutter/migration-guide.mdx:55

  • Use the present passive tense here so the sentence is grammatical: “before anything is rendered.”
  • Files reviewed: 3/3 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

@HayesGordon
HayesGordon merged commit 6891ae9 into main Sep 14, 2026
3 checks passed
@HayesGordon
HayesGordon deleted the flutter/deferred-migration branch September 14, 2026 18:53

This branch was successfully deployed

1 active deployment
staging — 0ec2e73d Deployed Sep 14, 2026 by mintlify[bot]
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.

3 participants