Repository navigation
Releases
💫 Release v0.10.6
Fix detail navigation when thumbnail strips finish layout after text fields. Previously navigation anchors could omit the ten thumbnail rows and stay stale; dtflow now waits for all mounted text fields and thumbnail strips before calculating anchors, including additional detail batches.
The regression test reproduces a text-ready/image-pending layout and fails against the previous implementation. Validation: independent QA and Python 3.10/3.12 CI passed; 244 related TUI tests and all 1308 tests passed locally; Ruff/Black and distribution checks passed; an isolated 0.10.6 wheel ran the complete synthetic training-data workflow, exporting 252 valid samples from 308 inputs.
This patch follows the training-data export fixes in 0.10.5. The updated growth execution pack contains reproducible commands, two terminal demos and publication drafts for maintainer review.
💫 Release v0.10.5
For thumbnail navigation fixes, use the follow-up 0.10.6 release.
OpenAI chat exports to LLaMA-Factory now preserve messages/role/content and generate matching columns and role tags. Redirected dt export output is one JSON summary; success messages and file paths go to stderr and honor --quiet.
- Restore streaming CSV/TSV reads with current Polars using
collect_batches. - Fix the ShareGPT generator so all 100 demonstration rows convert and validate; keep malformed data in an explicit error fixture.
- Clarify dry-run limits and align the training-data workbench positioning.
- Add reproducible synthetic workflows, two short terminal demos, launch drafts and daily metrics tooling in the growth execution pack.
Validation: 1307 tests passed; changed-file Ruff/Black and wheel/sdist checks passed; independent QA passed. LLaMA-Factory 0.9.5's real parser verified standard text-chat mappings. An isolated wheel installation ran the complete 308-to-252-sample workflow successfully. Existing whole-repository hatch run lint:all failures remain; GPU, tool and multimodal training were not validated.
💫 Release v0.10.4
[0.10.4] - 2026-10-02
Bug Fixes
- view: 双击列头改名在人手常见节奏下丢失
Features
- view: 单击列头开值面板的延迟 0.15s → 0.2s, 提为常量 _HEADER_CLICK_DELAY
Full Changelog: v0.10.3...v0.10.4
💫 Release v0.10.3
[0.10.3] - 2026-09-30
Bug Fixes
- deps: Textual-image 放宽到 >=0.12.0, 恢复 Python 3.10/3.11 可安装
Full Changelog: v0.10.2...v0.10.3
💫 Release v0.10.2
[0.10.2] - 2026-09-30
Bug Fixes
- view: 缩略图 QA 修复 —— 同一 URL 并发下载临时文件唯一 (原先崩溃); 调分界/切布局/缩放时擦整屏释放 tmux 存图 (原先残影); 缩略图按比例定宽高 (原先压扁); 弹窗开着时不擦不停画 (原先大图被清空重发)
- view: C 的值筛选提示中文与判定一致 (只检测被截断)
- view: 看图弹窗 sixel 闪烁 —— 图读好再建弹窗、翻页整屏替换; sixel 同尺寸只发一次, 之后重画只移光标不清空 (tmux 见空格会删图重画); 翻页前清屏让 tmux 释放旧图 (否则每次重画连旧图一起重发); 连按翻页按次数累加; 文档补 tmux 下 sixel 的条件
- clean: Key:value 解析报错写明是哪一项 —— CLI 为 --fill/--add-field/--rename, pipeline 为 YAML 键名 fill/add_field/rename
- clean: --rename/--add-field/--fill 的 key:value 解析收成 ops.parse_pairs, CLI 与 pipeline 共用; 同一 key 出现两次一律报错 (pipeline 此前静默取后者)
- view: 改名框文字起点对齐原列头文字 (数值列右对齐: 变长先向左长), 右缘止于列分隔线; 被截断/藏在冻结列后的列先整列滚入视野再开框
- view: 列头改名框与列头文字对齐 (同 padding/加粗/等宽, 边打边长到表格右缘); 矮终端慢双击也能改名; 连续改名 (b→c 再 a→b) 不再崩溃; 退出询问的 写回 改称 保存 (s)
- view: 列头重命名 —— 输入框直接盖在列头格上; 双击慢于 0.15s 时值面板不再抢在前面 (面板收到落在列头格的连击即转改名, 大文件时取消进行中的值扫描)
- view: QA 修复 —— 图多于
时照 ms-swift 补到首条非 system 消息 (图不再看不到, 警告分红/黄), file:// 路径, images=null 回退 image, sharegpt 多模态 value; 只在首窗口有图时探测终端且探测失败不影响启动; 解码失败文案; 删去点不到的框外关闭
- io: JSONL 的 head/tail/sample 改用 orjson 逐行解析, 不再经 Polars ndjson 改写记录
Documentation
- view: 看图 (VLM) —— view.md 新增 Images 一节与 i 键, imgs(x) 行函数, SKILL/README 同步
- README: 设计一节改写为七条第一性原理 (样本为单位 / 一种语言 / 看与处理闭环 / Unix 契约 / 能流式就流式 / 不给静默错误答案 / 函数优于类)
- README/SKILL 补上行函数、describe、group pct/--top、anti-join、目录/glob 输入、concat 转格式、终端表格预览; SKILL 加其他命令一览表
Features
- view: 详情内缩略图 —— 每条带图消息下方 10 行缩略图条, 点击开大图; 仅 kitty/sixel 终端显示
- view: 改名后 f/s/S/F/| 一律按新名写 —— 条件在入口译回磁盘原名存储 (expr.rename_fields 按 AST 位置改写 x.a/x['a']/x.get('a')/'a' in x/get(x,'a…'), 保留原写法), 显示再译回新名; 管道喂改过名的行; P 末段接 dt clean --rename, C 的 --pipe 前置改名段; 管道态不能改名
- view: 图片弹窗 —— i 键/点 imgs 单元格/点详情 🖼 行打开, ←/→ 翻图, 线程读图不卡界面; 对话格式启动时探测终端图形协议; --image-root 指定相对路径基准; 依赖 textual-image
Full Changelog: v0.10.1...v0.10.2
💫 Release v0.10.1
[0.10.1] - 2026-09-30
Bug Fixes
- view: QA 修复 —— 管道用 bash -o pipefail 且 stderr 出现 dt 错误即判失败; 取消时杀整个进程组; 非对象 JSON 行成占位行; 错误对象不在 stderr 末尾也能取到
- view: QA 修复 —— 空视图清副标题, 算出来的文本不画搜索命中, roles 着色缓存
- view: 列头重命名写回的 QA 修复 —— 只读目录不崩, 沿用旧血缘链, 与窗口外字段重名时中止, 保留权限/软链, 值面板标题显示新名, --help 补说明
Documentation
- view: | 管道与 --pipe 写进 view.md/cli.md/README/SKILL
- view: 详情徽章/代码块底色/边框标题/分批渲染写进 view 文档与 SKILL
- view: 重新生成展示截图与 GIF (新表格/详情样式与边框标题)
Features
- view: 多模态图片引用 —— 抽取 image_url/image 片段与样本级 images, 详情显示 🖼 行,
数量不匹配标红, imgs 列与行函数, image.py 读图 (路径/URL/data URI)
- view: | 在 view 内跑 shell 管道, 结果替换浏览数据; r 回到原文件; C/P/血缘带上管道; --pipe 启动选项
- view: Pipe.py —— 子进程跑 shell 管道 (stdin/stdout NDJSON, 取消即 kill, stderr 尾巴取 dt 的 JSON message)
- view: 双击列头重命名, 界面即时生效, 退出时询问写回/丢弃
Performance
- view: 单元格样式推迟到渲染可见行时再套, 派生列按当前格式判断
- view: 详情面板合并渲染 + 长样本分批挂载, 分隔线改边框
Styling
- view: 身份信息挂到两区边框标题, 状态栏只留会变的状态
- view: 详情角色标题改反色徽章并附字数, 代码/JSON 块铺底
- view: 表格数值列右对齐, 截断加省略号, roles 按角色着色, 滚动条降噪
Full Changelog: v0.10.0...v0.10.1
💫 Release v0.10.0
[0.10.0] - 2026-09-30
Bug Fixes
- QA 验收修复 —— 单文件目录/glob 不再被当成 flaxkv; describe 表格转置; help 文案同步; 若干校验
- i18n: 语言解析与语言无关的机器输出
- presets: 并行工具调用互转不丢不错配; HF 风格 DPO 的消息列表按对话处理; 文档链式示例改用 transform
CI
- release: Changelog 与 release 正文末尾附 Full Changelog 对比链接
- release: Release 正文改由 git-cliff 生成, 不再依赖只统计 PR 的自动说明
Documentation
- 修正 README 链式示例与 SKILL 预设说明; 示例数据加入并行工具调用样本
- README 缩到首屏与导航, 参考内容拆到 docs/ (cli/view/expressions/pipeline/python-api)
- README 改为英文主文档, 中文移至 README_zh.md; 定位改为 dt view 主打
- README: Dt view 增加与 VisiData/tabiew/jless/fx/csvlens 的对比表
Features
- input: FILE 接受目录与引号 glob (逐文件校验后首尾相接); concat 放宽为单文件即格式转换
- join: --anti 反连接; --strict; 左表键求值失败计数汇总而非静默
- describe,group,stats: 看分布 —— 新命令 dt describe; group 输出 pct 与 --top; stats 修两个 bug; token-stats 计 tool 角色
- pipe: --format table 真正渲染, 终端默认预览改表格; 统一 sample/split 落盘与 validate 退出码
- i18n: 界面支持中英双语, 默认英文, dt lang 切换
- presets: 预设按输入形态自动转换; schema 预设接受工具调用; 新增 examples/ 示例数据
Miscellaneous
- 忽略本地传播文案草稿目录 .launch-drafts/
- changelog: 重生成完整的已发布版本记录 (上一提交误生成为空)
- changelog: 模板跳过无提交的版本段, 去掉误生成的空 Unreleased
- changelog: 只保留已发布版本, 去掉误生成的 Unreleased 段
- changelog: 去掉误生成的 Unreleased 段; ci 提交归入 CI 分组
- scripts: Release.sh 归一 changelog 末尾空行, 避免 end-of-file-fixer 打断发版
Refactor
- expr: 行函数 turns/roles/first_user/chars/calls/fulltext/search 进表达式命名空间; view 派生列共用实现
Full Changelog: v0.9.0...v0.10.0
💫 Release v0.9.0
[0.9.0] - 2026-09-29
Bug Fixes
- output: 终端模式的结构化错误也打印 context, 多行建议 (表达式+caret) 独占行
- qa: 复验收尾: caret 缩进对齐、TTY 预览不再报误导性总数、字段列表逐项拦截 x.、进度条只在 stderr 为终端时显示
- qa: 修复 QA 验收报出的契约/数据问题
Documentation
- 表达式语法/管道化/数据原语同步 README、SKILL、docs、CLAUDE.md; 附迁移对照表; 版本 0.9.0
Features
- ops: 数据原语 dt filter/select/map/explode/sort/shuffle/group/join + stats --schema
- cli: 数据命令统一管道化: FILE 支持 -, 无 -o 写 stdout, clean/dedupe 改 -i
- io: Jsonl/json 支持 .gz 透明读写
- expr: 统一 Python 表达式引擎 dtflow/expr.py
- core: DictWrapper 支持 list 元素属性访问与字段写穿; 新增 ListWrapper/unwrap
Refactor
- pipeline: Step 类型 = CLI 命令名, 参数 = 选项名, 复用 dtflow.ops; split 作终态步骤
- where: Sample/view/pipeline 的筛选语法统一为 Python 表达式
Full Changelog: v0.8.7...v0.9.0
💫 Release v0.8.7
Full Changelog: v0.8.6...v0.8.7
💫 Release v0.8.6
Full Changelog: v0.8.5...v0.8.6