v3.52026-10-28
v3.5 是 v3.4 大版本之后的修复打磨版,积压 issue 已基本清空,同时带来三处安全修复。
安全方面:.pickle 默认不再加载,需手动设置 pandasallowpickle(反序列化会执行文件中的任意代码);unzip_http 与 eml 的解压均拒绝越出目标目录的路径,对应 CVE-2026-41958(Zip Slip)与 CVE-2026-42532(路径穿越)。若常打开来源不明的文件,建议尽快升级。
功能上,PostgreSQL loader 整体重写:可用 postgres://host/dbname/tablename 直接开表,配合 exec-sql/edit-sql 懒加载流式浏览大表,连接信息沿用 libpq 配置,目前仅支持只读;新增原生 DuckDB 读写支持。另有 type-decimal 货币与会计负数解析、undo-redo-input、llm-query-sheet 等新命令。
细节变化:文本格式中 dict、list 单元格默认存为 JSON;Join 的 concat 改为按位置匹配列名,按名匹配用 append;宏录制可安全保留花括号;隐藏列跨显示切换保留宽度,emoji 等宽字符显示与换行也做了修正。
v3.42026-07-01
It's been the better part of a year since v3.3, and v3.4 is a big one: new features across the board, a thorough pass on markup rendering, and dozens of bugfixes.
Highlights:
- Search highlighting (hlsearch): every match for / and g/ is now highlighted in place; toggle with options.highlight_search. (#2861)
- Human-readable keys everywhere: the "prettykeys" overhaul means all bindings display with readable names (Ctrl+Up, Alt+d, …) in help, menus, and status. (#2594)
- Smarter -f: filetype now separated between input and output, with -f for the input filetype, and -of for the output filetype, which supports compound format+compression types like json+gz; an explicit -f also overrides URL-scheme dispatch.
- Define your own commands in-session: define-command <longname> <execstr>, with currow.<ColName> available to read the cursor row's values. (#655)
- Save edited options straight to your config with z Ctrl+S. (#2206)
- Split-pane file preview on the DirSheet. (#3024)
- Customizable cell-editing keys via vd.editCellBindings. (#2986)
- Jump to any sheet by name with jump-sheet (with tab-completion).
- Change displayed float precision with setcol-precision (Alt+-/Alt++/g%).
- Drop into an interactive $SHELL with exec-shell.
- Aggregation bar showing aggregate totals. (#2209 #2995)
- Fuzzy input-history palette. (#2684)
- Macros now support keystroke bindings and input parameters. (#2784 #2785)
- Smarter SQLite exec-sql: named queries, types, and edit-sql. (#2136 #3020)
- GeoParquet support: decode WKB geometry and plot it.
- vdsql improvements: multi-schema browsing (#2027) and SQL shown in the sidebar (#2200).
- S3 recursive directory listing and anonymous-mode access.
- Better HTML tables: handle interspersed th/td and rowspan. (#1346 #1308)
- CSV now skips blank lines. (#3085)
- New adwaita light and dark themes. (#3006)
- An embedded ptipython REPL. (#2736)
- A command server for scripting VisiData.
- Experimental: vdaw, a transcript-based audio editor.
- Experimental: an llm plugin to analyze columns with Anthropic Claude. (#2947)
- Experimental: searchgeo**, bbox-overlap helpers for STAC catalogs.
Thanks to @midichef for a huge share of the bugfixes and improvements in this release, and to everyone who contributed: @daviewales, @meestahp, @pequiste, @maxim-uvarov-ai-assistant, @terencelaurent, @mplattner, @weichm, @iamleot, @ilyagr, @haoyeau, @rsmirnov90, @egwynn, @Tjorbenn, @Jonathan-Haddock, @leimgruberf, @justin2004, @tabibeyal, and @Jaredy899.
And thanks to Anthropic for providing @saulbert with tokens these past few months as part of their open source program; we shipped several features we wouldn't have been able to do otherwise.
Please see the CHANGELOG for the full list of changes.
v3.3: bugfixes mostly2025-09-08
This release includes dozens of bugfixes, and makes it easier to disable certain interface features.
- added options.disphelpflags; deprecated options.disp_expert
- these feature flags are supported: cmdpalette hints nometacols guides inputkeys inputfield all
- see helpstr for more details
- set option to '' to turn off all help overlays
- fix: include missing files in MANIFEST.in @chenrui333
Thanks to @midichef for most of the following following bugfixes and improvements.
Improvements
- [csv] auto-detect CSV format when csv_delimiter is specified @dennisangemi
- [basesheet-] start new column names fresh for each sheet
- [cmdpalette-] keep case of results, allow case-sensitive search
- [cmdpalette-] scroll choices with PageUp/PageDown
- [cmdpalette-] hide choices that do not match input
- [sheets-] on reload, fetch fresh data for URLs
- [tar-] add cols for ext and file type desc, use name as keycol
Bugfixes
- [archive-] fix loading zip files from inside archive files
- [curses-] fix crash on startup on NetBSD @russ
- [input-] fix editText for files on command line with -b -i -p (#2840)
- [plugin-] fix autoload for Python versions < 3.10
- [macro-] fix corruption when saving macros after deletion #2787
- [reload-] wait for any previous reload_rows to finish #2808
- [resize-] fix resize-col-half for new columns with no rows #2795
- [sheet-] fix reload on sheets without col layout #2790
- [status] fix error when no help_sidebars
Cosmetic
- [freqtbl-] stop printing status for selection on source sheet
- [input-] handle screen resize during inputMultiple(), editCell(), input()
Please see the CHANGELOG for the full list of changes.
v3.22025-06-15
这版对界面和稳定性做了一轮打磨,改动集中在日常操作手感上。配置目录改用 XDG 规范,默认路径从 $HOME/.visidata 迁到 $HOME/.config/visidata——升级前记得把宏、输入历史和插件一并搬过去,否则会找不到。WSL 里可以直接用 Windows 剪贴板,Windows 下鼠标也支持了。新增 .psv 竖线分隔文件加载器,NumPy 加载器支持二维矩阵。表格操作添了两条新命令:addcol-aggregate 与 addcol-rank-sheet,可直接插入聚合值列和排名列;g- 绑定到 hide-uniform-cols,一键收起全同值列。命令面板修了两处匹配问题:空格分隔词条的打分不再出错,模糊匹配改为大小写不敏感。频表选行的性能和内存占用也明显改善,浅色主题、状态栏表单列表、若干指南页同步更新。完整清单见 CHANGELOG。
v3.1.12024-10-14
VisiData v3.1.1 发布,这版以界面改进和缺陷修复为主。操作上,Ctrl+G 在主模式和输入模式下都能切换侧边栏,状态栏新增工作表标签,点击即可跳转;隐藏列会在表格右缘留下标记,按 _ 重新展开。底部行现在即时异步汇总各列聚合器的结果,图表则支持按自定义 x/y 坐标绘制参考线。
新增两个选项:options.maxrows 用于提前停止加载大文件,options.dispexpert 精简界面。新命令包括 addcol-histogram(对任意数值列直接画直方图)、go-col-name(按列名跳转),以及 ColumnsSheet 上的 plot-source-selected。加载器方面新增 msgpack 与 grep,后者可直接读取 grep/ripgrep 的输出。
这版同时移除了对已停止维护的 Python 3.7 的支持;v3.1.1 补丁另修复了一个打包错误,完整改动见 CHANGELOG。
v3.0.2 more bugfixes2024-01-16
v3.0.2 是一个补丁版本,集中修掉了几处影响日常使用的问题。工作表复制后排序状态错乱的老毛病这次有了更稳妥的处理(#2190、#2254);命令面板只给前 10 条建议分配快捷键,避免快捷键冲突(#2242);输入时的帮助侧边栏现在会盖在工作表之上,不再被遮住(#2241),侧边栏的开关快捷键也会显示在帮助提示里(#2250)。另外新增 --guides 命令行选项,可直接打开指南目录,并为跑测试补装了所需的 PyPI 依赖。
v3.0.1: bug fixes2024-01-08
v3.0.1:修复若干必改问题的补丁版本。触发这次发布的关键修复包括:dup-selected 复制后会取消新表中所有行的选中状态(#2225);命令面板里只要输入了部分内容,回车就会执行第一行(#2219);Python 3.12 下 expr 遇到非法输入会抛 KeyError 崩溃(#2179);单元测试改用随包分发的 sample.tsv 和 benchmark.csv(#2218)。
另有几处小改动:新增 options.colorlongname,可在命令长名显示上替代 colorkeystrokes;命令面板为长名与聚合器面板加上侧边栏;新增 show-command-info,按键即可查看命令说明;测试方面补充了 assert-expr 与 assert-expr-row,用于求值 Python 表达式并断言结果为真。
v3.02023-12-31
VisiData 发布 v3.0(2023-12-30),距 v2.11 一年间已积累 1600 余次提交。官方对三代的定位很直白:1.x 是库,2.x 是平台,3.x 则更像开箱即用的产品,应用和插件随包附带。
交互上的改动最明显:侧边栏除状态信息外,还会按上下文展示帮助面板;按空格键唤出命令面板,模糊搜索即可执行命令;主题支持切换,试试 vd --theme=light 或 vd --theme=asciimono;帮助与指南触手可及,例如 vd -P open-guide-index。多数第三方插件和格式加载器(含 vdplus)也一并打包发布。
从 2.x 升级基本顺滑,只需运行 vd2to3.vdx 把宏列表由 tsv 转成 jsonl,并将 {options.inputhistory}.jsonl 改名为 inputhistory.jsonl(该选项已废弃)。少数 API 变动可能影响插件和 .visidatarc 中的自定义代码,完整清单见 CHANGELOG。
v2.11.1: Python 3.12 support2023-07-18
v2.11.1 主要修复了 Python 3.12 中 Path 模块接口变动导致的兼容问题,为此发布了一个补丁版本,同时顺带捎上了一批体验改进:选择器(chooser)操作手感更顺、定宽保存器输出更规整、频数表与各类图表的显示效果调整、JSON 列的呈现也更清晰。更新内容不多,但用起来比上一版舒服不少。完整清单见 Changelog。
v2.11: lots of bugfixes2023-01-16
VisiData 发布 2.11(2023-01-15),这是 3.0 大改版前的最后一次维护版本;未来两周若无重大问题,就会打包进入 Debian。
兼容性上有变动:不再支持 Python 3.6,转而支持 Python 3.11。
另有若干小改进和修复,挑两处说说:用 dup-sheet(")复制工作表时,会连同 add-column 新增的列属性一并带过去;另外加入了一种新的连接方式 "concat",效果类似 "append",但保留首张表的类型与列结构。针对某类常见用法,细节仍可能调整。完整改动见 CHANGELOG。