OnetCli v0.8.4
中文
更新内容
- 连接导入能力增强:插件现在必须显式声明是否支持手动选择文件导入;宿主默认不再显示文件选择入口,只有声明了
manualFilePick.prompt的导入插件才会展示对应按钮和文件选择提示。 - Navicat 等导入插件可通过宿主传入的手动文件候选项读取用户选择的导出文件,减少宿主对具体文件类型的内置假设。
- 应用退出体验增强:关闭应用前增加确认流程,避免误触导致窗口、终端或工作状态被直接关闭。
- SQL 编辑器优化:修正“运行当前 SQL”在多行语句和游标位置场景下的语句识别,游标位于语句内部时会取到正确的完整 SQL 片段。
修复与调整
- 补充连接导入协议、扩展 manifest 解析、扩展运行时和导入窗口的回归覆盖,确保手动文件导入能力由插件声明驱动。
- CI 测试流程补充
wasm-tools安装,保证涉及 WASM 组件的测试环境更完整。 - 更新主程序版本号到 0.8.4。
English
Changes
- Improved connection import capabilities: plugins must now explicitly declare whether they support manual file selection. The host no longer shows a file picker by default; only importers with
manualFilePick.promptexpose the file selection entry and dialog prompt. - Import plugins such as Navicat can consume manually selected export files through host-provided file candidates, reducing host-side assumptions about specific file types.
- Added an app quit confirmation flow to avoid closing windows, terminals, or active work by accident.
- Improved SQL editor current-statement detection for multiline SQL and cursor-position workflows, so running the current SQL picks the complete statement when the cursor is inside it.
Fixes
- Added regression coverage across the connection import protocol, extension manifest parsing, extension runtime, and import window to keep manual file import capability plugin-declared.
- Added
wasm-toolsinstallation to CI test setup for more complete WASM component test environments. - Bumped the main app version to 0.8.4.
Full Changelog: v0.8.3...v0.8.4