Skip to content

v0.1.7

Choose a tag to compare

@github-actions github-actions released this 19 Nov 04:15
· 27 commits to main since this release

新功能 / What's new

插件商店 / Plugin store

  • 在「设置 → 插件 → 商店」粘贴商店地址即可添加,浏览和安装其中的插件;从商店安装同样要先确认权限。商店是任何 HTTPS 服务器都能托管的一组签名静态文件,首次添加时记住它的公钥,之后的目录和插件包都要用这把公钥验证,不能回滚到旧目录。
    Add a store under Settings → Plugins → Store by pasting its address, then browse and install its plugins; installs still go through the permission review. A store is a set of signed static files that any HTTPS server can host. Its public key is remembered when you first add it, and every later index and package must verify with that key and cannot roll back to an older index.
  • 主窗口启动后会检查更新,有更新时显示提示条。「全部更新」直接安装不需要新权限的更新,需要新权限的留给你逐个确认。插件只接受来自原商店的更新和撤销。
    The main window checks for updates after it starts and shows a notice when there are any. Update All installs updates that ask for no new permissions and holds the others for you to review. A plugin only takes updates and revocations from the store it came from.
  • 已安装的插件(包、启停、隐藏的入口、插件配置)和商店列表现在随配置同步,属于新的「插件」类别。旧版本的数据在首次启动时自动迁移。
    Installed plugins (packages, enabled state, hidden entries, configuration) and your store list now sync with your settings under a new Plugins category. Existing data is migrated on first start.
  • 发布自己的商店见插件商店指南。
    To publish your own store, see the plugin store guide (Chinese).

插件弹窗大小 / Plugin dialog size

  • 内容弹窗默认从 600×420 放大到 760×560。标题栏新增最大化按钮,也可以拖动右下角调整大小;拖出来的大小按插件和视图记在本机,双击右下角恢复默认。
    Content dialogs now open at 760×560 instead of 600×420. A new title bar button maximizes the dialog, and you can drag its bottom-right corner to resize it; the size is remembered per plugin view on this computer, and double-clicking the corner resets it.
  • 插件开发者可以在清单里给 dialog / settings 视图声明初始 size,也可以在页面里调用 nexterm.views.resize(),见插件开发指南。
    Plugin authors can declare an initial size for dialog / settings views in the manifest, or call nexterm.views.resize() from the page; see the plugin guide (Chinese).

按窗格的文本高亮 / Per-pane text highlights

  • 文本高亮规则改为属于各个窗格,只给这个窗格的输出上色,标签页移到其他窗口时一起带走。「管理文本高亮」打开当前窗格的高亮设置;设置窗口里原来的全局高亮页已移除,旧的全局规则不再保留。
    Text highlight rules now belong to each pane, color only that pane's output, and move with the tab to another window. Manage Text Highlights opens the rules for the current pane. The global highlight page in Settings is gone, and the old global rules are not kept.

最近的快速连接 / Recent quick connects

  • 会话栏「最近」里的快速连接地址新增「保存为会话」(用地址预填新建会话)和「从历史中移除」,在行上的按钮和右键菜单里都有。
    Quick connect addresses under Recent in the session sidebar now have Save as session (opens a new session prefilled from the address) and Remove from history, on the row's buttons and in its context menu.

改进 / Improvements

  • 支持只提供旧算法的 SSH 服务器(如 H3C 防火墙等老设备):在安全的默认算法之后追加 ecdh-sha2-nistp*、SHA-1 Diffie-Hellman、CBC 加密和 hmac-sha1,不再报 “No common Kex algorithm”。新服务器仍然协商安全算法。
    Connects to SSH servers that only offer legacy algorithms (older devices such as H3C firewalls): ecdh-sha2-nistp*, SHA-1 Diffie-Hellman, CBC ciphers and hmac-sha1 are offered after the safe defaults, so the handshake no longer fails with "No common Kex algorithm". Modern servers still negotiate the safe ones.
  • 在会话栏点击插件提供的会话时,如果 SSH 主机就是插件已获授权的 HTTPS 地址的主机,不再弹出插件连接确认。插件自己发起的连接和其他主机仍然需要确认。
    Clicking a plugin-provided session in the session sidebar no longer asks for confirmation when its SSH host matches an HTTPS origin the plugin is already allowed to reach. Connections the plugin opens on its own, and other hosts, still ask.

Full Changelog: v0.1.6...v0.1.7