Skip to content

Releases: zhang-brook/schema-editor

v0.8.5

Choose a tag to compare

@github-actions github-actions released this 18 Oct 18:12

compare changes

🚀 Features

  • Support conflict handling modes for initial data (c0e52ef)
  • Let initial data insert mode inherit a project default (2ce8743)

🏡 Chores

  • deps: Update pnpm-lock.yaml (ea94e8d)

📥 Downloads

v0.8.4

Choose a tag to compare

@github-actions github-actions released this 18 Oct 16:22

compare changes

📖 Documentation

  • Rename Chinese docs to *.zh-CN.md (42e26a4)
  • Add English docs and language switchers (3f17d6b)

🏡 Chores

  • Switch tooling, metadata, and UI defaults to English (36faaf8)
  • Translate code comments and test titles to English (d412052)
  • Translate remaining config comments to English (86901ea)
  • assets: Replace the app logo with the new S mark (62b6565)

🤖 CI

  • release: 在 Release 正文末尾追加各平台快捷下载链接 (0790c51)

📥 Downloads

v0.8.3

Choose a tag to compare

@github-actions github-actions released this 18 Oct 12:05

compare changes

🚀 新功能

  • desktop: 记住上次打开的文件夹并提供最近打开列表 (835e9f1)

🩹 问题修复

  • desktop: 非递归删除目录改用 rmdir,修复重命名表后保存失败 (fb37ec5)

📦 构建

  • desktop: 支持 macOS/Linux 打包并在产物名中区分系统与架构 (4c5e893)

v0.8.2

Choose a tag to compare

@github-actions github-actions released this 18 Oct 05:46

compare changes

🩹 问题修复

  • desktop: 打包显式关闭发布,安装包仍由 release job 挂载 (b65ca8a)

🏡 杂项

  • desktop: 允许 electron 执行下载二进制的安装脚本 (bf9646e)

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 17 Oct 17:36

compare changes

🚀 新功能

  • ui: 设计 token 双主题化,工具栏新增外观切换(跟随系统/浅色/深色) (f7b6990)
  • ui: 外观面板整合主题与界面密度,行高支持紧凑/正常/宽松三档 (9c4cd15)
  • ui: 字段表与索引表支持拖拽调整列宽,宽度按列记住 (71793d9)
  • ui: 结构设计页支持多表标签切换,删除的表自动从标签栏剔除 (c8e70a0)
  • ui: 结构设计侧栏宽度可拖拽并记住,刷新后保持 (25e13b4)
  • desktop: 引入 Electron 桌面外壳与桥接协议 (0ed7431)
  • desktop: 渲染层接入桌面桥接,替换目录选择与文件监听 (e2bc8f0)
  • git: 支持打开 Git 仓库子目录作为数据源并手动提交 (a2a7905)

🩹 问题修复

  • ui: 共享样式模块硬编码颜色改用语义 token,补齐暗色适配 (1711af6)
  • ui: 编辑区硬编码颜色改用语义 token,补齐暗色适配 (252275d)
  • ui: 设置页与弹窗硬编码颜色改用语义 token,清理已废弃的变量回退值 (214ba0c)
  • ui: 主题强调色恢复原有蓝调,不再偏艳 (56400cf)

♻️ 代码重构

  • toolbar: 顶部菜单改用无样式下拉组件,键盘导航/外点关闭交由组件层 (29a909c)
  • 迁移为 app/web + app/desktop + packages/bridge 的 pnpm workspace 结构 (76be96c)
  • types: 领域类型去掉 any,默认值与初始数据单元格改用 JsonValue (9193d1d)
  • types: 持久化与结构升级模块去掉 any (d69442b)
  • types: SQL 生成与方言解析去掉 any (5f9104a)
  • types: Store、组件与拖拽组合式去掉 any (be6538a)
  • core: 抽出 schema-editor-core 共享逻辑包 (970846e)

📖 文档

  • 补充桌面版说明并更新部署描述 (1e98981)
  • 同步目录结构与命令说明 (2069c64)
  • 补充 Git 仓库数据源的用法与架构说明 (77e16e5)
  • 开发指南: 记录共享逻辑包分层与路径约定 (254c88d)

📦 构建

  • 前端产物改用相对基址以支持 file:// 加载 (ddb996f)
  • desktop: Electron 与 electron-builder 二进制下载改用 npmmirror 镜像 (a8e8656)

