Skip to content

v0.3.0

Choose a tag to compare

@XieZongChen XieZongChen released this 16 Aug 16:22
· 90 commits to main since this release

[0.3.0] - 2026-08-16

Breaking

  • root config removed — notes are now bound to workspaces (<workspace>/.dsh-notes); the old
    root-configured notes directory is ignored and existing notes there are not auto-migrated
    (copy them into the workspace's .dsh-notes manually). Without a workspace, notes can't be
    read/written (the UI prompts to create one).
  • list API response restructured — previously { ok, notes, dir } for a single fixed directory,
    now { ok, workspaces: [{ workspaceId, name, notes }], noWorkspaces } grouped per workspace.
  • notesApiHandler signature changed — from a fixed dir to a deps object resolving the directory
    per workspace (internal host API; the bundled client was updated in lockstep).

Added

  • Git sync (URL-driven): configure a repo URL and the plugin manages a local
    clone; two mutually exclusive modes (shared repo / own repos), mirror-sync
    push, conflict handling and auto-pull. See
    User guide §5 — Git sync (modes
    §5.1, push
    §5.2, update
    §5.3, auto-pull
    §5.4, rejected pushes
    §5.5).
  • Git settings panel (dsh Settings → MD Notes) —
    User guide §6.
  • Update notifications: an npm version check on load shows an "Update
    available" tag — User guide §7.
  • Notes are workspace-bound (<workspace>/.dsh-notes); without a workspace the
    UI prompts to create one first — User guide §1.
  • Interface copy fully internationalized: host errors return machine codes +
    detail, the client renders localized text (gitErrorText).
  • dsh-styled form controls (DshInput / DshSelect) and a restyled full-screen
    notes manager (title-bar settings button, per-workspace grouping/collapse,
    status line).

Fixed

  • Notes appended from an English UI previously wrote Chinese section labels ("用户"/"DSH") — now
    localized ("User"/"DSH").
  • Primary buttons (save/confirm) were white-on-white in dark mode — now use theme tokens.
  • Note-picker "New" button wrapped to its own line (input field consumed the row) — fixed.
  • Punctuation normalized across locales (Chinese copy drops trailing periods; English sentences gain them).

[0.3.0] - 2026-08-16

Breaking(破坏式变更)

  • 移除 root 配置——笔记改为深度绑定工作区(<工作区>/.dsh-notes);原先 root 指向的
    笔记目录被忽略,已有笔记不会自动迁移(请手动复制到对应工作区的 .dsh-notes)。无工作区时
    无法读写笔记(界面提示先新建工作区)。
  • list API 返回结构变更——由 { ok, notes, dir }(单一固定目录)改为
    { ok, workspaces: [{ workspaceId, name, notes }], noWorkspaces }(按工作区分组)。
  • notesApiHandler 签名变更——由固定 dir 改为 deps 对象按工作区解析目录
    (内部 host API;打包的 client 已同步更新)。

Added

  • Git 同步(URL 驱动):配置仓库 URL,插件自动管理本地 clone;支持共享 / 独立仓库两种
    互斥模式、镜像同步推送、冲突处理与自动拉取。用法见
    使用文档 §5 — Git 同步(模式
    §5.1、推送 §5.2
    更新 §5.3、自动拉取
    §5.4、推送被拒 §5.5)。
  • Git 设置面板(dsh 设置 → MD 笔记)——见 使用文档 §6
  • 版本更新提示:加载时检查 npm 版本,有新版时显示「有新版本需要更新」tag——
    使用文档 §7
  • 笔记深度绑定工作区(<工作区>/.dsh-notes),无工作区时界面提示先新建——
    使用文档 §1
  • 界面文案全面国际化:host 错误返回错误码 + detail,client 渲染本地化文案(gitErrorText)。
  • dsh 风格表单控件(DshInput / DshSelect)与笔记管理器整体改版(标题栏设置按钮、
    按工作区分组/折叠、状态行)。

Fixed

  • 英文界面记入笔记时此前写入中文分段标签(「用户」/「DSH」)——现本地化为 "User" / "DSH"。
  • 主按钮(保存/确认)暗黑模式下白字白底——改用主题 token。
  • 记入笔记弹窗「新建」按钮被挤到单独一行(输入框占满整行)——已修复。
  • 文案标点规范化(中文去掉句尾句号;英文句子型文案补句号)。