Repository navigation
Yew Harness 1.8.0
新增
- 版本与更新:设置的「关于」里写着当前版本。后台的 Yew Harness 比电脑上装着的旧时(装了新版本、拉了新代码却还没重启),关于页和侧栏的 Yew 会提醒,可以一键重启;有会话在运行时,可以等它们停下后再重启。
- 用 npm 全局安装的,每天向你的 npm 所用的源查一次新版本,只查版本号,可以在关于页关掉;有新版本时关于页和侧栏的 Yew 会说,点「更新到 x.y.z」就装好,并换上新的 Mac 应用,重启后用上。没有写入权限、或不是 npm 全局安装时,给出要在终端运行的命令。从源码运行时不查。
- 安卓应用每天向 Gitee 查一次新版本,关于页给下载链接,可以关掉。
变更
- 隐私政策更新到 2.8:写明检查新版本时向哪里查询(npm 所用的源,默认是境外的 registry.npmjs.org;安卓是 Gitee)、请求里只带版本号、对方会看到你的 IP 地址,以及在「关于」里关掉;点「更新」时 npm 从同一个源下载新版本。
修复
- Mac 应用打开时不再闪一下:窗口一开始就是界面的底色,页面画好了才显示;Yew Harness 已经在运行时,不再先出现「正在启动」。你在「个性化」里选了浅色或深色时,窗口也用它,下次打开直接是这个颜色。
- 选了浅色或深色主题时,打开页面不再先按系统的深浅色画一下再换过来;开场不再先露出一下「加载中」。
- 用鼠标打开设置、对话框和菜单时,第一项上不再自动出现聚焦环(Safari 和 Mac 应用里会这样);用键盘操作时照旧显示。
手机端
- 安卓版
Yew-1.8.0.apk:和 1.7.0 相比,新增每天向 Gitee 查一次新版本(关于页给下载链接,可以关掉),应用里的隐私政策和用户协议更新到 2.8。签名证书没有变,SHA-256 指纹是9F:F5:6E:EA:A8:3C:DC:01:BA:66:D8:79:23:9C:DE:5A:2A:69:C3:AE:D2:60:5C:D8:E1:B9:34:8D:BF:28:61:B2。安装包从提交 2ca66b2 构建,也就是标签 v1.8.0 指向的提交。 - 安装包
Yew-1.8.0.apk的 SHA-256:014194339f9843060b43648d772c1642fd0fdab0c10e34b209e7a26657d0b8fe,和附件SHA256SUMS一致。 - iPhone 版之后经 App Store 发布。
电脑端:npm install -g @tenonai/yew。已经装了 1.8.0 的,以后在设置的「关于」里一键更新。Linux 上的系统沙箱要先装 bubblewrap、socat 和 ripgrep。
English
Added
- Versions and updates: About in the settings shows the version you run. When Yew Harness in the background runs older code than is installed on the computer (a new version installed, or new code pulled, without a restart), About and Yew in the sidebar say so, with a one-click restart; while sessions are running, it can wait for them to stop.
- Installed globally with npm, it asks the registry your npm uses for a new version once a day, only the version number, and you can turn that off under About. When there is one, About and Yew in the sidebar say so; "Update to x.y.z" installs it and puts the new Mac app in place, and a restart takes it up. Without write access to the folder, or when it was not installed globally with npm, it shows the command to run in a terminal. Running from source, it does not check.
- The Android app asks Gitee for a new version once a day and links to the download under About; you can turn that off.
Changed
- The privacy policy is now 2.8: where new versions are checked (the registry your npm uses, registry.npmjs.org outside mainland China by default; Gitee for Android), that the request carries only the version, that the other side sees your IP address, and that it can be turned off under About; when you click Update, npm downloads the new version from the same registry.
Fixed
- The Mac app no longer flashes as it opens: the window has the interface's background from the start, and the page shows once it is drawn; when Yew Harness is already running, "Starting" no longer shows first. If you chose light or dark under Personalization, the window uses it too and opens in it next time.
- With light or dark chosen, a page no longer draws in the system's appearance first and then turns; the opening no longer shows "Loading" for a moment first.
- Opening the settings, a dialog or a menu with the mouse no longer puts a focus ring on its first item (Safari and the Mac app did); with the keyboard the ring shows as before.
Phones
- Android
Yew-1.8.0.apk: compared with 1.7.0, it checks Gitee for a new version once a day (with a download link under About; you can turn it off), and the privacy policy and terms in the app are 2.8. The signing certificate is unchanged, SHA-256 fingerprint9F:F5:6E:EA:A8:3C:DC:01:BA:66:D8:79:23:9C:DE:5A:2A:69:C3:AE:D2:60:5C:D8:E1:B9:34:8D:BF:28:61:B2. The package is built from commit 2ca66b2, the one tag v1.8.0 points to. - SHA-256 of
Yew-1.8.0.apk:014194339f9843060b43648d772c1642fd0fdab0c10e34b209e7a26657d0b8fe, as in the attachedSHA256SUMS. - The iPhone app comes through the App Store later.
Computer: npm install -g @tenonai/yew. From 1.8.0 on, update with one click under About in the settings. The system sandbox on Linux needs bubblewrap, socat and ripgrep installed first.