網站導覽

v2.1.0
行銷區塊

變更紀錄

發布了什麼、何時發布,最新的排在最前面,以時間軸或單一版本呈現。

變更紀錄說明發布了什麼、何時發布,最新的排在最前面,讓訪客看見產品持續前進,也讓顧客找到自己正在使用的產品有了什麼改變。各個版本是依序排列的時間點,正是時間軸所呈現的;每個版本改了什麼,則以條列清單呈現。

變更紀錄

<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 呈現:用顧客的話,以完整的句子寫出顧客現在能做什麼。commit 紀錄另有去處。
  • 通往完整說明的連結位於每個版本下方,名稱帶有版本號;底部另有一個通往所有版本說明的按鈕。

三個版本只是變更紀錄的一部分,不是變更紀錄本身。區塊只保留最近幾個版本,其餘的交給它們自己的頁面。

#單一版本

在產品內部或文章旁邊,一個版本就夠了:在面板上呈現有什麼新內容。變更放在展開文字中,這是一個原生的 <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> 一樣,切換按鈕仍然可以展開它。

#無障礙

  • 區塊是一個 <section>,以其 <h2> 命名;每個版本是一個 <h3>,因此版本就是標題清單。
  • 時間軸是有序清單,它的順序(最新的排在最前面)就是螢幕閱讀器讀出的順序。
  • aria-current="true" 為輔助技術標示最新的版本,就像圓點為眼睛標示它一樣;「Latest」則對所有人說明這一點。
  • 每個日期都是帶有 datetime 的 <time>。
  • 「Read the 4.2 notes」(閱讀 4.2 版說明)指出它的版本。三個都寫「閱讀更多」的連結,在連結清單中無從分辨。
  • 展開文字的 <summary> 是瀏覽器做好的按鈕:Enter 和空白鍵可展開,狀態也會被讀出。它的兩種文字會隨狀態切換。