Commit Graph
2729 Commits
Author SHA1 Message Date
juveandjuve 5cd1320011 chore(nix): bump packaging to 0.5.42
Co-authored-by: juve <juevmail8@gmail.com>
2026-07-01 13:58:06 +08:00
t8y2 d88e1b1e6a fix(mcp): use node entry for Windows configs 2026-07-01 13:40:48 +08:00
zipgandstaff 8129ecda88 fix(editor): keep edit-structure entry across table property tabs
* fix: 保留表属性编辑结构入口

* fix: 加深表属性页签选中态

---------

Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-01 12:51:44 +08:00
miracle 0c91fecf5d feat(editor): add table copy/paste keyboard shortcuts
* feat: add table copy/paste with configurable structure and data options

- Implement Navicat-style table copy/paste functionality
- Support multi-table selection and batch operations
- Configurable paste modes: structure+data (default), structure only, data only
- Backend: add build_copy_table_data_sql API (INSERT INTO ... SELECT)
- TreeItem.vue: copy/paste context menus, paste dialog with mode selection
- ObjectBrowser.vue: batch toolbar buttons, context menu, paste dialog
- Refactor TreeClipboard type to support multi-table entries
- Add i18n keys for all 7 locale files (en, zh-CN, zh-TW, ja, es, it, pt-BR)

* Fix table paste shortcuts

* Fix Kafka MQ sidebar detection

* Restrict table paste scope

