Skip to content

PasteFerry (隔空贴): clipboard and file sync across macOS, Windows and Linux. Direct-first, end-to-end encrypted. Optional official access: no server to host. Independent self-hosting remains available.

docs(release): finalize 2.9.0 notes and installation guide

baiyuze291797360d9c
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f70f301..434a26d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,19 +2,24 @@
## 2.9.0 — 2026-11-04
-This release adds script-friendly desktop CLI queries and an official Homebrew installation option for Mac.
+This release adds script-friendly desktop CLI queries and an official Homebrew installation option for Mac, and fixes a pairing-purpose race.
### Changes
- The desktop CLI now reports its own version and provides read-only JSON queries for background status, paired devices, recent clipboard history and settings, with consistent success and error responses.
- Mac users can install the official desktop app and its bundled CLI from the baiyuze/tap Homebrew cask. The installation guide covers upgrades and existing manual installations.
+### Fixes
+
+- Device pairing now rejects a friend code even when a delayed reply from an earlier pairing attempt arrives first.
+
### Upgrade notes
-- **Mac, Windows and Linux apps**: optional; update to use the new CLI version and JSON queries. Existing pairings, friends, history and settings are preserved.
-- **Android**: optional; there are no Android-specific changes.
+- **Mac, Windows and Linux apps**: recommended for the pairing fix and the new CLI version and JSON queries. Existing pairings, friends, history and settings are preserved.
+- **Android**: optional; includes the shared pairing fix, with no Android-specific interface changes.
- **Server**: no update needed.
- The device-to-device protocol is unchanged and compatible with existing releases.
+- If you installed an earlier 2.9.0 test build, reinstall from this release to receive the final pairing fix; both builds use the same version number. The final desktop build is `53ee171d`.
## 2.8.3 — 2026-11-01
diff --git a/design/2.9.0-installation-validation-2026-11-04.md b/design/2.9.0-installation-validation-2026-11-04.md
index e5b6be7..fa56b17 100644
--- a/design/2.9.0-installation-validation-2026-11-04.md
+++ b/design/2.9.0-installation-validation-2026-11-04.md
@@ -3,11 +3,12 @@
Tested application source: `53ee171d357b1a1b257c88e99e9301e2ff44ef17` on
`codex/pasteferry-2.9.0`.
-**Release remains paused.** These results cover the candidate packages below.
-They do not authorize publishing the candidate or updating production download
-links. The public website, latest GitHub release, Homebrew cask and signed update
-manifest remain on 2.8.3. The existing 2.9.0 GitHub release is a draft. The pairing
-fix described below has not been merged into `main`.
+These results cover the candidate packages below. Validation finished with
+publication paused and production channels on 2.8.3. The user subsequently
+authorized publication of 2.9.0 on 2026-11-04. The final release uses these same
+validated packages and includes the pairing fix described below; see the
+[2.9.0 release](https://github.com/baiyuze/pasteferry/releases/tag/v2.9.0) and
+[changelog](../CHANGELOG.md) for publication and upgrade details.
## Build provenance and environments
@@ -107,7 +108,8 @@ and passed afterward. Verification included:
The local `release/` directory contains 14 packages plus `SHA256SUMS`. It combines
the fixed CI Windows/Linux/Android artifacts with the locally built clean Mac
-DMGs and server packages. It has not been uploaded as a new release.
+DMGs and server packages. These hashes identify the packages selected for the
+authorized final release.
All three final Mac DMGs were mounted and checked for version 2.9.0,
`codesign --verify --deep --strict`, and the intended architectures of the GUI,
diff --git a/docs/download/index.html b/docs/download/index.html
index 56c2031..a5ac8f2 100644
--- a/docs/download/index.html
+++ b/docs/download/index.html
@@ -126,6 +126,7 @@
</div>
<p class="small">默认从 Gitee 国内镜像下载。备用 GitHub 下载:<a href="https://github.com/baiyuze/pasteferry/releases/download/v2.9.0/PasteFerry-mac-apple-silicon.dmg">Apple 芯片</a> · <a href="https://github.com/baiyuze/pasteferry/releases/download/v2.9.0/PasteFerry-mac-intel.dmg">Intel 芯片</a> · <a href="https://github.com/baiyuze/pasteferry/releases/download/v2.9.0/PasteFerry.dmg">通用版</a></p>
<p class="small">两种芯片都能用的<a href="https://gitee.com/baiyuze/pasteferry/releases/download/v2.9.0/PasteFerry.dmg">通用版</a>也在,体积大一倍。</p>
+ <p class="small">也可通过 Homebrew 安装完整 App 和内置命令行工具:<code>brew install --cask baiyuze/tap/pasteferry</code>。已有手动安装的版本,请先退出并移走 App,保留应用数据。<a href="https://github.com/baiyuze/homebrew-tap">查看安装与升级说明</a>。</p>
<ol class="steps">
<li>打开下载的 DMG,把隔空贴拖进「应用程序」。</li>
<li>从「应用程序」里打开。<span class="aside">第一次会提示「无法验证开发者」:到「系统设置 → 隐私与安全性」,点页面下方的「仍要打开」。</span></li>
diff --git a/docs/en/download/index.html b/docs/en/download/index.html
index 06a4f2f..be2b3f2 100644
--- a/docs/en/download/index.html
+++ b/docs/en/download/index.html
@@ -124,6 +124,7 @@
<a class="button quiet" href="https://github.com/baiyuze/pasteferry/releases/download/v2.9.0/PasteFerry-mac-intel.dmg"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3v10m0 0-4-4m4 4 4-4M4 16h12"/></svg>Intel</a>
</div>
<p class="small">A <a href="https://github.com/baiyuze/pasteferry/releases/download/v2.9.0/PasteFerry.dmg">universal version</a> that runs on both is also available, at twice the size.</p>
+ <p class="small">You can also install the desktop app and bundled CLI with <code>brew install --cask baiyuze/tap/pasteferry</code>. If already installed manually, quit and move the existing app first; keep your application data. See the <a href="https://github.com/baiyuze/homebrew-tap">installation and upgrade guide</a>.</p>
<ol class="steps">
<li>Open the DMG you downloaded and drag PasteFerry into Applications.</li>
<li>Open it from Applications.<span class="aside">The first time, macOS says it can't verify the developer: go to System Settings → Privacy &amp; Security and click Open Anyway near the bottom.</span></li>
diff --git a/docs/ja/download/index.html b/docs/ja/download/index.html
index af96077..7705a88 100644
--- a/docs/ja/download/index.html
+++ b/docs/ja/download/index.html
@@ -124,6 +124,7 @@
<a class="button quiet" href="https://github.com/baiyuze/pasteferry/releases/download/v2.9.0/PasteFerry-mac-intel.dmg"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 3v10m0 0-4-4m4 4 4-4M4 16h12"/></svg>Intel プロセッサ</a>
</div>
<p class="small">両方で動く<a href="https://github.com/baiyuze/pasteferry/releases/download/v2.9.0/PasteFerry.dmg">ユニバーサル版</a>もあります。サイズは 2 倍です。</p>
+ <p class="small">Homebrewでもデスクトップアプリと同梱CLIをインストールできます:<code>brew install --cask baiyuze/tap/pasteferry</code>。手動インストール済みの場合は、終了して既存のアプリを移動し、アプリのデータは保持してください。<a href="https://github.com/baiyuze/homebrew-tap">インストールと更新の手順</a>をご覧ください。</p>
<ol class="steps">
<li>ダウンロードした DMG を開き、PasteFerry を「アプリケーション」にドラッグします。</li>
<li>「アプリケーション」から開きます。<span class="aside">初回は「開発元を検証できません」と表示されます。「システム設定 → プライバシーとセキュリティ」を開き、ページ下部の「このまま開く」をクリックします。</span></li>
diff --git a/docs/zh-hk/download/index.html b/docs/zh-hk/download/index.html
index c0c5694..582f86f 100644
--- a/docs/zh-hk/download/index.html
+++ b/docs/zh-hk/download/index.html
@@ -126,6 +126,7 @@
</div>
<p class="small">預設從 Gitee 鏡像下載。備用 GitHub 下載:<a href="https://github.com/baiyuze/pasteferry/releases/download/v2.9.0/PasteFerry-mac-apple-silicon.dmg">Apple 晶片</a> · <a href="https://github.com/baiyuze/pasteferry/releases/download/v2.9.0/PasteFerry-mac-intel.dmg">Intel 晶片</a> · <a href="https://github.com/baiyuze/pasteferry/releases/download/v2.9.0/PasteFerry.dmg">通用版</a></p>
<p class="small">兩種 Mac 都能用的<a href="https://gitee.com/baiyuze/pasteferry/releases/download/v2.9.0/PasteFerry.dmg">通用版</a>也有提供,檔案大一倍。</p>
+ <p class="small">亦可透過 Homebrew 安裝完整 App 和內置命令列工具:<code>brew install --cask baiyuze/tap/pasteferry</code>。如已手動安裝,請先結束並移走 App,保留應用程式資料。<a href="https://github.com/baiyuze/homebrew-tap">查看安裝與升級說明</a>。</p>
<ol class="steps">
<li>開啟下載的 DMG,把隔空貼拖進「應用程式」。</li>
<li>從「應用程式」裏開啟。<span class="aside">第一次會提示「無法驗證開發者」:到「系統設定 → 私隱與保安」,按頁面下方的「強制開啟」。</span></li>
diff --git a/docs/zh-tw/download/index.html b/docs/zh-tw/download/index.html
index 06214cd..600751f 100644
--- a/docs/zh-tw/download/index.html
+++ b/docs/zh-tw/download/index.html
@@ -126,6 +126,7 @@
</div>
<p class="small">預設從 Gitee 鏡像下載。備用 GitHub 下載:<a href="https://github.com/baiyuze/pasteferry/releases/download/v2.9.0/PasteFerry-mac-apple-silicon.dmg">Apple 晶片</a> · <a href="https://github.com/baiyuze/pasteferry/releases/download/v2.9.0/PasteFerry-mac-intel.dmg">Intel 晶片</a> · <a href="https://github.com/baiyuze/pasteferry/releases/download/v2.9.0/PasteFerry.dmg">通用版</a></p>
<p class="small">也有兩種晶片都能用的<a href="https://gitee.com/baiyuze/pasteferry/releases/download/v2.9.0/PasteFerry.dmg">通用版</a>,檔案大一倍。</p>
+ <p class="small">也可透過 Homebrew 安裝完整 App 和內建命令列工具:<code>brew install --cask baiyuze/tap/pasteferry</code>。若已手動安裝,請先結束並移走 App,保留應用程式資料。<a href="https://github.com/baiyuze/homebrew-tap">查看安裝與更新說明</a>。</p>
<ol class="steps">
<li>打開下載的 DMG,把隔空貼拖進「應用程式」。</li>
<li>從「應用程式」裡打開。<span class="aside">第一次會提示「無法驗證開發者」:到「系統設定 → 隱私權與安全性」,點頁面下方的「強制打開」。</span></li>
diff --git a/tools/release/notes.py b/tools/release/notes.py
index 0ebb06f..504a921 100644
--- a/tools/release/notes.py
+++ b/tools/release/notes.py
@@ -26,7 +26,11 @@ RELEASES = [
'Macではbaiyuze/tapのHomebrew caskから公式デスクトップアプリと同梱CLIをインストールできます。更新方法と手動インストール済みの場合の手順も案内します。',
'Mac 使用者可透過 baiyuze/tap 的 Homebrew cask 安裝官方桌面 App 和內建命令列工具;安裝說明包含更新和已有手動安裝的處理方式。',
'Mac 用戶可透過 baiyuze/tap 的 Homebrew cask 安裝官方桌面 App 和內置命令列工具;安裝說明包含更新和已有手動安裝的處理方式。')],
- 'fixes': []},
+ 'fixes': [('Device pairing now rejects a friend code even when a delayed reply from an earlier pairing attempt arrives first.',
+ '设备配对现在会正确拒绝好友码,即使前一次配对的延迟回复先到达,也不会忽略用途不一致。',
+ '以前のペアリング試行から遅れた応答が先に届いた場合も、端末のペアリングで友だちコードを正しく拒否するよう修正しました。',
+ '裝置配對現在會正確拒絕好友碼,即使前一次配對的延遲回覆先到達,也不會忽略用途不一致。',
+ '裝置配對現在會正確拒絕好友碼,即使前一次配對的延遲回覆先到達,亦不會忽略用途不一致。')]},
{'version': '2.8.3',
'date': '2026-11-01',
'changes': [],
diff --git a/tools/site/build.py b/tools/site/build.py
index a5a43d8..559f57e 100644
--- a/tools/site/build.py
+++ b/tools/site/build.py
@@ -2186,7 +2186,8 @@ def download_page(code: str) -> str:
links = {"start": base + START, "server": base + START + "#server", "releases": REPO + "/releases",
"sums": DL + "SHA256SUMS", "universal": DL + "PasteFerry.dmg", "portable": DL + "PasteFerry-windows-x64.zip",
"notes": REPO + "/releases/latest", "lan": base + LAN, "gitee": GITEE + "/releases",
- "android": DL + "PasteFerry-android-arm64.apk"}
+ "android": DL + "PasteFerry-android-arm64.apk",
+ "homebrew": "https://github.com/baiyuze/homebrew-tap"}
w, m, lx = d["win"], d["mac"], d["linux"]
ph = d["phone"]
mirror = d.get("mirror")
@@ -2251,6 +2252,7 @@ def download_page(code: str) -> str:
</div>{mirror_line([(mirror["apple"], "PasteFerry-mac-apple-silicon.dmg"), (mirror["intel"], "PasteFerry-mac-intel.dmg"),
(mirror["universal"], "PasteFerry.dmg")]) if mirror else ""}
<p class="small">{fill(m["universal"], links)}</p>
+ <p class="small">{fill(m["homebrew"], links)}</p>
<ol class="steps">
{items(m["steps"])}
</ol>
diff --git a/tools/site/content/en.py b/tools/site/content/en.py
index 5b50913..28655ab 100644
--- a/tools/site/content/en.py
+++ b/tools/site/content/en.py
@@ -894,6 +894,7 @@ C = {
"apple": "Apple silicon (M1 and later)",
"intel": "Intel",
"universal": "A <a href=\"{universal}\">universal version</a> that runs on both is also available, at twice the size.",
+ "homebrew": 'You can also install the desktop app and bundled CLI with <code>brew install --cask baiyuze/tap/pasteferry</code>. If already installed manually, quit and move the existing app first; keep your application data. See the <a href="{homebrew}">installation and upgrade guide</a>.',
"steps": [
"Open the DMG you downloaded and drag PasteFerry into Applications.",
"Open it from Applications.<span class=\"aside\">The first time, macOS says it can't verify the developer: go to "
diff --git a/tools/site/content/ja.py b/tools/site/content/ja.py
index 747f161..a213b4a 100644
--- a/tools/site/content/ja.py
+++ b/tools/site/content/ja.py
@@ -833,6 +833,7 @@ C = {
"apple": "Apple シリコン(M1 以降)",
"intel": "Intel プロセッサ",
"universal": "両方で動く<a href=\"{universal}\">ユニバーサル版</a>もあります。サイズは 2 倍です。",
+ "homebrew": 'Homebrewでもデスクトップアプリと同梱CLIをインストールできます:<code>brew install --cask baiyuze/tap/pasteferry</code>。手動インストール済みの場合は、終了して既存のアプリを移動し、アプリのデータは保持してください。<a href="{homebrew}">インストールと更新の手順</a>をご覧ください。',
"steps": [
"ダウンロードした DMG を開き、PasteFerry を「アプリケーション」にドラッグします。",
"「アプリケーション」から開きます。<span class=\"aside\">初回は「開発元を検証できません」と表示されます。"
diff --git a/tools/site/content/zh-hk.py b/tools/site/content/zh-hk.py
index f43ad83..6d954bf 100644
--- a/tools/site/content/zh-hk.py
+++ b/tools/site/content/zh-hk.py
@@ -822,6 +822,7 @@ C = {
"apple": "Apple 晶片(M1 或更新)",
"intel": "Intel 處理器",
"universal": "兩種 Mac 都能用的<a href=\"{universal}\">通用版</a>也有提供,檔案大一倍。",
+ "homebrew": '亦可透過 Homebrew 安裝完整 App 和內置命令列工具:<code>brew install --cask baiyuze/tap/pasteferry</code>。如已手動安裝,請先結束並移走 App,保留應用程式資料。<a href="{homebrew}">查看安裝與升級說明</a>。',
"steps": [
"開啟下載的 DMG,把隔空貼拖進「應用程式」。",
"從「應用程式」裏開啟。<span class=\"aside\">第一次會提示「無法驗證開發者」:到「系統設定 → 私隱與保安」,按頁面下方的「強制開啟」。</span>",
diff --git a/tools/site/content/zh-tw.py b/tools/site/content/zh-tw.py
index 09d732f..5d33dcc 100644
--- a/tools/site/content/zh-tw.py
+++ b/tools/site/content/zh-tw.py
@@ -822,6 +822,7 @@ C = {
"apple": "Apple 晶片(M1 及更新機型)",
"intel": "Intel 晶片",
"universal": "也有兩種晶片都能用的<a href=\"{universal}\">通用版</a>,檔案大一倍。",
+ "homebrew": '也可透過 Homebrew 安裝完整 App 和內建命令列工具:<code>brew install --cask baiyuze/tap/pasteferry</code>。若已手動安裝,請先結束並移走 App,保留應用程式資料。<a href="{homebrew}">查看安裝與更新說明</a>。',
"steps": [
"打開下載的 DMG,把隔空貼拖進「應用程式」。",
"從「應用程式」裡打開。<span class=\"aside\">第一次會提示「無法驗證開發者」:到「系統設定 → 隱私權與安全性」,點頁面下方的「強制打開」。</span>",
diff --git a/tools/site/content/zh.py b/tools/site/content/zh.py
index 3f5934f..baa6446 100644
--- a/tools/site/content/zh.py
+++ b/tools/site/content/zh.py
@@ -822,6 +822,7 @@ C = {
"apple": "Apple 芯片(M1 及更新)",
"intel": "Intel 芯片",
"universal": "两种芯片都能用的<a href=\"{universal}\">通用版</a>也在,体积大一倍。",
+ "homebrew": '也可通过 Homebrew 安装完整 App 和内置命令行工具:<code>brew install --cask baiyuze/tap/pasteferry</code>。已有手动安装的版本,请先退出并移走 App,保留应用数据。<a href="{homebrew}">查看安装与升级说明</a>。',
"steps": [
"打开下载的 DMG,把隔空贴拖进「应用程序」。",
"从「应用程序」里打开。<span class=\"aside\">第一次会提示「无法验证开发者」:到「系统设置 → 隐私与安全性」,点页面下方的「仍要打开」。</span>",