GridCraft 0.13.0 于 2026 年 10 月 28 日发布,距 0.12.1 三天。这一版改变了 GridCraft 的安装、更新和窗口方式:它开始自己检查新版本,在 Windows 上不用管理员权限就能安装,每个工作簿都有自己的窗口。它还堵上了远程控制选项的一个安全漏洞,并把界面升级到新版的 egui 界面库。
更新
- 启动时检查新版本。 GridCraft 会向 GitHub 查询最新版本,有更新的版本时,提示你选择更新并重启、下载,或者稍后提醒。「自动化 › Check for Updates…」(Mac 上也可以用菜单栏的 Help › Check for Updates…,这两项在中文界面里仍是英文)可以随时手动检查,已是最新版时也会告诉你。请求里只有 GridCraft 和它的版本号,你不选就什么都不会安装。被 ArtCraft Launcher 固定在某个版本的不会提示更新,网页版也不检查。GitHub 在部分地区访问较慢,检查失败时不影响使用。
在 Windows 上安装
- 安装版默认只为当前账户安装,装在
%LOCALAPPDATA%\Programs\ArtCraft\GridCraft,不需要管理员权限。安装程序第一页会问谁使用 GridCraft;选 Everyone on this computer 就装到 C:\Program Files\ArtCraft\GridCraft,这需要管理员权限。以前的版本总是为所有用户安装,装在 C:\Program Files\GridCraft。已有的安装会在原位置升级;安装程序不允许再按另一种方式装第二份。
窗口
- 每个工作簿都有自己的窗口。 在桌面版里,「文件 › 新建」「文件 › 打开」和「视图 › New Window」都会打开一个系统原生窗口,各有自己的选区、正在编辑的单元格、对话框和功能区。Mac 上的菜单栏作用于你最后使用的窗口。
- 「视图 › New Window」在同一个工作簿上再开一个窗口,标题是“Book1:2”;以前它打开的是一个副本,副本保存时会覆盖原文件。Arrange All(全部重排)可以平铺窗口、左右并排、上下并排或层叠。
- 「视图 › Switch Windows」和 Mac 的“窗口”菜单会列出打开的工作簿,并标出没保存的。
- 一个工作簿开着好几个窗口时,关掉其中一个不会询问;关掉它的最后一个窗口或者退出时,会问你是否保存。在 Windows 和 Linux 上,关掉最后一个窗口就会退出。
- 在单元格里输入到一半就选「文件 › 新建」,输入的内容不会再悬在半空:它会先填进原来的工作簿。
这几个窗口命令在中文界面里暂时是英文。
安全
- 远程控制端口必须使用令牌。 用
--control <端口> 启动 GridCraft 时,以前本机的任何程序、甚至网页都能给它发命令。现在每个连接都必须先发送一个随机令牌,令牌由应用写在只有你能读的文件里,不发令牌的连接会被关闭。gridcraft-cli send 和 mcp --connect 会自动读取令牌;你自己写的脚本,需要从这个文件或 GRIDCRAFT_CONTROL_TOKEN 环境变量里取得令牌。
编辑和公式
- 对选中的一行用「自动求和」,合计放在这一行右边,和 Excel 一样,而不是在每个单元格下面各求一次和。
- 「行高」改用磅为单位,和 Excel 一样,默认行显示 15,而不是像素高度。
- 追踪引用单元格和从属单元格的箭头会停留在你追踪的那个单元格上,移动选区时不跟着走;工作簿一改动,箭头就消失。
- 编辑批注或备注时保留回复、已解决状态和日期;以前会把整段讨论替换掉。
- 「选项 › 公式」里有了迭代计算的“最多迭代次数”和“最大误差”。
- 删除行或列时,里面的迷你图一起删除,而不是挪到下一行或下一列。
- 选中整行或整列后按 Shift+方向键,视图不会乱跳;功能区下拉列表搜索不到结果后,列表能恢复原来的高度。
文件
- 保存 .xlsx 更快了:按开发团队的测量,20 万行的工作簿快了约 28%,写出的文件完全一样。
- 保存时保留每个工作表的内部编号,按编号识别工作表的工具和文件部件仍然找得到它。
- 打开 .xlsx 时,每个跳过的绘图对象和图表都会单独给出提示,而不是所有对象合并成一条。
图表
- Format Chart Area(设置图表区格式)窗格的图表类型列表(这个窗格在中文界面里暂时是英文)加入了堆积和百分比堆积的柱形图、条形图、折线图和面积图,并标出当前类型。
Linux
- 在 Wayland 桌面上能拖放文件了。 原生 Wayland 窗口收不到拖进来的文件,所以只要可以,GridCraft 就通过 XWayland 运行。想保留原生 Wayland 窗口,设置
GRIDCRAFT_WAYLAND=1。
网页版
- 把网页版嵌在框架里的网站,可以在地址里加
?chrome= 参数,隐藏它的标题栏和“文件”选项卡。
怎么更新
更早的版本不会检查更新,请到下载页下载 0.13.0 或更新的版本。在 Windows 上,新的安装程序会在原位置升级已有的安装。从 0.13.0 起,GridCraft 会自己提示新版本。各系统的具体做法见下载指南。
这份说明是我们根据下面的改动列表和对应的拉取请求(pull request)写的,并没有逐项实测。
全部 42 项改动
列表取自 GitHub 发布页,是开发团队的英文原文。
- Trace arrows stay on the traced cell when the selection moves #2481
- Make the Row Height dialog use points like Excel #2524
- Return None from datetime_from_serial when rounding carries past 9999 #2528
- Keep <scheme val="minor"/> on every body-font font on save #2557
- Fix PERCENTRANK returning #NUM! for very large significance #2417
- Scale MINVERSE rounding cutoff to the input matrix #2428
- Fix ISOWEEKNUM/WEEKNUM(…,21) for the first days of the calendar #2443
- web: let an iframe host turn off the title bar and File tab from the URL (?chrome=) #2444
- Fix IMSQRT leaving a stray real part for negative reals #2457
- Fix YEARFRAC basis 0 for February-end start and 31st end #2463
- Fix parsing of ranges whose second end repeats the sheet name #2473
- Options > Formulas: Maximum Iterations and Maximum Change fields #2493
- Shift+Arrow on a whole column or row keeps the view on the rows or columns it showed #2497
- feat(engine): open a saved workbook without recalculating it #2512
- fix(xlsx): keep each sheet's sheetId across a rewrite #2513
- fix(engine): editing a note or comment keeps its thread #2515
- Remove sparklines when their row or column is deleted #2551
- Print huge and tiny CLI numbers in exponent form #2552
- Warn for each skipped drawing object and chart on XLSX open #2555
- AutoSum: a selected row gets its total to the right, as in Excel #2561
- Sonar maintainability: explicit imports, method paths, smaller functions #2412
- Migrate GridCraft to egui 0.37 #2543
- feat: startup update prompt modal and direct self-updating #2566
- Security: the --control server requires an auth token and closes bad connections (#777) #783
- build: pin craft-update to craft-libs main (495e597) #2586
- build: pin craft-update to craft-libs main (495e597) #2591
- chore(deps): safe dependency refresh #2595
- Linux: default to XWayland for file drag-and-drop on Wayland desktops #165
- refactor: reduce cognitive complexity in auto_sum, update_cursor, read_styles #2609
- refactor: reduce cognitive complexity in outline layout and outline settings #2612
- Window per workbook (1/4): a cell draft stays in its workbook; Switch Windows #2616
- Window per workbook (2/4): windows in the engine; New Window shares the workbook #2617
- Window per workbook (3/4): a native window per workbook window #2618
- Window per workbook (4/4): two windows on one workbook without copying it; Arrange All #2619
- refactor: reduce cognitive complexity in options, python highlighter, i18n scanner, loop search #2611
- ci: require nextest 0.9.150 #2680
- refactor: shared module layout (craft-contrib#20) #2690
- fix(ui): dropdown menus grow back after a search with no matches #2743
- Speed up XLSX save by writing worksheet XML without per-cell allocations #2749
- Format Chart Area: Chart Type offers the stacked and 100% stacked types and marks the current one #2605
- Windows installation policy: GridCraft #2704
- Enforce Rust coding standards via Clippy #2711
GitHub 上的全部改动 →