Releases: Moyf/single-choice-property
Releases · Moyf/single-choice-property
0.1.2
Changelog
0.1.2 - 2026-06-04
🐛 Fixed
- Build dependencies: Replace the
builtin-modulespackage with Node.js nativebuiltinModulesfromnode:modulein the esbuild configuration.
中文说明(点击展开)
🐛 修复
- 构建依赖:在 esbuild 配置中用 Node.js 原生
node:module的builtinModules替换builtin-modules包。
0.1.1 - 2026-06-04
🐛 Fixed
- Release provenance: Add a GitHub Actions release workflow that builds release assets in CI and creates artifact attestations for
main.js,manifest.json, andstyles.css. - License metadata: Add the MIT license file so the repository declares the standard open-source license used by the plugin.
中文说明(点击展开)
🐛 修复
- 发布来源证明:添加 GitHub Actions 发布流程,在 CI 中构建发布产物,并为
main.js、manifest.json、styles.css创建 artifact attestation。 - 许可证信息:添加 MIT license 文件,明确插件使用的标准开源许可证。
[0.1.0] - 2026-06-04
🚀 Added
- Single-choice properties: Monitor configured frontmatter list properties and keep only the latest value when a list contains multiple items.
- Property suggestions: Suggest Obsidian properties from the property cache while adding single-value properties, including a right-aligned type label for each candidate.
- Property type validation: Use Obsidian property APIs to warn when watched properties are not configured as list-compatible property types.
- Property management: Add settings to configure watched properties and convert non-list property types to
multitextwithout modifying existing notes. - Metadata editor refresh: Precisely refresh updated property rows in Obsidian's metadata editor after automatic cleanup, avoiding a full page rebuild.
- Optional notices: Add a default-enabled setting to show a Notice when the plugin automatically updates a property, including the note name, property name, and kept value.
- Localization: Add English and Chinese UI text for settings, warnings, and notices.
⚡ Changed
- Minimum app version: Set
minAppVersionto1.11.0to match the Obsidian APIs used for SettingGroup and property metadata.
中文说明(点击展开)
🚀 新增
- 单选属性:监听配置的 frontmatter 列表属性,当列表包含多个值时只保留最新值。
- 属性候选:添加单一值属性时,从 Obsidian 属性缓存中提供候选项,并在右侧显示属性类型标签。
- 属性类型校验:使用 Obsidian 属性 API 校验监听属性类型,当属性未配置为兼容列表的属性类型时显示警告。
- 属性管理:添加设置页用于配置监听属性,并可将非列表属性类型转换为
multitext,不会修改已有笔记。 - 属性区刷新:自动清理后精确刷新 Obsidian metadata editor 中被更新的属性行,避免重建整个页面。
- 可选通知:添加默认开启的通知设置,自动更新属性时显示笔记名、属性名和保留值。
- 本地化:为设置、警告和通知添加英文与中文界面文本。
⚡ 变更
- 最低应用版本:将
minAppVersion设为1.11.0,以匹配 SettingGroup 和属性元数据相关 Obsidian API。
0.1.1
Changelog
0.1.1 - 2026-06-04
🐛 Fixed
- Release provenance: Add a GitHub Actions release workflow that builds release assets in CI and creates artifact attestations for
main.js,manifest.json, andstyles.css. - License metadata: Add the MIT license file so the repository declares the standard open-source license used by the plugin.
中文说明(点击展开)
🐛 修复
- 发布来源证明:添加 GitHub Actions 发布流程,在 CI 中构建发布产物,并为
main.js、manifest.json、styles.css创建 artifact attestation。 - 许可证信息:添加 MIT license 文件,明确插件使用的标准开源许可证。
[0.1.0] - 2026-06-04
🚀 Added
- Single-choice properties: Monitor configured frontmatter list properties and keep only the latest value when a list contains multiple items.
- Property suggestions: Suggest Obsidian properties from the property cache while adding single-value properties, including a right-aligned type label for each candidate.
- Property type validation: Use Obsidian property APIs to warn when watched properties are not configured as list-compatible property types.
- Property management: Add settings to configure watched properties and convert non-list property types to
multitextwithout modifying existing notes. - Metadata editor refresh: Precisely refresh updated property rows in Obsidian's metadata editor after automatic cleanup, avoiding a full page rebuild.
- Optional notices: Add a default-enabled setting to show a Notice when the plugin automatically updates a property, including the note name, property name, and kept value.
- Localization: Add English and Chinese UI text for settings, warnings, and notices.
⚡ Changed
- Minimum app version: Set
minAppVersionto1.11.0to match the Obsidian APIs used for SettingGroup and property metadata.
中文说明(点击展开)
🚀 新增
- 单选属性:监听配置的 frontmatter 列表属性,当列表包含多个值时只保留最新值。
- 属性候选:添加单一值属性时,从 Obsidian 属性缓存中提供候选项,并在右侧显示属性类型标签。
- 属性类型校验:使用 Obsidian 属性 API 校验监听属性类型,当属性未配置为兼容列表的属性类型时显示警告。
- 属性管理:添加设置页用于配置监听属性,并可将非列表属性类型转换为
multitext,不会修改已有笔记。 - 属性区刷新:自动清理后精确刷新 Obsidian metadata editor 中被更新的属性行,避免重建整个页面。
- 可选通知:添加默认开启的通知设置,自动更新属性时显示笔记名、属性名和保留值。
- 本地化:为设置、警告和通知添加英文与中文界面文本。
⚡ 变更
- 最低应用版本:将
minAppVersion设为1.11.0,以匹配 SettingGroup 和属性元数据相关 Obsidian API。
0.1.0
Changelog
[0.1.0] - 2026-06-04
🚀 Added
- Single-choice properties: Monitor configured frontmatter list properties and keep only the latest value when a list contains multiple items.
- Property suggestions: Suggest Obsidian properties from the property cache while adding single-value properties, including a right-aligned type label for each candidate.
- Property type validation: Use Obsidian property APIs to warn when watched properties are not configured as list-compatible property types.
- Property management: Add settings to configure watched properties and convert non-list property types to
multitextwithout modifying existing notes. - Metadata editor refresh: Precisely refresh updated property rows in Obsidian's metadata editor after automatic cleanup, avoiding a full page rebuild.
- Optional notices: Add a default-enabled setting to show a Notice when the plugin automatically updates a property, including the note name, property name, and kept value.
- Localization: Add English and Chinese UI text for settings, warnings, and notices.
中文说明(点击展开)
🚀 新增
- 单选属性:监听配置的 frontmatter 列表属性,当列表包含多个值时只保留最新值。
- 属性候选:添加单一值属性时,从 Obsidian 属性缓存中提供候选项,并在右侧显示属性类型标签。
- 属性类型校验:使用 Obsidian 属性 API 校验监听属性类型,当属性未配置为兼容列表的属性类型时显示警告。
- 属性管理:添加设置页用于配置监听属性,并可将非列表属性类型转换为
multitext,不会修改已有笔记。 - 属性区刷新:自动清理后精确刷新 Obsidian metadata editor 中被更新的属性行,避免重建整个页面。
- 可选通知:添加默认开启的通知设置,自动更新属性时显示笔记名、属性名和保留值。
- 本地化:为设置、警告和通知添加英文与中文界面文本。