* Support data copy for primary SQL databases
2026-07-01 12:49:37 +08:00
zipgandstaff 5d2ce9f189 fix(sqlserver): restrict identity to compatible column types
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-01 12:48:37 +08:00
zipgandstaff a224a6747c fix: handle oracle plsql statement ranges
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-01 12:26:03 +08:00
juveandjuve b5f40b0fd7 docs: add nix/nixos docs & update deps
Co-authored-by: juve <juevmail8@gmail.com>
2026-07-01 12:24:44 +08:00
t8y2 c2b687b271 fix(mcp): document portable data directory 2026-07-01 12:11:03 +08:00
t8y2 1499008ba8 fix(editor): suppress SQL completion in strings 2026-07-01 11:48:43 +08:00
t8y2 62951de2b3 fix(release): allow missing WebView2 loader v0.5.42 2026-07-01 10:28:05 +08:00
t8y2 3d5e873837 fix(ci): sync agent protocol contract 2026-07-01 09:15:21 +08:00
github-actions[bot] 5705790fac chore(packages): release 0.4.18 [skip node-packages-release] packages-v0.4.18 2026-06-30 18:27:15 +00:00
t8y2 3d6c609f42 chore(release): prepare v0.5.42 2026-07-01 02:20:43 +08:00
t8y2 c2bae3b957 fix(grid): refresh copied insert after row edits agents-v0.2.40 2026-07-01 02:10:47 +08:00
t8y2 e83f41c63c fix(sqlserver): use numeric literals for bitn 2026-07-01 02:10:47 +08:00
t8y2 6d9132e2a9 fix(mongo): support legacy agent bulk updates 2026-07-01 01:52:32 +08:00
Francesco Lucarelliandt8y2 5f738d6f9a chore(i18n): translate missing keys in Italian locale (#2261)
* chore(i18n): translate missing keys in Italian locale

* style(i18n): apply oxfmt to Italian locale

---------

Co-authored-by: t8y2 <1156263951@qq.com>
2026-07-01 01:35:07 +08:00
t8y2 f5d8ae5894 fix(oracle): serialize xmltype query columns 2026-07-01 01:27:22 +08:00
Moe. 1a8b52410f fix(navicat): prefer ConnType when importing connections 2026-07-01 01:23:51 +08:00
zipg b11ab2ddff fix(core): restore Oracle object browser metadata 2026-07-01 01:09:21 +08:00
t8y2 e786fb2980 docs(agents): prefer native Go/Rust drivers over Java 2026-07-01 01:06:18 +08:00
t8y2 299a9843f3 fix(elasticsearch): pass routing for document writes 2026-07-01 00:43:14 +08:00
zipgandstaff 910fde75e1 Fix:修复左侧运行多条 SQL 只执行首条 (#2256)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-01 00:00:26 +08:00
zipgandstaff ea2b5d1bfd Fix:支持 SQL Server 新增字段设置自增 (#2254)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-30 23:30:50 +08:00
t8y2 16a1d4b1dd fix(grid): parse mysql enum type suffixes 2026-06-30 23:20:43 +08:00
大峰 f1f99f6f10 feat(ui): add searchable selects to compare and transfer dialogs 2026-06-30 22:53:27 +08:00
二丫讲梵 2e8d399dab feat(queryStore): 添加数据库打开状态跟踪功能 (#2251)
- 新增 isDatabaseOpen 方法,用于检查特定连接的数据库是否处于打开状态
- 在 TreeItem 组件中显示数据库打开指示器
- 添加 queryStore.database-open.spec.ts 测试文件,验证数据库打开状态的逻辑
2026-06-30 22:43:38 +08:00
zipgandstaff ad4a8e2647 Fix: 修复根层 SQL 文件点击后未高亮 (#2250)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-30 22:41:05 +08:00
zipgandstaff c4de3738fc Improve: 记住单元格详情 JSON 格式化状态 (#2252)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-30 22:38:45 +08:00
啥都不会 427d0c548b fix(mysql): allow create database without selection 2026-06-30 21:56:47 +08:00
onenewcode b90e4fd64e feat(mongodb): support createIndex shell command (#2187) 2026-06-30 21:34:58 +08:00
ptma 4e012a9dd9 feat(grid): support datetime formatter patterns 2026-06-30 20:37:23 +08:00
zipgandstaff c38bc05417 Fix:修复 SQL 子查询语义诊断误报 (#2184)
* Fix:修复 SQL 子查询语义诊断误报

* Improve:添加 SQL 语义诊断开关

* Improve:优化 SQL 语义诊断开关说明

* Fix:收紧 SQL 语义诊断飘红范围

* Improve:调整 SQL 语义诊断默认策略

---------

Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-30 20:15:59 +08:00
zipgandstaff 73a996ebe6 Fix: 修复 SQL Server 修改默认值时报错 (#2190)
* Fix SQL Server default constraint DDL

* Polish SQL Server default display

---------

Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-30 20:14:50 +08:00
t8y2 25dcbeb7e4 feat(oscar): add OSCAR database support 2026-06-30 20:07:55 +08:00
weihan d3272b4750 fix(postgres): 修复 GaussDB Schema 浏览对象报错 (#2186)
- GaussDB 复用 PostgreSQL 对象浏览查询,但带时间戳的元数据 SQL 依赖 pg_stat_file、pg_xact_commit_timestamp 等函数,在 prepare 阶段失败,导致原有 fallback 无法触发。
- 让 fallback 覆盖 prepare 和 query 阶段。查询失败时降级到无时间戳查询,保证表、视图、函数、序列仍可正常展示。
2026-06-30 20:06:23 +08:00
zipgandstaff ce72468e5a Fix:修复 Kingbase 新增字段 SQL 语法 (#2180)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-30 20:05:24 +08:00
zipgandstaff 79feccc717 Improve:优化 SQL 补全排序 (#2188)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-30 20:01:41 +08:00
Guoyu Su 9d97197a61 fix(web): respect base path for icon assets (#2192) 2026-06-30 20:01:10 +08:00
jischeng c6719eec55 fix(ai): preserve tool name when OpenAI-compatible provider re-sends empty id (#2196)
GLM-5.2 (and potentially other OpenAI-compatible providers) send id="" on
every tool-call delta after the first, while only the first delta carries
function.name. The streaming parser treated Some("") as a valid id and
emitted ToolCallStart for every chunk; the accumulator's insert then
overwrote the previously-correct name with "", producing "Unknown tool:"
errors and trapping the agent in a retry loop until the 30-turn limit.

Two fixes, mutually reinforcing:

1. OpenAI parser: only treat a non-empty id as a genuine tool-call start
   (filter out id=""), so subsequent deltas no longer trigger ToolCallStart.

2. Accumulator: merge ToolCallStart into an existing entry instead of
   blind insert — keep the known name when the new one is empty, and
   preserve accumulated arguments. Defense in depth for any other provider
   that re-sends id or splits name across chunks.

Added a regression test that feeds a re-sent ToolCallStart with an empty
name and asserts the name and arguments survive.

Verified end-to-end with the real GLM-5.2 provider: Unknown tool count
dropped from 12+ to 0, and the agent completed in 3 turns instead of
hitting the 30-turn safety limit.
2026-06-30 19:52:43 +08:00
zipgandstaff d04463ebeb Feature:支持 SQL Server 旧版兼容模式 (#2181)
* fix: 支持 SQL Server 旧版非加密重试

* fix: 优化 SQL Server 旧版兼容模式入口

---------

Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-30 19:52:07 +08:00
Guoyu Su 8747a0e8f9 fix(clickhouse): place pagination before settings clause (#2206) 2026-06-30 19:51:03 +08:00
zipg da63f6e358 feat(release): add Windows WebView2 offline installer 2026-06-30 19:50:41 +08:00
jischeng 112fce1050 fix(data-tab): fall back to LIMIT 0 preview for snapshot-less lake tables (#2197)
Lake/external tables (e.g. Paimon in StarRocks) return 'There is currently no snapshot' on data reads when no snapshot exists yet, while metadata reads (DESC/SHOW CREATE) still succeed. Opening such a table surfaced the raw server error because executeTabSql stores the failure as an 'Error' result and never reached the column fetch. Detect that error result and retry the preview with LIMIT 0, which returns the table structure (columns + empty grid). Skip the synthetic-row-id re-query on this path since it is another data read that would fail the same way.
2026-06-30 18:42:05 +08:00
zipgandstaff 0777e4aad1 Fix: 修复对象浏览器标签页切回后布局异常 (#2223)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-30 18:28:14 +08:00
zipgandstaff 04b12f7c06 Fix: 修复 MySQL 存储过程 SELECT 结果未显示 (#2245)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-30 18:27:03 +08:00
zipgandstaff 58e02fcae1 Fix: 修复 MySQL DESC UPDATE 行内执行按钮解析 (#2243)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-30 18:25:14 +08:00
zipgandstaff ccb91784b3 perf(editor): cache executable statement ranges for large SQL scrolling
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-30 18:05:37 +08:00
zipgandstaff 8162a420e3 feat(tabs): display pinned tabs in a separate row
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-30 18:02:52 +08:00
onenewcode aae2cae068 fix(export): append semicolons to exported DDL statements 2026-06-30 18:00:44 +08:00