v0.6.40

juanfont/headscalev0.6.40Oct 11, 2026by t8y2

Upgrading?

AI Summary

This release adds numerous features to the DBX desktop application, including real-time query message display, SQL autocomplete improvements, multi-row INSERT templates, and enhanced Excel import/export capabilities.

Key Highlights

  • Real-time PostgreSQL NOTICE/WARNING display
  • Nested CTE autocomplete support
  • Multi-row INSERT templates with row-specific placeholders
  • Enhanced XLSX export with dual-row headers
  • Excel import option to treat empty strings as NULL

New Features

  • Real-time query message display
  • Nested CTE autocomplete
  • Multi-row INSERT templates
  • Copy formats (keep values only)
  • XLSX header modes
  • Excel NULL handling
  • Redis JSON serialization display
  • MySQL FK ignore option
  • Search shortcuts
  • Sidebar fixes and improvements
  • HANA sidebar pagination
  • Import wizard recovery

Full Release Notes

### 赞助信息

- 赞助伙伴 HiAPI 入驻,提供图片、视频、音频及文本模型 API(GPT Image 2.5 等),新用户注册赠 200 Credits、充值送 10% 积分,[注册入口](https://www.hiapi.ai/invite/dbx?utm_source=dbx&utm_medium=affiliate&utm_campaign=backlink&utm_content=readme-zh)

### 新功能

- 查询执行期间 PostgreSQL 的 NOTICE/WARNING 消息现在实时显示在消息输出中,Kingbase 的查询消息也会一并捕获展示。
- SQL 自动补全现在能解析引用先前 CTE 的嵌套 CTE 列 (contributed by @lxk955) (PR [#11738](https://github.com/t8y2/dbx/pull/11738))
- 右键表可按弹窗指定的行数生成多行 INSERT 模板,多行占位值按行号区分 (contributed by @xiaohuowa) (PR [#11695](https://github.com/t8y2/dbx/pull/11695))
- 结果网格新增"仅保留值(单列)"复制格式,单列选择时复制为纯值 JSON 数组,多列选择仍输出对象 (contributed by @yiqiui) (PR [#11731](https://github.com/t8y2/dbx/pull/11731))
- XLSX 导出新增"字段名称与注释分两行表头"模式,第 1 行为字段名、第 2 行为注释、数据从第 3 行开始 (contributed by @yiqiui) (PR [#11732](https://github.com/t8y2/dbx/pull/11732))
- Excel 导入新增"空字符串识别为 NULL"选项,未勾选时保留为空字符串 (contributed by @lxk955) (PR [#11734](https://github.com/t8y2/dbx/pull/11734))
- Redis 字符串值为序列化 JSON 时以格式化 JSON 呈现并可回写 (contributed by @lxk955) (PR [#11737](https://github.com/t8y2/dbx/pull/11737))
- MySQL 结构比较部署新增"忽略外键检查"选项,允许以任意顺序删除和重建表 (contributed by @DengQingNian) (PR [#11701](https://github.com/t8y2/dbx/pull/11701))
- 搜索快捷键支持快速连按两次同一修饰键(Shift/Cmd/Ctrl/Alt)触发 (contributed by @eryajf) (PR [#11705](https://github.com/t8y2/dbx/pull/11705))
- 新增可自定义快捷键绑定的"关闭全部标签页"操作 (contributed by @yiqiui) (PR [#11730](https://github.com/t8y2/dbx/pull/11730))
- 侧边栏折叠父节点时递归折叠所有子孙节点 (contributed by @lxk955) (PR [#11719](https://github.com/t8y2/dbx/pull/11719))
- 侧边栏表搜索框固定在数据库标题下方,列表滚动时不再随之滚走 (contributed by @eryajf) (PR [#11706](https://github.com/t8y2/dbx/pull/11706))

### 改进

- 更新赞助页 HiAPI 充值福利:由"首充最高加赠 12% 积分"改为"充值送 10% 积分"。

### 修复

- 语句字符串字面量含反斜杠转义时,分页不再因漏判顶层 LIMIT 而追加第二个 LIMIT 导致查询报错 (contributed by @Tong-bit-art) (PR [#11690](https://github.com/t8y2/dbx/pull/11690))
- Oracle 连接复制 JDBC URL(含凭据)时原样嵌入用户名和密码,凭据含无法安全嵌入的字符时不再提供该项复制以免复制出的 URL 静默改变密码 (contributed by @yiqiui) (PR [#11692](https://github.com/t8y2/dbx/pull/11692))
- 查询结果导出改为透过打开的手动事务读取,导出文件能看到事务中未提交的变更 (contributed by @jeff377) (PR [#11721](https://github.com/t8y2/dbx/pull/11721))
- Kingbase 的 json/json[] 列类型不再显示为 jsonb (contributed by @lxk955) (PR [#11724](https://github.com/t8y2/dbx/pull/11724))
- 全量 XLSX 导出中 decimal 列以数值类型写出,不再退化为文本 (contributed by @lxk955) (PR [#11621](https://github.com/t8y2/dbx/pull/11621))
- MyBatis XML 实体(如 >=、<=)不再导致 SQL 编辑器把一条语句错误拆分成多段 (contributed by @yiqiui) (PR [#11717](https://github.com/t8y2/dbx/pull/11717))
- PostgreSQL 查询结果排序后隐藏的主键列保持隐藏,不再重新出现在网格中 (contributed by @jeff377) (PR [#11720](https://github.com/t8y2/dbx/pull/11720))
- 自动补全弹窗(列表与详情)应用配置的编辑器字体 (contributed by @lxk955) (PR [#11725](https://github.com/t8y2/dbx/pull/11725))
- 旧版 MongoDB agent 上的单文档 insert()/insertOne() 语句现在可以执行 (contributed by @dienaso) (PR [#11729](https://github.com/t8y2/dbx/pull/11729))
- MongoDB 编辑器接受"复制为 SQL 插入"生成的 EJSON.deserialize(...) 语句,不再执行报错 (contributed by @dienaso) (PR [#11696](https://github.com/t8y2/dbx/pull/11696))
- XLSX 流式导入在工作表 dimension 起始列与实际数据列不一致时保持列对齐正确 (contributed by @lxk955) (PR [#11733](https://github.com/t8y2/dbx/pull/11733))
- uniqueidentifier 与 uuid 在跨库迁移/传输时按目标库正确映射(SQL Server ↔ PostgreSQL,MySQL 为 char(36)) (contributed by @lxk955) (PR [#11728](https://github.com/t8y2/dbx/pull/11728))
- MySQL 经 ProxySQL 读写分离连接时不再因 hostgroup 锁定(错误 9006)导致连接失败 (contributed by @lxk955) (PR [#11735](https://github.com/t8y2/dbx/pull/11735))
- MCP HTTP 传输对所有协议版本改为无状态服务,客户端长时间暂停后重连不再报 Session not Found (contributed by @KeaneQy) (PR [#11653](https://github.com/t8y2/dbx/pull/11653))
- 有弹窗打开时 Cmd+W 关闭最上层弹窗,不再误关背后的标签页 (contributed by @zipg) (PR [#11697](https://github.com/t8y2/dbx/pull/11697))
- 结构比较和数据比较配置的重命名操作改用铅笔图标 (contributed by @lxk955) (PR [#11714](https://github.com/t8y2/dbx/pull/11714))
- HANA 的侧边栏分页加载和对象名筛选不再要求数据库上下文,可直接使用 (contributed by @lxk955) (PR [#11716](https://github.com/t8y2/dbx/pull/11716))
- 导入向导在输入无效行范围后能恢复预览加载和导航 (contributed by @lxk955) (PR [#11712](https://github.com/t8y2/dbx/pull/11712))
- 仅含单一对象类型的范围(如只有表的 MySQL 库)不再丢失对象计数显示 (contributed by @Abeautifulsnow) (PR [#11698](https://github.com/t8y2/dbx/pull/11698))
- 复制以 @ 开头且后跟非 ASCII 字符的文本(如 @张三)不再被加上前导撇号,@SUM(1) 等真正的公式形式仍会被中和 (contributed by @zipg) (PR [#11703](https://github.com/t8y2/dbx/pull/11703))
- SQL Server 注释读取按扩展属性 class 过滤,索引的 MS_Description 不再串显到列注释上 (contributed by @jeff377) (PR [#11710](https://github.com/t8y2/dbx/pull/11710))

---
<!-- dbx-cnb-mirror -->
> 国内下载:如果 GitHub 下载较慢,可从 [CNB 镜像](https://cnb.cool/dbxio.com/dbx/-/releases/tag/v0.6.40) 下载桌面端安装包,Docker 镜像从 `docker.cnb.cool/dbxio.com/dbx:v0.6.40` 拉取。

Related Repositories