Skip to content

feat!: Rename GameWidget.controlled to GameWidget.managed#3961

Merged
erickzanardo merged 1 commit into
mainfrom
feat/rename_controller_managed
Jul 22, 2026
Merged

feat!: Rename GameWidget.controlled to GameWidget.managed#3961
erickzanardo merged 1 commit into
mainfrom
feat/rename_controller_managed

Conversation

@erickzanardo

Copy link
Copy Markdown
Member

Description

Renames GameWidget.controlled to GameWidget.managed and all of its mentions.

Checklist

  • I have followed the Contributor Guide when preparing my PR.
  • I have updated/added tests for ALL new/updated/fixed functionality.
  • I have updated/added relevant documentation in docs and added dartdoc comments with ///.
  • I have updated/added relevant examples in examples or docs.

Breaking Change?

  • Yes, this PR is a breaking change.
  • No, this PR is not a breaking change.

Related Issues

Part of #1938

@erickzanardo
erickzanardo requested a review from a team July 22, 2026 12:39

@spydon spydon left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Lgtm!

@erickzanardo
erickzanardo merged commit d99224e into main Jul 22, 2026
9 checks passed
@erickzanardo
erickzanardo deleted the feat/rename_controller_managed branch July 22, 2026 12:55
spydon added a commit that referenced this pull request Jul 22, 2026
Adds a new "Migration Guides" page to the docs describing the breaking
changes users need to be
aware of when upgrading between major versions of Flame, along with the
steps required to migrate.

This first version covers migrating from v1.38.0 to v2.0.0. To start
with, it documents the one
breaking change that has landed on `main` since the v1.38.0 tag:

- `GameWidget.controlled` was renamed to `GameWidget.managed` (#3961).
The page explains the change
  and shows a before/after code snippet.

The page is registered in the Flame section's `toctree` (right after
"Getting Started") so it is
discoverable in the rendered docs. As more breaking PRs land before the
v2.0.0 release, new
subsections can be appended under the same version heading.

Changed files:
- `doc/flame/migration.md` (new page)
- `doc/flame/flame.md` (added the page to the visible list and hidden
`toctree`)
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.

2 participants