con un clic
update-whats-new
// Update the whats-new page with changes to the website since the previous release.
// Update the whats-new page with changes to the website since the previous release.
Sync the changelog from the Dart SDK repo to update the changelog.yml entries in the site repository.
Publish a new article to the Dart blog from a Google Doc.
Proofreads Markdown files against Google guidelines.
Stages the Dart site locally for PR validation. Includes formatting Dart code, syncing excerpts, building the site, checking for broken links, and serving the development site.
| name | update-whats-new |
| description | Update the whats-new page with changes to the website since the previous release. |
Use this skill when a new Dart release has occurred and
you need to update src/content/resources/whats-new.md
to describe the changes to the website
since the previous release.
Identify the previous release date
Read src/content/resources/whats-new.md
and locate the topmost release section.
Find the "Released on" date for that release.
This is your starting point.
Retrieve recent Git commits
Retrieve the git commits made to the repository
since the previous release date identified in step 1.
For example:
git log --after="<previous_release_date>" --oneline.
Analyze commits for meaningful changes
Review the content of each commit since that date. Identify changes that are significant to developers or users. Look for:
[!IMPORTANT] When analyzing changes for the "Site improvements" section, ONLY include entries that are meaningful and user-facing to someone reading our documentation.
Do NOT include:
- Non-user-facing infrastructure changes, such as "Inlined card content on the docs index page".
- Internal refactoring or maintenance simplifications.
- Minor tweaks that aren't relevant to the broader documentation experience, such as "Surfaced lint release versions" or "Made heading anchors copy the full URL to the clipboard".
DO include specific, high-impact changes, for example:
- Migrated core site infrastructure to the Jaspr framework for an improved contributor experience.
- Enhanced the Glossary by adding support for filtering by label and tooltips.
- Redesigned the Community page with a modern card-based layout.
- Started compiling the website's client-side Dart code to WebAssembly.
For more examples, reference the pre-existing release sections.
Create a new release section
In src/content/resources/whats-new.md,
create a new section at the top of the file
(just below the header/introduction) for the new release.
Follow the same formatting and structure of
past releases on the page:
## 3.12 release for Dart 3.12._Released on: <Date>_.
Ask the developer for the release date,
or if it's not available yet, leave a placeholder.Update the global metadata:
Update the lastVerified field in the page's YAML frontmatter
to the new release date or if not available, today's date.
Add entries for meaningful changes
For each meaningful change identified in Step 3:
(Thank you, [username][].).Note: Only include third-party contributors; don't include Dart and Flutter team members, such as Daco or Parker.
Format glossary terms for hover tooltips
If any new glossary terms were added, link to their specific fragment anchor on the glossary page. This enables a hover tooltip for the reader. For example, structure the links at the bottom of the release section like this:
[top type]: /resources/glossary#top-type
[null safety]: /resources/glossary#null-safety
[sound]: /resources/glossary#sound
Add the release announcement link or a placeholder
Include links for the release announcement and the SDK changelog entries for that version. Ask the developer for the announcement blog link, or if it's not available yet, use a placeholder. Also include a link to the release's corresponding changelog entries as done in past releases.
Add and format link definitions
Add the link definitions of Markdown reference links
to the bottom of the new release section,
matching the style used throughout the document.
For example: [3.11 announcement]: https://....
Request review
Notify the developer that the whats-new.md page has been updated and
ask them to verify the changes.