Skip to content

DbPaw v0.3.2

Choose a tag to compare

@github-actions github-actions released this 07 Apr 15:43
· 629 commits to main since this release

Changelog

[v0.3.2]

Features

  • Oracle database support — Added a full Oracle database driver (OCI-based) with connection, query execution, schema browsing, data import, and SSH tunnel support (default port 1521).

  • PostgreSQL array column decoding — PostgreSQL array columns (_int4, _text, _jsonb, etc.) are now decoded as proper JSON arrays instead of raw {1,2,3} strings.

  • Complex value viewer — JSON and array cells in query results are now clickable and open a viewer dialog with three display modes: JSON (raw), Tree, and Table.

  • Column autocomplete in table filters — The filter input in table view now suggests column names as you type.

  • Loading indicators — The Run button shows a spinner and is disabled during query execution to prevent duplicate submissions; clicking a table in the sidebar immediately opens a skeleton placeholder tab instead of a blank wait; sidebar tree nodes show a per-node spinner while lazily loading children.

Fixes

  • UI: tabs fill full width — Sidebar "Connections / Queries" tabs and JSON viewer tabs now stretch to fill the full available width at any panel size, eliminating the gap that appeared when the panel was widened.

  • Sidebar auto-reveal — Auto-reveal now only triggers on tab changes, preventing unintended expansions.

  • Oracle: Instant Client missing hint — When an Oracle connection fails due to a missing Instant Client installation, the error message now includes a clear installation hint.

  • PolarDB-X compatibility — Queries against PolarDB-X no longer fail on its vendor-specific prepared-statement error message (Preparedoes not support); the driver now correctly falls back to simple protocol.

Refactor

  • Centralized all database driver metadata into driver-registry.tsx, removing duplicated definitions scattered across the codebase.

Tests

  • Added integration tests for the Oracle driver.

  • Expanded frontend unit test coverage across core modules.


[v0.3.2] — 中文

新功能

  • Oracle 数据库支持 — 新增基于 OCI 的 Oracle 驱动,支持连接、查询、Schema 浏览、数据导入及 SSH 隧道(默认端口 1521)。

  • PostgreSQL 数组列解析 — PostgreSQL 数组类型列(_int4_text_jsonb 等)现在正确解析为 JSON 数组,不再显示原始的 {1,2,3} 字符串。

  • 复杂值查看器 — 查询结果中的 JSON / 数组单元格可点击弹出查看器,提供 JSON 原文、Tree 树形、Table 表格三种视图。

  • 表格筛选列名自动补全 — 表格视图筛选输入框在输入时自动提示列名。

  • 加载动画 — 查询执行期间 Run 按钮显示 spinner 并禁止重复提交;点击侧边栏表格立即打开骨架屏占位 tab,告别空白等待;侧边栏树节点懒加载时显示 per-node 加载动画。

修复

  • UI:标签页填充宽度 — 侧边栏「连接/查询」标签及 JSON 查看器标签现在在任意面板宽度下均匀填满,不再出现拉伸后留白的问题。

  • 侧边栏自动展开 — 自动展开逻辑修复为仅在 Tab 切换时触发,避免误触发。

  • Oracle:Instant Client 缺失提示 — Oracle 连接因缺少 Instant Client 而失败时,错误信息中增加了清晰的安装提示。

  • PolarDB-X 兼容性 — 兼容 PolarDB-X 特有的 prepared statement 报错信息(Preparedoes not support),驱动现在可正确回退至 simple protocol。

重构

  • 将所有数据库驱动元数据集中到 driver-registry.tsx,消除各处散落的重复定义。

测试

  • 新增 Oracle 驱动集成测试。

  • 扩展前端核心模块单元测试覆盖率。