更新日志说明发布了什么、何时发布,最新的排在最前,让访客看到产品在持续前进,也让客户找到自己正在使用的产品有了哪些变化。各个版本是按顺序排列的时刻,这正是时间线所呈现的;每个版本改了什么则用项目列表列出。
更新日志
<section class="container-inline px-lg py-4xl" aria-labelledby="changelog-title"> <div class="flex flex-col gap-2xl max-w(720) mx-auto"> <header class="flex flex-col gap-sm"> <p class="eyebrow">Changelog</p> <h2 class="heading heading-2xl" id="changelog-title">What shipped lately.</h2> <p class="lead max-w(520)">Atlas is released every three weeks. These are the last three.</p> </header> <ol class="timeline"> <li class="timeline-item" aria-current="true"> <span class="timeline-marker"></span> <div class="timeline-body gap-xs pb-xl"> <div class="flex flex-wrap items-center gap-xs"> <h3 class="timeline-title">Atlas 4.2</h3> <span class="badge badge-ink">Latest</span> <time class="timeline-time" datetime="2026-11-10">10 November 2026</time> </div> <p class="timeline-description"> Cold builds restore their caches first, and finish in under a minute. </p> <ul class="bullets mt-2xs"> <li class="bullets-item">Dependency caches are restored before the install step.</li> <li class="bullets-item">Build logs arrive line by line instead of step by step.</li> <li class="bullets-item">A canceled build no longer uses build minutes.</li> </ul> <p class="m(0) mt-2xs"><a class="link" href="#changelog-title">Read the 4.2 notes</a></p> </div> </li> <li class="timeline-item"> <span class="timeline-marker"></span> <div class="timeline-body gap-xs pb-xl"> <div class="flex flex-wrap items-center gap-xs"> <h3 class="timeline-title">Atlas 4.1</h3> <time class="timeline-time" datetime="2026-10-20">20 October 2026</time> </div> <p class="timeline-description">Comments on previews, left on the page itself.</p> <ul class="bullets mt-2xs"> <li class="bullets-item">Click an element in a preview and say what you see.</li> <li class="bullets-item"> A comment follows its element from one deployment to the next. </li> <li class="bullets-item">Reviewers who only comment stay free on every plan.</li> </ul> <p class="m(0) mt-2xs"><a class="link" href="#changelog-title">Read the 4.1 notes</a></p> </div> </li> <li class="timeline-item"> <span class="timeline-marker"></span> <div class="timeline-body gap-xs"> <div class="flex flex-wrap items-center gap-xs"> <h3 class="timeline-title">Atlas 4.0</h3> <time class="timeline-time" datetime="2026-09-29">29 September 2026</time> </div> <p class="timeline-description">Two more regions, and one address for each branch.</p> <ul class="bullets mt-2xs"> <li class="bullets-item">Seoul and São Paulo bring the network to fourteen regions.</li> <li class="bullets-item"> Every branch keeps one preview address for as long as it lives. </li> <li class="bullets-item"> Rolling back is choosing an earlier deployment, from the dashboard or the command line. </li> </ul> <p class="m(0) mt-2xs"><a class="link" href="#changelog-title">Read the 4.0 notes</a></p> </div> </li> </ol> <p class="m(0)"><a class="btn" href="#changelog-title">All releases</a></p> </div></section><section className="container-inline px-lg py-4xl" aria-labelledby="changelog-title"> <div className="flex flex-col gap-2xl max-w(720) mx-auto"> <header className="flex flex-col gap-sm"> <p className="eyebrow">Changelog</p> <h2 className="heading heading-2xl" id="changelog-title">What shipped lately.</h2> <p className="lead max-w(520)"> Atlas is released every three weeks. These are the last three. </p> </header> <ol className="timeline"> <li className="timeline-item" aria-current="true"> <span className="timeline-marker"></span> <div className="timeline-body gap-xs pb-xl"> <div className="flex flex-wrap items-center gap-xs"> <h3 className="timeline-title">Atlas 4.2</h3> <span className="badge badge-ink">Latest</span> <time className="timeline-time" dateTime="2026-11-10">10 November 2026</time> </div> <p className="timeline-description"> Cold builds restore their caches first, and finish in under a minute. </p> <ul className="bullets mt-2xs"> <li className="bullets-item"> Dependency caches are restored before the install step. </li> <li className="bullets-item"> Build logs arrive line by line instead of step by step. </li> <li className="bullets-item">A canceled build no longer uses build minutes.</li> </ul> <p className="m(0) mt-2xs"> <a className="link" href="#changelog-title">Read the 4.2 notes</a> </p> </div> </li> <li className="timeline-item"> <span className="timeline-marker"></span> <div className="timeline-body gap-xs pb-xl"> <div className="flex flex-wrap items-center gap-xs"> <h3 className="timeline-title">Atlas 4.1</h3> <time className="timeline-time" dateTime="2026-10-20">20 October 2026</time> </div> <p className="timeline-description">Comments on previews, left on the page itself.</p> <ul className="bullets mt-2xs"> <li className="bullets-item">Click an element in a preview and say what you see.</li> <li className="bullets-item"> A comment follows its element from one deployment to the next. </li> <li className="bullets-item">Reviewers who only comment stay free on every plan.</li> </ul> <p className="m(0) mt-2xs"> <a className="link" href="#changelog-title">Read the 4.1 notes</a> </p> </div> </li> <li className="timeline-item"> <span className="timeline-marker"></span> <div className="timeline-body gap-xs"> <div className="flex flex-wrap items-center gap-xs"> <h3 className="timeline-title">Atlas 4.0</h3> <time className="timeline-time" dateTime="2026-09-29">29 September 2026</time> </div> <p className="timeline-description">Two more regions, and one address for each branch.</p> <ul className="bullets mt-2xs"> <li className="bullets-item"> Seoul and São Paulo bring the network to fourteen regions. </li> <li className="bullets-item"> Every branch keeps one preview address for as long as it lives. </li> <li className="bullets-item"> Rolling back is choosing an earlier deployment, from the dashboard or the command line. </li> </ul> <p className="m(0) mt-2xs"> <a className="link" href="#changelog-title">Read the 4.0 notes</a> </p> </div> </li> </ol> <p className="m(0)"><a className="btn" href="#changelog-title">All releases</a></p> </div></section><section class="container-inline px-lg py-4xl" aria-labelledby="changelog-title"> <div class="flex flex-col gap-2xl max-w(720) mx-auto"> <header class="flex flex-col gap-sm"> <p class="eyebrow">Changelog</p> <h2 class="heading heading-2xl" id="changelog-title">What shipped lately.</h2> <p class="lead max-w(520)">Atlas is released every three weeks. These are the last three.</p> </header> <ol class="timeline"> <li class="timeline-item" aria-current="true"> <span class="timeline-marker"></span> <div class="timeline-body gap-xs pb-xl"> <div class="flex flex-wrap items-center gap-xs"> <h3 class="timeline-title">Atlas 4.2</h3> <span class="badge badge-ink">Latest</span> <time class="timeline-time" datetime="2026-11-10">10 November 2026</time> </div> <p class="timeline-description"> Cold builds restore their caches first, and finish in under a minute. </p> <ul class="bullets mt-2xs"> <li class="bullets-item">Dependency caches are restored before the install step.</li> <li class="bullets-item">Build logs arrive line by line instead of step by step.</li> <li class="bullets-item">A canceled build no longer uses build minutes.</li> </ul> <p class="m(0) mt-2xs"><a class="link" href="#changelog-title">Read the 4.2 notes</a></p> </div> </li> <li class="timeline-item"> <span class="timeline-marker"></span> <div class="timeline-body gap-xs pb-xl"> <div class="flex flex-wrap items-center gap-xs"> <h3 class="timeline-title">Atlas 4.1</h3> <time class="timeline-time" datetime="2026-10-20">20 October 2026</time> </div> <p class="timeline-description">Comments on previews, left on the page itself.</p> <ul class="bullets mt-2xs"> <li class="bullets-item">Click an element in a preview and say what you see.</li> <li class="bullets-item"> A comment follows its element from one deployment to the next. </li> <li class="bullets-item">Reviewers who only comment stay free on every plan.</li> </ul> <p class="m(0) mt-2xs"><a class="link" href="#changelog-title">Read the 4.1 notes</a></p> </div> </li> <li class="timeline-item"> <span class="timeline-marker"></span> <div class="timeline-body gap-xs"> <div class="flex flex-wrap items-center gap-xs"> <h3 class="timeline-title">Atlas 4.0</h3> <time class="timeline-time" datetime="2026-09-29">29 September 2026</time> </div> <p class="timeline-description">Two more regions, and one address for each branch.</p> <ul class="bullets mt-2xs"> <li class="bullets-item">Seoul and São Paulo bring the network to fourteen regions.</li> <li class="bullets-item"> Every branch keeps one preview address for as long as it lives. </li> <li class="bullets-item"> Rolling back is choosing an earlier deployment, from the dashboard or the command line. </li> </ul> <p class="m(0) mt-2xs"><a class="link" href="#changelog-title">Read the 4.0 notes</a></p> </div> </li> </ol> <p class="m(0)"><a class="btn" href="#changelog-title">All releases</a></p> </div></section><template> <section class="container-inline px-lg py-4xl" aria-labelledby="changelog-title"> <div class="flex flex-col gap-2xl max-w(720) mx-auto"> <header class="flex flex-col gap-sm"> <p class="eyebrow">Changelog</p> <h2 class="heading heading-2xl" id="changelog-title">What shipped lately.</h2> <p class="lead max-w(520)"> Atlas is released every three weeks. These are the last three. </p> </header> <ol class="timeline"> <li class="timeline-item" aria-current="true"> <span class="timeline-marker"></span> <div class="timeline-body gap-xs pb-xl"> <div class="flex flex-wrap items-center gap-xs"> <h3 class="timeline-title">Atlas 4.2</h3> <span class="badge badge-ink">Latest</span> <time class="timeline-time" datetime="2026-11-10">10 November 2026</time> </div> <p class="timeline-description"> Cold builds restore their caches first, and finish in under a minute. </p> <ul class="bullets mt-2xs"> <li class="bullets-item">Dependency caches are restored before the install step.</li> <li class="bullets-item">Build logs arrive line by line instead of step by step.</li> <li class="bullets-item">A canceled build no longer uses build minutes.</li> </ul> <p class="m(0) mt-2xs"> <a class="link" href="#changelog-title">Read the 4.2 notes</a> </p> </div> </li> <li class="timeline-item"> <span class="timeline-marker"></span> <div class="timeline-body gap-xs pb-xl"> <div class="flex flex-wrap items-center gap-xs"> <h3 class="timeline-title">Atlas 4.1</h3> <time class="timeline-time" datetime="2026-10-20">20 October 2026</time> </div> <p class="timeline-description">Comments on previews, left on the page itself.</p> <ul class="bullets mt-2xs"> <li class="bullets-item">Click an element in a preview and say what you see.</li> <li class="bullets-item"> A comment follows its element from one deployment to the next. </li> <li class="bullets-item">Reviewers who only comment stay free on every plan.</li> </ul> <p class="m(0) mt-2xs"> <a class="link" href="#changelog-title">Read the 4.1 notes</a> </p> </div> </li> <li class="timeline-item"> <span class="timeline-marker"></span> <div class="timeline-body gap-xs"> <div class="flex flex-wrap items-center gap-xs"> <h3 class="timeline-title">Atlas 4.0</h3> <time class="timeline-time" datetime="2026-09-29">29 September 2026</time> </div> <p class="timeline-description">Two more regions, and one address for each branch.</p> <ul class="bullets mt-2xs"> <li class="bullets-item"> Seoul and São Paulo bring the network to fourteen regions. </li> <li class="bullets-item"> Every branch keeps one preview address for as long as it lives. </li> <li class="bullets-item"> Rolling back is choosing an earlier deployment, from the dashboard or the command line. </li> </ul> <p class="m(0) mt-2xs"> <a class="link" href="#changelog-title">Read the 4.0 notes</a> </p> </div> </li> </ol> <p class="m(0)"><a class="btn" href="#changelog-title">All releases</a></p> </div> </section></template>区块提供可直接复制的标记,沿用页面自身的文字颜色和字号。预览在 body 上设置 fg-text-body text-sm。每个区块都是尺寸容器,会按自身宽度重排。
#区块组成
- 一条阅读栏,
max-w(720)。更新日志是从上往下读的,每一行都应短到便于扫读。 - 导语中写明发布节奏。 “every three weeks”(每三周)告诉读者最新一条大概有多新;各个日期与它一致。
- 一个
<ol class="timeline">,最新的排在最前。 顺序本身就是内容。每个版本是一个带空标记的timeline-item,由一条细线与前一个版本相连。 - 最新版本设置
aria-current="true":它的圆点使用墨色,并带一圈淡淡的光晕。名称旁的badge badge-ink用文字写出“Latest”(最新),因为圆点不是一句话。 - 先是版本号,再是日期,排在可以换行的同一行中:名称是
<h3>上的timeline-title,日期是<time>上的timeline-time,月份用文字写出。 - 用一句话说明这个版本为什么重要,放在
timeline-description中,位于变更列表之前。 - 每个版本三项变更,使用
bullets:用完整的句子、以客户自己的话说明客户现在能做什么。提交日志在别的地方。 - 通往完整说明的链接位于每个版本下方,名称中带有版本号;底部还有一个通往全部说明的按钮。
三个版本只是更新日志的样例,不是更新日志本身。区块只保留最近的几个版本,其余的交给它们自己的页面。
#单个版本
在产品内部,或者在文章旁边,一个版本就够了:把新内容放在一块面板上。变更放在展开区域中,这是一个原生 <details>,先显示前几行,展开后显示其余内容,因此篇幅很长的版本也不会把页面往下推。
单个版本
<section class="sheet container-inline flex flex-col gap-md w-full max-w(480) p-lg" aria-labelledby="release-title"> <header class="flex flex-col gap-xs"> <p class="flex flex-wrap items-center gap-xs m(0) fg-text-muted"> <span class="badge badge-ink">New</span> <time datetime="2026-11-10">10 Nov 2026</time> </p> <h2 class="heading heading-sm" id="release-title">Atlas 4.2: cold builds under a minute</h2> </header> <details class="expand" style="--expand-lines: 5"> <summary class="expand-toggle"> <span class="expand-more">Show all five changes</span><span class="expand-less">Show fewer</span><svg class="icon expand-chevron" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <path d="M6 3.5L10.3586 7.8586A0.2 0.2 0 0 1 10.3586 8.1414L6 12.5" transform="rotate(90 8 8)" /> </svg> </summary> <p class="m(0) mb-sm leading-md"> Dependency caches are now restored before the install step, so a cold build starts where the last one ended. </p> <ul class="bullets"> <li class="bullets-item"> Cold builds of forty measured projects went from 90 to 52 seconds. </li> <li class="bullets-item">Build logs arrive line by line instead of step by step.</li> <li class="bullets-item">A canceled build no longer uses build minutes.</li> <li class="bullets-item"> The command line prints the preview address as soon as it exists. </li> <li class="bullets-item"> Fixed: a redirect with a query string kept only its first parameter. </li> </ul> </details> <p class="flex flex-wrap gap-md m(0)"> <a class="link" href="#release-title">Read the 4.2 notes</a> <a class="link link-quiet fg-text-muted" href="#release-title">All releases</a> </p></section>import ChevronDownIcon from '@master/icons-react/native/16/soft/chevron-down'<section className="sheet container-inline flex flex-col gap-md w-full max-w(480) p-lg" aria-labelledby="release-title"> <header className="flex flex-col gap-xs"> <p className="flex flex-wrap items-center gap-xs m(0) fg-text-muted"> <span className="badge badge-ink">New</span> <time dateTime="2026-11-10">10 Nov 2026</time> </p> <h2 className="heading heading-sm" id="release-title">Atlas 4.2: cold builds under a minute</h2> </header> <details className="expand" style={{ '--expand-lines': '5' } as React.CSSProperties}> <summary className="expand-toggle"> <span className="expand-more">Show all five changes</span><span className="expand-less">Show fewer</span><ChevronDownIcon className="icon expand-chevron" /> </summary> <p className="m(0) mb-sm leading-md"> Dependency caches are now restored before the install step, so a cold build starts where the last one ended. </p> <ul className="bullets"> <li className="bullets-item"> Cold builds of forty measured projects went from 90 to 52 seconds. </li> <li className="bullets-item">Build logs arrive line by line instead of step by step.</li> <li className="bullets-item">A canceled build no longer uses build minutes.</li> <li className="bullets-item"> The command line prints the preview address as soon as it exists. </li> <li className="bullets-item"> Fixed: a redirect with a query string kept only its first parameter. </li> </ul> </details> <p className="flex flex-wrap gap-md m(0)"> <a className="link" href="#release-title">Read the 4.2 notes</a> <a className="link link-quiet fg-text-muted" href="#release-title">All releases</a> </p></section><script> import ChevronDownIcon from '@master/icons-svelte/native/16/soft/chevron-down'</script><section class="sheet container-inline flex flex-col gap-md w-full max-w(480) p-lg" aria-labelledby="release-title"> <header class="flex flex-col gap-xs"> <p class="flex flex-wrap items-center gap-xs m(0) fg-text-muted"> <span class="badge badge-ink">New</span> <time datetime="2026-11-10">10 Nov 2026</time> </p> <h2 class="heading heading-sm" id="release-title">Atlas 4.2: cold builds under a minute</h2> </header> <details class="expand" style="--expand-lines: 5"> <summary class="expand-toggle"> <span class="expand-more">Show all five changes</span><span class="expand-less">Show fewer</span><ChevronDownIcon class="icon expand-chevron" /> </summary> <p class="m(0) mb-sm leading-md"> Dependency caches are now restored before the install step, so a cold build starts where the last one ended. </p> <ul class="bullets"> <li class="bullets-item"> Cold builds of forty measured projects went from 90 to 52 seconds. </li> <li class="bullets-item">Build logs arrive line by line instead of step by step.</li> <li class="bullets-item">A canceled build no longer uses build minutes.</li> <li class="bullets-item"> The command line prints the preview address as soon as it exists. </li> <li class="bullets-item"> Fixed: a redirect with a query string kept only its first parameter. </li> </ul> </details> <p class="flex flex-wrap gap-md m(0)"> <a class="link" href="#release-title">Read the 4.2 notes</a> <a class="link link-quiet fg-text-muted" href="#release-title">All releases</a> </p></section><script setup>import ChevronDownIcon from '@master/icons-vue/native/16/soft/chevron-down'</script><template> <section class="sheet container-inline flex flex-col gap-md w-full max-w(480) p-lg" aria-labelledby="release-title"> <header class="flex flex-col gap-xs"> <p class="flex flex-wrap items-center gap-xs m(0) fg-text-muted"> <span class="badge badge-ink">New</span> <time datetime="2026-11-10">10 Nov 2026</time> </p> <h2 class="heading heading-sm" id="release-title">Atlas 4.2: cold builds under a minute</h2> </header> <details class="expand" style="--expand-lines: 5"> <summary class="expand-toggle"> <span class="expand-more">Show all five changes</span><span class="expand-less">Show fewer</span><ChevronDownIcon class="icon expand-chevron" /> </summary> <p class="m(0) mb-sm leading-md"> Dependency caches are now restored before the install step, so a cold build starts where the last one ended. </p> <ul class="bullets"> <li class="bullets-item"> Cold builds of forty measured projects went from 90 to 52 seconds. </li> <li class="bullets-item">Build logs arrive line by line instead of step by step.</li> <li class="bullets-item">A canceled build no longer uses build minutes.</li> <li class="bullets-item"> The command line prints the preview address as soon as it exists. </li> <li class="bullets-item"> Fixed: a redirect with a query string kept only its first parameter. </li> </ul> </details> <p class="flex flex-wrap gap-md m(0)"> <a class="link" href="#release-title">Read the 4.2 notes</a> <a class="link link-quiet fg-text-muted" href="#release-title">All releases</a> </p> </section></template>- 切换按钮说明一共有多少内容。 “Show all five changes”(显示全部五项变更)是读者可以掂量的承诺;“显示更多”则不是。
- 可以按下的东西都不会被裁切。 两个链接位于
<details>之后,在它外面:位于渐隐部分里的链接看不见,却仍然可以获得焦点。 --expand-lines: 5设置收起时显示多少内容:那句说明和最前面的一两项变更,足以让人决定是否展开。- 在不支持
::details-content的情况下,文字在收起时是隐藏的,与任何<details>一样,切换按钮仍然可以把它展开。
#无障碍
- 区块是一个以其
<h2>命名的<section>;每个版本是一个<h3>,因此版本号就构成了标题列表。 - 时间线是一个有序列表,它的顺序,即最新的排在最前,就是屏幕阅读器朗读的顺序。
aria-current="true"为辅助技术标出最新版本,正如圆点为眼睛标出它一样,而“Latest”则把这一点告诉所有人。- 每个日期都是带有
datetime的<time>。 - “Read the 4.2 notes”(阅读 4.2 版本说明)写出了它对应的版本。三个都叫“阅读更多”的链接,在链接列表中无法区分。
- 展开区域的
<summary>是浏览器提供的按钮:按 Enter 和空格键可以展开,状态也会播报。它的两种文案随状态切换。