docs: Render the Cloud Dart SDK versions from a data file - #740
Merged
Conversation
Isakdl
marked this pull request as draft
August 14, 2026 10:07
Isakdl
marked this pull request as ready for review
August 14, 2026 10:47
Isakdl
marked this pull request as draft
August 14, 2026 10:48
Co-authored-by: Jamiu Okanlawon <50176100+developerjamiu@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Moves the supported Dart SDK version list into a data file,
cloud_docs/reference/dart-sdk-versions.json(supported versions ordered lowest to highest, plus the default), and rewrites the page as MDX that renders from it. The page stays at its existing URL,/cloud/reference/dart-sdk-versions; the URL mismatch behind CLD-558 (the server and CLI print aguides/deploymentURL that 404s) is fixed from the cloud side instead, in serverpod/serverpod_cloud#2380.A reconciliation loop in
serverpod/serverpod_cloud(the dailyDart version bumpworkflow, serverpod/serverpod_cloud#2377) will keep the data file in sync with the version policy the prod platform endpoint serves, opening auto-merged PRs here on drift — only the JSON changes on those PRs, the prose stays put. This PR also allowlists that sync branch (auto/dart-versions-sync) in the auto-approve workflow so those PRs can merge unattended.The rewrite also fixes two content errors: the supported list was missing 3.11, and the page claimed the lowest overlapping version is used for builds when the platform picks the highest. It now also documents how to select a version on deploy (
--dart-versionflag,scloud.yaml,.tool-versions, pubspec constraint, in that precedence order), which was the other half of CLD-558.Linear: https://linear.app/serverpod/issue/CLD-1197/docs-render-the-dart-version-list-from-data-updated-by-reconciliation
🤖 Generated with Claude Code