🏡 杂项

  • deps: 引入 reka-ui 作为无样式交互组件底层 (4401987)
  • deps: 升级 pnpm 至 12.11.2 (0d27e8f)
  • deps: 同步锁文件 (e76e50e)
  • release: 版本号统一到仓库根 package.json (1255be4)

✅ 测试

  • utils: 补齐方言解析、初始数据序列化与迁移 DDL 的用例 (796745c)

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 16 Oct 06:15

compare changes

🚀 新功能

  • sql: 新增 __all__.sql 合并 schema 与 initial data 输出 (24d034f)
  • persistence: 新增串行增量保存协调器及竞态回归测试 (0bcc2e3)
  • storage: 隔离本地批量写入并检测外部文件冲突 (a78d1dc)
  • persistence: 按文档规划变更并复用未失效的 SQL 输出 (b0c32f6)
  • workspace: 增加工作区会话统一项目读写与派生文件刷新 (bebd1a3)
  • toolbar: 增加保存按钮、实时保存开关与未保存标记 (c0bf4db)
  • save: 项目文件与派生 SQL 拆成两个独立的自动写入开关 (de46cb5)

🩹 问题修复

  • history: 保留连续编辑终态并隔离撤销重做分支 (8f5891e)
  • storage: 统一序列化并保留 Schema SQL 和字段自动更新时间配置 (6717ef6)
  • toolbar: 保存按钮不再依赖未保存状态 (dbb3c9e)
  • save: 同步 SQL 改为依赖项目文件保存,去掉「SQL 领先于 JSON」的组合 (86dfc6a)

♻️ 代码重构

  • stores: 按领域拆分编辑动作并让面板直连 store (13534a0)
  • editor: 编辑器状态改由工作区会话按需落盘 (40c2614)
  • workspace: 删除被工作区会话取代的旧项目加载器 (5426269)

📖 文档

  • 说明按需保存机制、保存开关与快捷键 (b2f1f4d)
  • 说明两个保存开关的分工 (0e04b00)
  • 说明保存开关的连带方向 (f1de92f)
  • toolbar: 开关文案改为「同步保存 SQL」 (ae16e1b)

🏡 杂项

  • workspace: 删除全量保存遗留的磁盘写入工具 (af9a4c7)

✅ 测试

  • workspace: 补齐增量保存与保存链路接线用例 (f9695b5)

v0.6.1

Choose a tag to compare

@github-actions github-actions released this 13 Oct 07:56

compare changes

🚀 新功能

  • structure: 索引多选列时支持拖拽排序 (078e5eb)

🩹 问题修复

  • structure: 清理删除或重命名 schema 后残留的输出 SQL 文件 (413985e)
  • common-field: 删除公共字段时同步删除引用它的表字段 (69a32d9)

📖 文档

📦 构建

  • deps: 更新依赖版本 (76f24e0)

🏡 杂项

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 02 Oct 22:55

compare changes

🚀 新功能

  • structure: 索引支持上移/下移按钮调整顺序 (cead007)
  • structure: 唯一索引支持逻辑删除感知 (1c80005)
  • structure: 字段支持 MySQL ON UPDATE CURRENT_TIMESTAMP (3fb388c)
  • sidebar: 支持全部展开/折叠 Schema (cbd0348)
  • sidebar: 替换全部展开/折叠按钮为 SVG 图标 (32fea67)

🩹 问题修复

  • structure: 字段重命名时同步更新初始数据字段名键 (0caa7d7)
  • structure: 移除 PostgreSQL/SQLite 部分唯一索引注释输出 (f1e0731)
  • sidebar: 修复 schema 重命名输入框连续输入被覆盖 (00d683e)
  • structure: 落盘时省略被清空的长度/小数位字段 (adcead5)

v0.5.4

Choose a tag to compare

@github-actions github-actions released this 02 Oct 15:08

compare changes

🚀 新功能

  • structure: 索引支持拖拽排序 (f059c15)

📦 构建

  • deps: 更新依赖版本 (eb15d1a)

v0.5.3

Choose a tag to compare

@github-actions github-actions released this 02 Oct 12:26

compare changes

🚀 新功能

  • structure: 初始数据字符串字段支持标记为 SQL 表达式 (cfd9f76)

🩹 问题修复

  • structure: 字符串字段判定改用统一类型 quote_default (e71c576)
  • structure: 落盘时移除已禁用的字段长度与小数位 (5358a65)
  • structure: 删除字段时同步清理索引中的列引用 (0fcce49)