Skip to content

🗂️ YAMS v1.7.0

Latest

Choose a tag to compare

@github-actions github-actions released this 08 Aug 18:29

🎉 What's New in 1.7.0

Changed

  • Requires Obsidian 1.13.0+: minAppVersion raised to 1.13.0 to adopt the declarative settings API (getSettingDefinitions()). Settings now appear in Obsidian's global settings search.
  • Settings UI migrated to the declarative API: the settings tab is now defined declaratively (requires 1.13.0). Profile cards are replaced by a compact list — click a profile to edit it in a modal, use the delete button or Delete key to remove one, and the "+" button to add a new account.
  • Destructive button styling: profile-removal confirmation and delete buttons now use setDestructive() instead of the deprecated setWarning().

Fixed

  • Community plugin scan findings: removed the forbidden eslint-disable for the sentence-case rule (copy moved into translations), replaced createEl('div') with createDiv, and upgraded the obsidian type definitions to 1.13.1 so the moment helper is fully typed (clearing the no-unsafe-* warnings).
  • Hardcoded strings: the "Skip Images" setting and the List Callouts hint were hardcoded in Chinese; both are now localized.

🎉 1.7.0 版本新功能

变更内容

  • 要求 Obsidian 1.13.0+: minAppVersion 提升到 1.13.0,以采用新的声明式设置 API(getSettingDefinitions())。设置项现在会出现在 Obsidian 的全局设置搜索中。
  • 设置界面迁移到声明式 API: 设置页改为声明式定义(需 1.13.0)。账户卡片改为紧凑列表 — 点击账户在弹窗中编辑,用删除按钮或 Delete 键删除,用 "+" 按钮添加新账户。
  • 破坏性按钮样式: 删除账户的确认与删除按钮改用 setDestructive() 样式,替换已弃用的 setWarning()

修复问题

  • 社区扫描发现项: 移除被禁止的 sentence-case 规则 eslint-disable(文案移入翻译文件);createEl('div') 改为 createDiv;升级 obsidian 类型到 1.13.1,moment 助手获得完整类型(清除 no-unsafe-* 警告)。
  • 硬编码字符串: "跳过图片" 设置和 List Callouts 提示原本硬编码为中文,现已本地化。

Installation / 安装方法:

  1. Download the plugin files below / 下载下方的插件文件
  2. Extract to your vault's plugins folder: <vault>/.obsidian/plugins/yet-another-memos-sync/ / 解压到你的库的插件文件夹
  3. Enable the plugin in Obsidian settings / 在 Obsidian 设置中启用插件

Requirements / 系统要求:

  • Obsidian v1.0.0 or higher / Obsidian v1.0.0 或更高版本
  • Memos server (supports v0.25.1 and legacy versions) / Memos 服务器(支持 v0.25.1 及历史版本)

Links / 相关链接: