Skip to content

docs: add release migration-guide page for breaking changes and deprecations#6517

Merged
FeodorFitsner merged 10 commits into
mainfrom
docs-migration-guide
May 25, 2026
Merged

docs: add release migration-guide page for breaking changes and deprecations#6517
FeodorFitsner merged 10 commits into
mainfrom
docs-migration-guide

Conversation

@ndonkoHenri

@ndonkoHenri ndonkoHenri commented May 22, 2026

Copy link
Copy Markdown
Contributor

Fix #6172

Summary by Sourcery

Add a dedicated docs section for staying up to date with releases, including migration guides for breaking changes and deprecations, and align changelog, templates, and internal release/deprecation workflows with this structure.

New Features:

  • Introduce release documentation pages for breaking changes, deprecations, compatibility policy, and release notes, organized under a new "Stay up to date" section in the docs sidebar.

Bug Fixes:

  • Correct tutorial examples to use the current Border, BorderRadius, and related APIs instead of removed helper functions.
  • Improve docs build robustness by allowing the PyPI package index partial to be skipped in fast-build mode and by formatting fetch errors with clearer output.

Enhancements:

  • Clarify and expand internal guidance for documenting deprecations and preparing releases, including required migration guides, sidebar entries, and changelog structure.
  • Refine the GitHub pull request template wording and checklist to emphasize documentation, changelog updates, and release/deprecation guide maintenance.
  • Adjust changelog sections to separate breaking changes and deprecations from other changes in both the main and video package changelogs.
  • Improve cookbook dialog docs by switching to typed reference links for key APIs.
  • Format PyPI index fetch error messages as fenced code blocks for better readability in rendered docs.

Documentation:

  • Add migration guides for removed spacing/border helpers, deprecated DragTargetEvent coordinate fields, and deprecated video control APIs, including timelines and references.
  • Document the overall compatibility, breaking change, and deprecation policy and link it from release docs.

@sourcery-ai sourcery-ai Bot 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.

We've reviewed this pull request using the Sourcery rules engine

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.

Pull request overview

Adds a new “Stay up to date” documentation section to make release tracking and upgrades easier, including a structured home for migration guides covering breaking changes and deprecations. It also aligns changelogs, templates, and internal release/deprecation guidance with that new documentation workflow, and improves docs generation ergonomics.

Changes:

  • Add new release docs pages: “Stay up to date” index, release notes, compatibility policy, and version-scoped breaking-change/deprecation migration guides; wire them into the docs sidebar.
  • Update existing docs examples/links (e.g., solitaire tutorial, declarative dialogs) to match current APIs and improve typed cross-references.
  • Improve docs build robustness (skip PyPI index in fast mode; clearer PyPI fetch error formatting) and reorganize changelog sections + PR/release process guidance.

Reviewed changes

Copilot reviewed 19 out of 19 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
website/sidebars.yml Adds “Stay up to date” section and release/migration guide entries to the sidebar source.
website/sidebars.js Regenerates sidebar output to include the new “Stay up to date” structure.
website/docs/tutorials/solitaire.md Updates tutorial snippets to use Border / BorderRadius classmethods instead of removed helpers.
website/docs/release/release-notes.md Introduces a release notes hub linking announcements/changelogs/migration guides.
website/docs/release/index.md Adds “Stay up to date” landing page linking to release notes, migration guides, and policy.
website/docs/release/compatibility-policy.md Documents breaking-change and deprecation policy and where to find upgrade info.
website/docs/release/breaking-changes/index.md Adds the index page for migration guides grouped by release.
website/docs/release/breaking-changes/removed-spacing-border-helpers.md Adds a migration guide for removed spacing/border helper functions.
website/docs/release/breaking-changes/deprecated-drag-target-event-coordinates.md Adds a migration guide for deprecated DragTargetEvent coordinate fields.
website/docs/release/breaking-changes/deprecated-video-apis.md Adds a migration guide for deprecated Video control APIs.
website/docs/cookbook/declarative-dialogs.md Switches key API links to typed reference links for better durability.
tools/crocodocs/src/crocodocs/pypi_index.py Improves PyPI index fetch failure rendering (fenced output for readability).
tools/crocodocs/src/crocodocs/partials.py Adds FLET_DOCS_FAST behavior to skip PyPI index generation in fast docs builds.
sdk/python/packages/flet-video/CHANGELOG.md Separates “Changed” vs “Deprecated” entries for video API changes.
packages/flet/CHANGELOG.md Removes empty section headers to match updated changelog structure.
CHANGELOG.md Splits breaking changes and deprecations into dedicated sections for the release.
.github/pull_request_template.md Updates PR template wording/checklist to emphasize docs/changelog/release-guide updates.
.agents/skills/prepare-flet-release/SKILL.md Aligns release prep steps and changelog section ordering with new release docs workflow.
.agents/skills/flet-deprecation/SKILL.md Documents required release-doc updates when introducing deprecations.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread website/docs/release/compatibility-policy.md Outdated
Comment thread website/docs/release/breaking-changes/index.md
Comment thread .agents/skills/prepare-flet-release/SKILL.md Outdated
@FeodorFitsner

This comment was marked as resolved.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented May 23, 2026

Copy link
Copy Markdown

Deploying flet-website-v2 with  Cloudflare Pages  Cloudflare Pages

Latest commit: f66df42
Status:⚡️  Build in progress...

View logs

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented May 23, 2026

Copy link
Copy Markdown

Deploying flet-examples with  Cloudflare Pages  Cloudflare Pages

Latest commit: f66df42
Status: ✅  Deploy successful!
Preview URL: https://695012b8.flet-examples.pages.dev
Branch Preview URL: https://docs-migration-guide.flet-examples.pages.dev

View logs

@td3447

This comment was marked as resolved.

@FeodorFitsner FeodorFitsner added this to the 0.85.2 milestone May 25, 2026
@FeodorFitsner FeodorFitsner merged commit bd5e16f into main May 25, 2026
16 of 63 checks passed
@FeodorFitsner FeodorFitsner deleted the docs-migration-guide branch May 25, 2026 17:08
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.

bug: AttributeError: module 'flet.controls.cupertino.cupertino_icons' has no attribute 'ADD' Improve version migrations

4 participants