Versions and release docs for the two installers.
Numbered 0.1.13 rather than 0.1.12 because 0.1.12 was staged by a commit
that never shipped: the channel still serves 0.1.11, and this batch has
grown well past what that commit described.
Six reported issues:
- 系统小图标改为黑白单色模板图,由系统着色。
- 应用图标与托盘共用一份几何,但在 Dock 与界面里保持彩色。
- Windows 一键安装运行组件必然失败,四个独立原因藏在同一处。
- 钉在屏幕上的图片新增可用的放大/还原按钮。
- 「最近使用」的收藏行带上常驻指示器。
- 新固件在主面板顶部提示,点一下跳到设置 → 软件更新。
- 参照 nex_squid 降低闲置开销:四处采样节奏加上最近列表只解码视线内的图片。
Verified on this host: 191 Rust and 51 frontend tests, `cargo clippy -D
warnings`, and a GUI pass against a signed feed advertising 9.9.9 — the
banner appears on both the probe launch and a later same-day relaunch with
the feed unreachable, so the notice really is restored from disk.
The Windows install fix still wants a real Windows host: the exact prose a
dismissed UAC prompt prints, and whether each package accepts
`--scope user`, are handled defensively rather than verified.
Co-Authored-By: Codex <noreply@openai.com>
Versions, release docs and the ledger's version row for the two installers.
Both artifacts were built from this tree with the release key baked in, so
either one can verify the signed channel: `Shift-0.1.12-macOS-universal.dmg`
(universal, `Signature=adhoc`, `codesign --verify --deep --strict` and
`hdiutil verify` both clean, no notarization) and
`Shift-Setup-0.1.12-win-x64.exe` (cross-compiled, PE machine `0x8664`
checked, the platform's own frontend confirmed embedded).
Four reported issues, and the fifth request:
- 系统小图标改为黑白单色模板图,由 `scripts/build-tray-icon.py` 重绘。
- Windows 一键安装组件:winget 的良性退出码、未钉源导致的挂死、缺失的提权
路径,以及装完后进程内 PATH 仍是旧值,四个原因都在同一处。
- 钉在屏幕上的图片新增可用的放大/还原按钮。
- 「最近使用」的收藏行带上常驻指示器。
- 参照 nex_squid 降低闲置开销:伴生进程、Windows 手势监视、发现线程与主窗口
时钟四处采样节奏,外加最近列表只解码视线内的缩略图。
The Windows install fix still wants a real Windows host: the exact prose a
dismissed UAC prompt prints, and whether each package accepts
`--scope user`, are both handled defensively rather than verified.
Co-Authored-By: Codex <noreply@openai.com>
Versions, release docs and the ledger's version row for the two installers.
Both artifacts were built from this tree with the release key baked in, so
either one can verify the signed channel: `Shift-0.1.11-macOS-universal.dmg`
(ad-hoc signed, `hdiutil verify` valid, no notarization) and
`Shift-Setup-0.1.11-win-x64.exe` (cross-compiled, PE machine `0x8664` checked,
frontend confirmed embedded).
The Windows drop fix needs a real Windows host before it can be called done:
this forge has no second machine, and the two delivery paths that went silent
are exactly the ones only WebView2 exercises.
Version and release docs for the two installers.
The ledger's drop-gesture section now says which release did what: 0.1.9 removed
the action-ring fallback and added the explaining toast, 0.1.10 removed the toast
and the panel's own drag animation. Both were written as one change until the
published 0.1.9 tree was checked, and it still had the toast and the is-dragging
rule.
Version, the release docs and the engineering ledger for the two installers.
The ledger gains a section on the Runtime components panel, because the bug it
records was invisible rather than broken: a dropped `return` made macOS answer
the document-PDF row with a Pandoc pipeline it never uses, so the panel reported
a missing component with no way to install it. The section states the invariant
that a row may not read as missing unless it also offers a way forward, which is
the part a future refactor is most likely to lose again.
README sections that described dropping files as "opens the action ring" now
describe the aimed rule, and the capture-behaviour option is gone from the
Settings tour.
An upgrade emptied the "Send to a device" list, with nothing in the UI to say why.
share.rs was not the cause: the last commit to touch it is b732b91, which only
recorded received files in the history library.
The cause is the macOS Local Network grant. Builds are ad-hoc signed, so every
rebuild is a new code identity, and the grant is keyed to that identity rather than
to the bundle id - 系统设置 now holds five Shift rows, one per build this machine has
run. The declared NSLocalNetworkUsageDescription was missing, so a new identity was
never asked and simply received no group traffic: beacons still went out, direct
unicast was still answered, only the list stayed empty.
That declaration is bc5d3b8. Both READMEs and the packaged macOS note now name the
permission and say what a denial looks like, because unlike Screen Recording it
produces no error - just an empty list. The Developer ID item in M5 records that
this has now actually cost a user a feature, not merely "may reset approvals".
Also ships the Updates panel button pair from 22ff93a, which was merged after 0.1.4
and never published.
Gates: cargo fmt --check clean, cargo test --lib 152 passed / 2 ignored, pnpm check
clean, pnpm test 38 passed. Channel verified by downloading both artifacts back
from the raw endpoint and re-hashing against the manifest, and by the ignored feed
test run with the release key. 55,504,368 B DMG and 24,521,557 B installer.
Three conversion fixes since 0.1.3, all found with the same two documents:
- DOCX -> PDF kept the text and dropped the pictures, because AppKit's OOXML
reader returns an attributed string with no attachments at all. An image-bearing
DOCX now goes through Pandoc into HTML before the same printer, which keeps
headings, tables and figures. Image-only DOCX files still take the page-scan
path, and a machine without Pandoc falls back to the old text-only result
rather than failing.
- Markdown -> DOCX/RTF/HTML lost the same figures for a different reason: a
Markdown image is a path, Pandoc has to open the file to embed it, and it
resolves that path against its own working directory, which for a running Shift
is nowhere near the document. It now gets --resource-path of the source folder.
- A picture that did arrive printed as a cropped fragment. The layout sizes an
attachment from the density header in the file - 72 dpi when it carries none -
and ignores CSS, so a 1600 px screenshot asks for 1200 points on a 595 point
page. The renderer fits oversized attachments to the text column, scaled and
not resampled. Markdown and HTML documents with wide images are covered too.
The Updates panel's install and discard buttons are one matched pair now, sized to
the panel's own 12px scale instead of the dense 8.5px rows of the Runtime tab they
were borrowed from, and the row drops the discard control while an install is
counting down.
Gates: cargo test --lib 152 passed / 2 ignored, pnpm check clean, pnpm test 38
passed. Artifacts verified from the built bundles, not the build log: the DMG
carries 0.1.4, x86_64 + arm64, Signature=adhoc, and its bundled doc-render places
a wide image at 499pt inside the page; the Windows exe carries the feed URL and
the release public key.
The Updates tab drops the "installs the ... artifact" chip, and the state label
now leads the status row instead of floating right, since the version it used to
sit beside moved into the header.
The file list no longer disappears on upgrade:
- The library already lived in the app data directory, outside the bundle, so an
in-app update or reinstall never touched `history.json`. What it never had was a
bridge from the store 0.1 used: that list lived in the webview's own storage,
which a reinstall does not survive, so the first launch of a newer build showed
an empty Recent list over files that were all still on disk.
- `history_import` merges those rows once, on the first launch after an upgrade.
An entry the library already lists keeps its own timestamp, the kind is
re-derived from the file rather than taken from the older store's guess, and the
legacy key is dropped only after the merge succeeds so a later upgrade cannot
resurrect rows the user has since removed.
- `HistoryEntry.kind`/`.at` gained serde defaults, so a row from the older store
degrades to a usable entry instead of failing the whole import.
Verified on this machine that the legacy `shift.recent` key is still present in the
installed app's webview store, so the import has rows to adopt.
Gates: cargo fmt --check clean, `cargo test --lib` 149 passed / 2 ignored,
`pnpm check` clean, `pnpm test` 38 passed, `pnpm build` ok.
Updates now finish without leaving the app. After the SHA256 gate, macOS replaces
its own `.app` from the downloaded disk image and Windows runs the same NSIS
installer with `/S`; both from a detached helper that waits for this process to
exit and then opens the new copy.
- `update.rs`: `bundle_path` (is this a bundled run?), `can_replace` (is the
enclosing folder writable — checked before quitting, not after), and the two
handoff scripts. Every macOS failure path still `open`s the bundle it had, so a
failed swap leaves Shift running rather than closed.
- `windows-installer.nsi`: `${Silent}` skips the "Shift is running, close it?"
box, which would otherwise abort an update nobody is there to answer.
- `useUpdate.ts`: a failed install reports its own error and keeps the verified
download, instead of downgrading a "ready" status to "error".
The Updates tab now leads with two lines above everything else: system,
architecture and running version, then the feed URL. The header no longer repeats
the version in the status row.
Verified end to end on macOS: a 0.1.1 bundle swapped by the published 0.1.2 image,
`codesign --verify --deep --strict` clean afterwards, image detached, and the
busy-image path shown to reopen the old copy.
Gates: cargo fmt --check clean, `cargo test --lib` 146 passed / 2 ignored,
`pnpm check` clean, `pnpm test` 34 passed, `pnpm build` ok.
Update path
- `src-tauri/src/update.rs`: manifest fetch, semver compare, optional ed25519
signature check against a key baked in at build time, then a size + SHA256
gate before an installer can run. `UpdateStatus` now reports the artifact key
it resolved so the UI can name what it will install.
- Settings → Updates panel shows the feed, the check/download state machine, and
the local OS, architecture and release artifact for this machine.
- `scripts/publish-release.sh` + `scripts/release-key.py` publish installers and a
signed `shift-update.json` onto an orphan `releases` branch.
Scope trims requested for this release
- Settings: the Radial rings tab is gone, so ring orders are read from
`settings.json` with no in-app editor for now.
- Main window: the update entry in the header bar is gone; updates live in
Settings → Updates only.
- Release targets are macOS universal and Windows x64. ARM64 and Linux stay
buildable and are no longer published; `docs/RELEASE.md` records the decision.
Gates: cargo fmt --check clean, `cargo test --lib` 142 passed / 2 ignored,
`pnpm check` clean, `pnpm test` 34 passed, `pnpm build` ok.