GridCraft 0.14.2 于 2026 年 10 月 31 日发布,距 0.13.0 三天,没有发布 0.14.0 和 0.14.1。这一版的重点是宏:GridCraft 自己的宏,可以在软件里录制、修改和调试。它还修复了一个导致 Excel 加密工作簿打不开的问题,给 Flatpak 版加上了网络和打印权限,并新增了 FreeBSD 的 ARM64 版。另有许多小修复,让工作表函数在边界情况下的结果和 Excel 一致。
中文界面
- Mac 上的打开、保存面板跟随界面语言了。 以前不管 GridCraft 显示成什么语言,系统的打开、保存面板和“是否替换”之类的对话框都是英文。现在应用声明了它带的界面语言,用中文界面时这些系统对话框也是中文。
宏
GridCraft 的宏不是 VBA。一个宏是一串 GridCraft 命令,带有声明好的输入,保存在工作簿里,整次运行算作一步撤销。
- 「自动化 › 宏」组里有「录制宏」(录制时变成「停止录制」)、「使用相对引用」和「运行宏」(列出最近用过的宏)。状态栏显示「正在录制」和步数,旁边有「停止」按钮。
- 「录制宏」对话框要求填写名称、一个空闲的 Ctrl+Shift 快捷键和说明。「宏…」对话框列出工作簿里的宏、自动化脚本和 VBA 工程,可以运行、单步执行、编辑、新建、删除和设置选项(对话框里的按钮在中文界面里暂时是英文)。
- 分步编辑器逐行显示每一步,左边可以设断点。可以拖动调整顺序,从列表里挑命令,在相对引用和绝对引用之间切换,并用调试栏运行:检查、运行、单步、继续、运行到此处,以及停止时保留或撤销修改。表格上会标出宏的输入、它要写入的单元格和冲突的地方。
- 写入之前先算好位置。 如果宏的结果会落在已有数据上,GridCraft 会问你:覆盖、把单元格下移或右移,还是停止。
- 动文件之前先问你。 要读写文件的宏,或者随打开的工作簿一起来的宏,要你确认后才运行,而且它的其他步骤完全碰不到文件。
.xlsm 文件里的 VBA 工程仍然会在保存时保留,但从不运行。
文件和密码
- Excel 加了打开密码的工作簿又能打开了。 从 0.12.1 起,GridCraft 校验加密工作簿的完整性时用了长度不对的密钥,结果凡是 Excel 加密的工作簿都会报错“the decrypted data failed its integrity check”。如果 0.12.1 或 0.13.0 拒绝过你的文件,请再试一次。被篡改的文件仍然通不过校验,密码错误也照样会提示。
- 新工作簿有了作者名。 新建的工作簿会把 GridCraft 偏好设置里的用户名(没改过就是“GridCraft User”)写成作者。打开的工作簿保留原来的作者。
- 给脚本用的 CSV 导出可以写原始值(
file.exportCsv 加 values: true):完整精度的数字、ISO 格式的日期和原样的文本,而不是单元格显示的样子。「另存为」CSV 不变,和 Excel 一样写显示的文字。
编辑
- 删除时不再清掉被筛选隐藏的行。 以前对筛选后的选区按 Delete 或用「清除」命令,看不见的行也会被清空,数据悄无声息地丢了。现在和 Excel 一样,跳过被筛选隐藏的行。手动隐藏的行仍会被清除。
- Ctrl 加小键盘的 + 插入行、列或单元格,和 Excel 一样。
- 在公式里点选引用时按 Ctrl+方向键,会跳到数据区域的边缘;Ctrl+Shift+方向键把引用扩展到那里。
- 点击状态栏上的统计值(求和、平均值等)就能复制它;右键打开统计项菜单。
- 编辑已有的单元格超链接又能用了;「填充序列」不会因为浮点误差多填一格;固定行高的行里,自动换行的文字底部不再露出半行。
- 复选框单元格在打印、打印预览和导出 PDF 时显示为方框,而不是 TRUE 和 FALSE。
Linux 和 FreeBSD
- Flatpak 版能检查更新和打印了。 它获得了网络权限(启动时检查更新需要),能找到 CUPS 打印机并打印,还能读取 ArtCraft Launcher 保存的版本选择。
- FreeBSD 的 ARM64 版有了单独的压缩包,和 x86_64 版并列。
Mac
- 更新提示显示 GridCraft 的图标和主题色,而不是一个字母。
安全
- 控制通道(用
--control 启动 GridCraft 时)在 Windows 上也严格执行 10 秒内必须发送令牌的规定,并限制同时等待的连接数。
- 专门构造来卡死 GridCraft 的公式,比如让 XMATCH 拿一百万个值去查一百万个值,现在会以
#NUM! 结束,而不是在打开文件时跑上几个小时。
- 网页版里,从工作簿链接打开的网页不能再反过来控制 GridCraft 所在的标签页。
函数
很多函数在边界情况下的结果改得和 Excel 一致:新增 ECMA.CEILING;HYPERLINK 不写显示文字时返回链接本身;FIXED、DOLLAR、进制转换函数、BITLSHIFT 和 BITRSHIFT、UNICHAR、IMSQRT、HARMEAN,以及 T、F、伽马、韦伯、二项和贝塔分布,都修正了取值范围和错误值。
怎么更新
如果你用的是 0.13.0,启动时 GridCraft 会提示更新到 0.14.2(被 ArtCraft Launcher 固定在其他版本的除外)。也可以到下载页下载最新版,新版会替换旧版,设置不受影响。各系统的具体做法见下载指南。
这份说明是我们根据下面的改动列表和对应的拉取请求(pull request)写的,并没有逐项实测。
全部 57 项改动
列表取自 GitHub 发布页,是开发团队的英文原文。
- Grant network access so update checks can reach GitHub #2841
- Honor CARGO_BUILD_TARGET in FreeBSD packaging for aarch64 release builds #2847
- Macro interface: Automate › Macros, Macros and Record Macro dialogs, step editor with a debugger #478
- Macro engine: macro tokens, resolved to A1 references when a step runs #2151
- Macro engine: the macro recorder and macro.list, get, save, delete, rename, record #2152
- Macro engine: typed macros saved in the workbook #465
- Macro engine: macro.run with input checks, a file-access policy and a check of each step #2144
- Macro engine: macro.debug steps through a macro as one undo step #2145
- Macro engine: macro.check and a footprint dry run, worked out before a macro runs #2550
- Clear: Delete and the Clear commands skip the rows a filter hides (#1419) #1422
- packaging: Flatpak finds and prints to CUPS printers #2913
- CI: workflows only call craft-common-actions at @main (AGENTS.md; windows-arm64 unpinned) #2921
- Update prompt shows the app icon and accent color instead of a letter #2928
- Fix pretend-version testing for update prompts #2934
- fix(engine): set default workbook author (#2448) #2726
- fix(keyboard): Ctrl with the numpad's + inserts rows, columns or cells, as in Excel #2769
- fix(grid): prevent partial wrapped text lines in fixed-height rows #2817
- Open Excel's password-protected workbooks again: accept a hash-size integrity key (#2712) #2870
- Fix editing existing cell hyperlinks #2883
- Keep Fill Series value equal to stop despite float drift #2888
- Keep chart source outlines beneath floating objects #2896
- Formula pointing: Ctrl+arrow and Ctrl+Shift+arrow jump to the edge of the data (#2918) #2919
- Refusal to shift cells off the worksheet names GridCraft, not Excel (#2941) #2955
- macOS menu test: use the whole native menu, so clippy passes on a Mac #2970
- Click a status bar statistic to copy its value #2620
- macOS: declare the UI languages so the open and save panels are translated #2627
- CSV export: opt-in values: true writes raw cell values (#2648) #2666
- IMSQRT: reproduce Excel's stray real part for negative reals #2670
- Engine test: copying a sheet that holds a spill matches a full recalc (#2053) #2708
- fix(engine): gate the temp-name symlink test to unix #2713
- Security: web links open with noopener as a window feature (#2715) #2718
- Security: cap the work of lifted lookups with #NUM! (#2716) #2719
- Security: control channel enforces its token deadline and caps waiting connections (#2717) #2722
- functions: add ECMA.CEILING #2794
- HYPERLINK without a friendly name returns the link as text #2795
- Fix AutoSum caret in empty formula #2851
- fix(flatpak): allow reading launcher version pins #2985
- Print checkbox cells as boxes, not TRUE/FALSE (#2972) #2982
- Print structured refs to columns starting with @ in double brackets #2983
- Reject whitespace in base conversion source strings #2989
- Validate places for negative base conversions #2990
- Return zero for oversized shifts of zero bit values #2991
- Return #N/A for Unicode noncharacters in UNICHAR #2992
- docs(releasing): M13: correct outdated prerequisites #2993
- match Excel single-character casing #2994
- avoid binary noise in fixed decimal text #2995
- enforce fixed and dollar output limits #2996
- retain dollar sign when rounding to zero #2997
- F distribution accepts 10-billion degrees of freedom #2998
- Match Excel errors for zero T.DIST degrees #2999
- Stabilize Student-t density for large degrees of freedom #3000
- T.INV returns division error at zero probability #3001
- GAMMA.DIST returns NUM at zero and shape one #3002
- WEIBULL.DIST density is zero at zero #3003
- cap binomial trial counts #3006
- match beta density endpoint errors #3007
- return NA for empty harmonic mean input #3008
GitHub 上的全部改动 →