Repository navigation
Releases: yisier/rustgrid
Releases · yisier/rustgrid
Release list
v0.0.13
[0.0.13] - 2026-10-16
Added
- Each engine's designer shows its own shape: SQL Server gets Collation / Sparse, Size / Scale / Computed
and Unique Keys / Checks tabs; SQLite, PostgreSQL and Oracle drop the pages they lack. - SQL Server's designer edits unique constraints and check constraints as well.
- The index field editor is Navicat's field list: tick the fields, drag them into order, set Sort / Prefix.
- The designer's fields grid navigates with Tab / Shift+Tab, and its Type drop-down works from the keyboard.
- SQL Preview panes are selectable and copyable — the designer's, the user window's and Object Privileges'.
Changed
- An index column carries its own options (
DESC, MySQL's prefix) and round-trips them. - The Fields / Referenced Fields cells are drop-downs: click the cell, no "..." button.
- The designer's field details, field list and Options page are no longer MySQL-shaped on every engine.
- The light palette reads like Navicat's: white chrome and visible separators instead of grey fills.
- The Indexes grid lists secondary indexes only; the primary key is managed from the Fields tab.
- The strip in front of the first field is narrower, and the designer's labels share one left edge.
- Index Type shows the engine's own type text; Index Method appears only where the engine has more than one.
- The designer's Triggers tab is gone — it could only ever show an empty grid.
Fixed
- The designer's grids scroll with the mouse wheel.
- Auto Increment appears only on the types an engine accepts, never as a dead control.
- Saving a table's structure reports success and closes the open cell editor; a save with nothing to change
says so. - A changed index survives Save on every engine.
- Adding a field, unique key or check starts unnamed, scrolled into view and ready to type.
- The index field editor no longer opens off-screen, and its Index Type column is no longer clipped.
- A new table's SQL Preview works before the table has a name.
[0.0.13] - 2026-10-16
新增
- 设计表界面按引擎区分:SQL Server 有自己的 排序规则 / 稀疏、大小 / 比例 / 计算列 与 唯一键 / 检查 页;
SQLite、PostgreSQL、Oracle 去掉各自没有的页。 - SQL Server 设计器还能编辑唯一约束与检查约束。
- 索引的 字段 编辑器改成 Navicat 的字段列表:勾选字段、拖动排序、设置 排序 / 子部分。
- 设计器的字段表格支持 Tab / Shift+Tab 导航,类型 下拉框可用键盘操作。
- SQL 预览 可选中复制(设计器、用户窗口、对象权限 窗口)。
变更
- 索引列自带选项(
DESC、MySQL 的子部分)并能完整往返。 - 字段 / 被引用的字段 单元格改为下拉:点整格即可,没有「…」按钮。
- 设计器的字段详情、字段列表与 选项 页不再按 MySQL 写死。
- 浅色配色向 Navicat 靠拢:白色界面与清晰分隔线,不再靠大片浅灰。
- 索引 页只列二级索引;主键改由 字段 页管理。
- 第一个字段前面的行头列变窄,设计器的标签统一到同一条左边缘。
- 索引类型 显示引擎自己的类型文本;索引方法 仅在引擎有多种类型时出现。
- 设计器的 触发器 标签页已移除(它只会是一张空表)。
修复
- 设计器的表格可以用鼠标滚轮滚动。
- 自动递增只在该引擎允许的类型上出现,不再显示点了没用的控件。
- 保存表结构会提示成功并退出正在编辑的单元格;没有改动时也会提示。
- 改过的索引在每种引擎上都能保存。
- 添加字段 / 唯一键 / 检查 时新行以空名创建、滚动到可见位置,直接输入即可。
- 索引的 字段 编辑器不再跑出窗口,索引类型 列不再被截断。
- 新建表在命名前也能预览 SQL。
v0.0.12
[0.0.12] - 2026-10-15
Added
- Changelog in Options → About: once a check has found a newer release, the panel shows that
version's notes — what installing would bring, in the UI's own language — and stays off the page
entirely while this build already is the newest release. The repository keeps its changelog in
English and Chinese, and the release job publishes each version's section as the release notes
(it fails when a version's section is missing). - SQL completion matches loosely: a candidate is found by its exact name, a prefix, anything inside
it or a subsequence of it, with the closest matches leading; the tables lead right afterFROM/
JOIN/INTO/UPDATE/TABLE, and the everyday keywords (in their most-typed order) come
before the rest of the language.Tabaccepts the highlighted candidate, and still indents when
no popup is open. - The query editor's run keystrokes are configurable in Options → Shortcuts: click a field, press
the combination, and OK applies it (Default restores Navicat's Ctrl+R / Ctrl+Shift+R). Ctrl+R runs
the whole editor, Ctrl+Shift+R only the selection, and Ctrl+Enter stays an alias for running.
Fixed
- Grid cells and headers have 6px of horizontal padding, so a value no longer sits flush against the
previous column's divider and its text (issue #5). - The MySQL account editor lists a database the account only holds an entry for
(GRANT USAGE ON db.* WITH GRANT OPTION), which Navicat andSHOW DATABASESreport as well. - Close Connection closes that connection's account window and Object Privileges window with it
and drops the Users list, so no window is left editing an account over a dead connection.
[0.0.12] - 2026-10-15
新增
- 「选项 → 关于」新增 更新日志 区块:检测到新版本后显示该版本的日志(跟随界面语言,即安装后能
看到的内容),当前已是最新版本时整块不显示。仓库同时加入中英文更新日志,发布任务按版本段落生成
Release 说明(缺少该版本段落则发布失败)。 - SQL 补全支持模糊匹配:精确、前缀、包含以及子序列都能命中,最贴近的候选排在前面;
FROM/JOIN/
INTO/UPDATE/TABLE之后优先列出表,日常关键字(按常用程度排序)排在其余关键字之前;Tab
接受高亮的候选(弹窗未打开时仍插入缩进)。 - 查询编辑器的运行快捷键可在「选项 → 快捷键」页配置:点击输入框后按下新的组合键,确定即生效
(默认恢复 Navicat 的 Ctrl+R / Ctrl+Shift+R)。Ctrl+R 运行整段,Ctrl+Shift+R 只运行选中内容,
Ctrl+Enter 仍可作为运行整段的别名。
修复
- 网格单元格与表头增加 6px 左右内边距,值不再紧贴上一列的分隔线与相邻文本(issue #5)。
- MySQL 账号编辑器会列出账号仅持有登记的数据库(
GRANT USAGE ON db.* WITH GRANT OPTION),与
Navicat 及SHOW DATABASES的结果一致。 - 关闭连接 会一并关闭该连接的账号编辑窗口与 对象权限 窗口,并清空 用户 列表,不会再留下在
失效连接上编辑账号的窗口。