Skip to content

docs: Render the Cloud Dart SDK versions from a data file - #740

Merged
Isakdl merged 5 commits into
mainfrom
cld-1197-dart-versions-data
Aug 14, 2026
Merged

docs: Render the Cloud Dart SDK versions from a data file#740
Isakdl merged 5 commits into
mainfrom
cld-1197-dart-versions-data

Conversation

@Isakdl

@Isakdl Isakdl commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

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 a guides/deployment URL that 404s) is fixed from the cloud side instead, in serverpod/serverpod_cloud#2380.

A reconciliation loop in serverpod/serverpod_cloud (the daily Dart version bump workflow, 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-version flag, 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

@Isakdl
Isakdl marked this pull request as draft August 14, 2026 10:07
@Isakdl
Isakdl marked this pull request as ready for review August 14, 2026 10:47
@Isakdl
Isakdl marked this pull request as draft August 14, 2026 10:48
@Isakdl
Isakdl marked this pull request as ready for review August 14, 2026 13:48
@developerjamiu developerjamiu added the enhancement New feature or request label Aug 14, 2026
Comment thread cloud_docs/reference/dart-sdk-versions.mdx Outdated
Comment thread cloud_docs/reference/dart-sdk-versions.json
@Isakdl
Isakdl requested a review from developerjamiu August 14, 2026 14:33

@developerjamiu developerjamiu 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.

LGTM

@Isakdl
Isakdl merged commit f9e2aa4 into main Aug 14, 2026
5 checks passed
@Isakdl
Isakdl deleted the cld-1197-dart-versions-data branch August 14, 2026 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants