2875 Commits
Author SHA1 Message Date
t8y2 64d7892d58 feat(release): bump app to 0.5.45 agents-v0.2.44 v0.5.45 2026-07-04 04:28:02 +08:00
Moe. 42826f8f8b feat(sidebar): add connection multi-select toolbar 2026-07-04 03:50:08 +08:00
miracle 30b9460442 fix(dbx-core): improve duckdb query cancellation 2026-07-04 02:31:32 +08:00
Guoyu Su 3a2abf4a49 fix(desktop): scale multi-statement query timeout (#2544) 2026-07-04 02:19:10 +08:00
Fody Jute 2225343e8a fix(dbx-core): preserve mysql cross-database targets 2026-07-04 00:58:52 +08:00
zipgandstaff 570230e525 fix(ui): table data condition bar font display
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-04 00:39:30 +08:00
zipgandstaff 67e23ad3e0 feat(ui): mark unsaved SQL tabs
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-04 00:38:03 +08:00
t8y2 614daa5b19 feat(sql-library): add move to folder action 2026-07-04 00:37:23 +08:00
t8y2 69f880fdf1 fix(transfer): preserve target table name case 2026-07-04 00:12:42 +08:00
zipgandstaff 312002d2f0 fix(ui): driver management tab close interaction
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-03 23:31:15 +08:00
t8y2 b80f3e8088 feat(connection): add HTTP tunnel 2026-07-03 22:11:03 +08:00
onenewcode 91c77e53c4 feat(mongodb): support collection stats shell commands
Add db.coll.stats() / dataSize() / storageSize(scale) / totalIndexSize()
so these MongoDB shell commands return a result grid instead of the
"Use MongoDB shell-style commands" error (issue #2529).

- backend: collStats via mongo_driver.collection_stats, wired through
  mongo_ops, the dbx-web /mongo/collection-stats route, the tauri
  mongo_collection_stats command, and the MCP data bridge
- node-core: parseMongoCollectionStatsCommand + result formatter and
  executeQuery dispatch (web build + MCP path)
- desktop: mirror the parser/executor/autocomplete in mongoShellCommand.ts,
  queryStore.ts, api/tauri/http facade, and mongoCompletion.ts
- tests for the parser, result formatter, and completion entries

Close #2529
2026-07-03 21:32:29 +08:00
miracle a0e9acce95 fix(ui): kafka agent icon contrast in dark theme 2026-07-03 21:14:31 +08:00
t8y2 06e653b0bb fix(export): stream postgres query result exports 2026-07-03 20:02:19 +08:00
c8efe06ddc fix(core): Oracle 复制 INSERT 按行生成语句
* fix(core): emit oracle copy inserts per row

* refactor(core): extract single-row insert dialect check into sql_dialect

---------

Co-authored-by: zero <zero@zeroMacmini.local>
Co-authored-by: t8y2 <1156263951@qq.com>
2026-07-03 19:33:18 +08:00
gggdsg b60f8b2039 feat(mongodb): add TLS connection options in connection tab (#2515)
Add MongoDB TLS options (`tlsAllowInvalidCertificates`, `retryWrites`, `tlsCAFile`) to the connection form with backend URL normalization and DocumentDB/SSH tunnel guidance, while preserving legacy `tlsCAFile` in `url_params` for existing DocumentDB users, hardening auth failure hint matching, and clarifying TLS bypass security labels.
2026-07-03 19:25:01 +08:00
f826cb5d38 feat(mongo): add GridFS manager for MongoDB
* feat(mongo): browse GridFS buckets and files

Refs #2342

* feat(mongo): add GridFS manager for MongoDB

* chore(i18n): autofill new translations

---------

Co-authored-by: dbx-i18n-bot <github-actions[bot]@users.noreply.github.com>
Co-authored-by: t8y2 <1156263951@qq.com>
2026-07-03 18:34:00 +08:00
t8y2 a8abb1c478 fix(import): use single-row inserts for Oracle 2026-07-03 18:04:23 +08:00
t8y2 55aa0f8624 fix(mongodb): preserve int64 document filters 2026-07-03 17:39:48 +08:00
t8y2 5c79c26954 fix(iotdb): load databases without duplicate schema 2026-07-03 17:33:57 +08:00
t8y2 54dc3c1c18 fix(sqlserver): use alter for routine source 2026-07-03 17:21:49 +08:00
t8y2 76f079f28b fix(h2): display JSON columns as text 2026-07-03 17:10:57 +08:00
t8y2 2f9a0869a9 feat(connection): duplicate selected connections 2026-07-03 16:59:16 +08:00
t8y2 d65b0e5548 feat(mysql): append semicolon to table DDL 2026-07-03 16:46:03 +08:00
t8y2 d64299b59e fix(gbase): load routines in object list 2026-07-03 16:34:47 +08:00
t8y2 0894334764 fix(firebird): use rows syntax for pagination 2026-07-03 16:22:31 +08:00
t8y2 d205f47a8f fix(grid): preserve high-precision numeric edits 2026-07-03 16:08:20 +08:00
gggdsgandCursor e7ec2ecaf2 fix(mongodb): route find result sorting through shell sort clauses
Use find().sort() for MongoDB query grid sorting instead of SQL ORDER BY,
and normalize document browser sort input the same way as filters.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-03 15:47:38 +08:00
LRcodingandzero 06231d512f fix(jdbc): decode URL credentials for multi-at usernames
* fix(jdbc): decode URL credentials for multi-at usernames

* fix(jdbc): preserve url credential parsing semantics

---------

Co-authored-by: zero <zero@zeroMacmini.local>
2026-07-03 15:41:34 +08:00
t8y2 47238b689c feat(editor): add vim mode 2026-07-03 15:38:07 +08:00
Abeautifulsnow fe4908321e feat(ai): support editing sent user messages
* feat(ai): support editing sent user messages

Adds inline edit support for user messages in the AI chat panel.
Hover over a user message to reveal the edit button; confirming the
edit truncates all subsequent history and re-sends with the new content.

* fix(ai): fix IME composition and ref-focus regression in message edit

- Handle IME composition events in onEditKeydown to prevent accidental
  submission on Enter during CJK candidate selection
- Replace per-render :ref focus callback with nextTick + data attribute
  to avoid cursor jumping on every keystroke
- Extract visibleToActualIndex into aiMessageEdit.ts for testability
- Add 8 unit tests covering index mapping with contextSummary messages

* fix(ai): prevent data loss and mention pollution in message edit

- Guard connection/config before truncating messages to prevent silent data
  loss when send() bails early
- Clear selectedMentions before resend to prevent stale chips from polluting
  edited message content
2026-07-03 15:18:56 +08:00
二丫讲梵 f1f4518b67 feat(ai-table-mentions): 增加AI表格提及候选项的过滤和格式化功能 (#2502)
- 引入AI表格提及候选项的限制常量
- 实现过滤候选项的函数,支持根据表名过滤
- 添加单元测试以验证提及解析和候选项过滤的功能
2026-07-03 14:17:43 +08:00
t8y2 1ff3676531 fix(data): use saved row limit for table opens 2026-07-03 14:00:39 +08:00
LRcoding 21cec24e75 fix(mysql): support cleartext password auth option (#2499) 2026-07-03 13:47:47 +08:00
t8y2 cabe89a19b fix(mongodb): support legacy count helpers 2026-07-03 13:25:36 +08:00
t8y2 c702149931 fix(ui): unify sidebar tooltips 2026-07-03 12:41:25 +08:00
t8y2 3d3b0a688f fix(mysql): preserve copied BLOB hex literals 2026-07-03 12:24:21 +08:00
Abeautifulsnow d6ef9f140a fix(ai): bound schema context and result preview to prevent oversized AI payloads (#2496)
* fix(ai): limit indexes and foreign keys per table in schema context

Prevent AI input token spikes caused by tables with large numbers of
indexes or foreign keys being fully serialized into the system prompt.

Apply a default cap of 10 indexes and 10 FKs per table in all three
schema-loading paths: focused_table mode, database mode, and
loadMentionedTableContext for @-mentioned tables.

Both limits are configurable via buildAiContext options
(maxIndexesPerTable, maxFksPerTable).

* fix(ai): truncate large column values in result preview

Prevent input token explosion when the active tab contains large text
or JSON fields (e.g. request_body, response_body in audit log tables).

formatResultPreview previously serialized each value without any length
limit, so 5 rows from a wide table with multi-KB text columns could
produce 100K+ tokens in the system prompt.

Cap each serialized value at 200 characters with an ellipsis suffix.
2026-07-03 12:04:00 +08:00
t8y2 e3b3dfc095 fix(dameng): include independent indexes in table DDL 2026-07-03 11:59:41 +08:00
juveandjuve ecb9372979 chore(nix): bump dbx-desktop to 0.5.44 and update flake locks (#2469)
Co-authored-by: juve <juevmail8@gmail.com>
2026-07-03 11:42:36 +08:00
t8y2 b6274858fe fix(agent): preserve JDBC decimal precision 2026-07-03 11:41:36 +08:00
二丫讲梵 710eb3d008 fix(sidebar): correct import/export button icons (#2492) 2026-07-03 11:30:20 +08:00
一颗红心 69bfd59c3c fix(sql-library): restore Ctrl+click multi-select on Windows (#2470) 2026-07-03 11:12:49 +08:00
t8y2 6f2e4774f4 feat(updates): add AtomGit update download source 2026-07-03 11:01:27 +08:00
Spencer.Chang cb42a4184a fix(editor): avoid run gutter for MySQL REPLACE function 2026-07-03 10:36:03 +08:00
t8y2 9676ed764e fix(agent): validate selected driver artifact 2026-07-03 10:31:52 +08:00
t8y2 7641bd3512 feat(release): sync releases to AtomGit 2026-07-03 03:04:52 +08:00
t8y2 fb4bce90d6 fix(agent): cache JDBC column metadata 2026-07-03 02:26:01 +08:00
github-actions[bot] c1d3f9423d chore: bump module versions [skip ci] 2026-07-02 18:03:00 +00:00
github-actions[bot] 9d2d1e3297 chore(packages): release 0.4.20 [skip node-packages-release] packages-v0.4.20 2026-07-02 18:00:23 +00:00