Releases: Moyf/yearly-glance
Releases · Moyf/yearly-glance
4.2.5
4.2.4
Changes
No changelog found for version 4.2.4.
4.2.2
🔧 Build
- update pnpm lockfile for the uuid security patch release
4.2.1
🔒 Security
- upgrade uuid to 12.0.1 to resolve CVE-2026-41907 (no functional impact, plugin only uses v4())
4.2.0
4.1.0
Changes
No changelog found for version 4.1.0.
4.0.0
4.0.0 (2026-05-18)
⚠️ Breaking Changes
- Command ID renamed:
yearly-glance:open-yearly-glance→yearly-glance:open-view. If you have hotkeys or third-party plugins (e.g. Spacekeys) referencing the old command ID, please re-bind them. - Minimum Obsidian version: raised from 1.8.0 to 1.10.0 (required for Bases API and
getLanguage()).
🚀 Added
- Daily Note Events: Create, edit, and delete events directly in daily note frontmatter properties ✨
- Note Events: Any note with an
event_dateproperty can serve as an event source ✨ - Bases View Integration: Use
.basefiles to create custom aggregated calendar views ✨ - Multi-Day Events: Events support a duration field to span multiple days ✨
- Event Preset Types: Define named types (e.g. "健康 🌿") with emoji and color for consistent event styling, with type-based filtering support
- Multi-Token Search in Event Manager: Combined filters like
@year:2026 @month:3 @type:健康with a token suggestion panel - Emoji Picker: Searchable emoji picker for event icons — supports custom keyword mapping in settings
✨ Improved
- Title Styling: Improved year number font and interactive styling in the calendar header
- Right-Click Context Menu: Right-click any event to edit, open its source note, or delete
- Delete Button in Edit Modal: Delete button added to the bottom-left of the edit form
- Remember Last Event Type: Event creation form defaults to the last used type
- Color Swatches in Color Selector: Colored circles shown before each preset color option
- Compact Tab Bar: Tab bar collapses to emoji-only when there is insufficient space
- Event Click Action Setting: Choose what happens when clicking an event — "Show preview" (default), "Edit event", or "Open note"
- Simplified Source Note Display: Shows filename only; hover to see the full path
- Unified Tooltip Style: Consistent hover hint styling across all buttons
- Event Detail Trimming: Only meaningful attribute values are shown, reducing visual noise
- Zodiac/Animal Stored as Locale-Independent Keys:
zodiacandanimalindata.jsonnow store English identifiers (e.g.capricorn,jia-zi:rat) and are translated at display time, preventing mixed-language data when switching locales - Hide Past/Future Months State Persisted: Toggle states are now saved and restored on reload
- Date Validation: Invalid dates like
2026-04-220are now properly rejected - Settings Tabs: Settings panel reorganized into 5 tabs (Basic / Layout & Display / Note Events / Daily Note Events / Presets)
🐛 Fixed
- Year Switch Corrupts Event Dates: Switching the display year no longer permanently overwrites the original event date
- Birthday Age/Zodiac for Legacy Date Format: Events saved in the old date format now correctly calculate age and zodiac
- CSS: Various minor CSS fixes
中文说明(点击展开)
⚠️ 破坏性变更
- 命令 ID 已重命名:
yearly-glance:open-yearly-glance→yearly-glance:open-view。如果你在快捷键或第三方插件(如 Spacekeys)中绑定了旧的命令 ID,请重新绑定。 - 最低 Obsidian 版本要求:从 1.8.0 提升至 1.10.0(Bases API 和
getLanguage()所需)。
🚀 新增
- 日记事件:现在起,你可以在日记的 frontmatter 属性中直接添加当天的事件 ✨
- 笔记事件:以及,数据终于不再只存在在插件内——你可以将任意笔记作为事件来源 ✨
- Bases 集成:现在,可在
.base数据库内添加yearly-glance视图,自定义不同笔记事件的聚合显示 ✨ - 多日事件:事件支持设置持续天数(duration) ✨
- 事件类型预设(EventPresetType):定义带 emoji 和颜色的命名类型(如"健康 🌿"),指定给事件后统一样式,支持按类型筛选
- 组合搜索:事件管理页面,支持
@year:2026 @month:3 @type:健康组合筛选,并提供候选词提示面板 - Emoji 选择器:新增 emoji 图标选择弹窗,支持搜索,并可在设置中添加自定义关键词
✨ 提升
- 标题样式优化:年历标题的年份数字字体和交互样式改进
- 右键上下文菜单:右键事件可编辑、打开笔记或删除
- 编辑表单删除按钮:在编辑表单左下角新增删除按钮
- 记忆上次事件类型:新建事件时默认使用上次选择的类型
- 预设颜色圆形提示:颜色选项前显示彩色圆点预览
- 导航栏响应式 Emoji 模式:空间不足时自动折叠为纯 emoji 显示
- 事件点击行为设置:可设置点击事件的行为——预览(默认)、编辑、或打开来源笔记
- 笔记来源显示简化:仅显示文件名,悬停查看完整路径
- 统一 Tooltip 组件:所有按钮的悬停提示风格统一
- 事件专属信息:仅显示有意义的属性值,节省空间
- 生肖/星座存储为与语言无关的 key:避免切换语言时数据混乱
- 隐藏过去/未来月份状态持久化:切换后的状态现在会保存,重启插件后不再重置
- 日期验证:拒绝
2026-04-220等格式非法的日期输入 - 设置页改进:设置面板重新整理为 5 个标签页(基础 / 布局与显示 / 笔记事件 / 日记事件 / 预设)
🐛 修复
- 切换显示年份导致事件日期被覆写:切换到 2027 年等操作不再永久修改事件的原始日期
- 生日旧格式数据不计算年龄/生肖:兼容旧格式保存的生日数据
- CSS:修复各种 CSS 内的小错误
🔧 构建
- 降级 React 到 18:将 React 19 替换为 React 18.3.1,修复 Obsidian 插件审核报告的错误
- 移除废弃依赖:用 Node.js 内置模块替换依赖
- 发布流程优化:移除 Release 中多余的
.zip文件;为main.js、manifest.json、styles.css添加构建来源证明(artifact attestation) - CI 升级:CI 工作流中 Node.js 从 18 升级到 20
4.0.0-beta.2
🚧 This is a beta release
Version: 4.0.0-beta.2
English Changelog
Changes
🚀 Added
- Daily Note Events: Full lifecycle support — create, edit, delete events stored in daily note frontmatter properties ✨ (beta.1)
- Note Events: Use notes with specific
event_dateproperty as event sources ✨ (beta.1) - Note Event File Name Format: Support
{event_name}and date tokens (YYYY, MM, DD) for custom file paths (beta.1) - Multi-Day Event Support: Events can span multiple days with duration field ✨ (beta.1)
- Bases View Integration: Use
.basefiles to create filtered calendar views ✨ (beta.1) - Right-Click Context Menu: Right-click events to edit, open note, or delete ✨ (beta.1)
- Delete Button in Edit Modal: Delete button in the bottom-left of the edit form (beta.1)
- Remember Last Event Type: Event creation form defaults to last selected type (beta.1)
- Color Selector Circle Hints: Colored circles before preset color options (beta.1)
- NavTabs Responsive Emoji Mode: Collapse to emoji-only when space is insufficient (beta.1)
- Date Validation: Invalid dates like
2026-04-220are now properly rejected (beta.1)
⚡ Changed
- Simplified "From Note" Display: Show only filename, hover for full path (beta.1)
- Unified Tooltip Component: Consistent hover hint styling across all buttons (beta.1)
- Title Styling: Improved year number font and interactive styling (beta.1)
- Event Specific Info: Only shows meaningful attribute values, saving space (beta.1)
🐛 Fixed
- Year Switch Corrupts Event Dates: Switching display year (e.g. to 2027) permanently overwrote
eventDate.isoDatewith the display year, causing events to "move" and disappear from their original year. NowisoDatestays immutable as the user-entered date, anddateArris used for display-year calculations. - Optional Fields Locked: Fixed fields staying disabled after switching from dailyNoteEvent type (beta.1)
Installation
- Download
yearly-glance.zip - Unzip it to your Obsidian vault's plugins folder:
<vault>/.obsidian/plugins/yearly-glance/ - Reload Obsidian
- Enable yearly-glance plugin in settings
中文更新日志
更新内容
🚀 新增
- 日记事件:完整生命周期支持 — 创建、编辑、删除存储在日记 frontmatter 属性中的事件 ✨ (beta.1)
- 笔记事件:可以使用带有特定的
event_date属性的笔记作为事件来源 ✨ (beta.1) - 笔记事件文件名格式:支持
{event_name}和日期通配符(YYYY、MM、DD)定义文件路径 (beta.1) - 多日事件支持:事件可设置持续天数 ✨ (beta.1)
- Bases 视图集成:使用
.base文件创建筛选日历视图 ✨ (beta.1) - 右键菜单:右键事件显示编辑、打开笔记、删除选项 ✨ (beta.1)
- 编辑窗删除按钮:编辑表单左下角新增删除按钮 (beta.1)
- 记住上次事件类型:创建事件时自动默认为上次选择的类型 (beta.1)
- 颜色选择器圆形色块:预设颜色选项前显示对应颜色圆形标识 (beta.1)
- 标签页响应式 Emoji 模式:空间不足时自动切换为仅 emoji (beta.1)
- 日期校验增强:非法日期输入正确报错 (beta.1)
⚡ 变更
- 简化来源笔记显示:仅显示文件名,hover 显示完整路径 (beta.1)
- 统一 Tooltip 组件:所有按钮 hover 提示统一样式 (beta.1)
- 标题样式:改进年份字体显示样式,更突出可交互属性 (beta.1)
- 事件详情精简:仅显示有意义的属性值,节约事件显示空间 (beta.1)
🐛 修复
- 切换年份导致事件日期损坏:切换显示年份(如切到 2027 年)会永久覆盖
eventDate.isoDate为显示年份,导致事件"移动"到错误年份并从原年份消失。现在isoDate保持为用户输入的原始日期不可变,dateArr用于显示年份的日期计算。 - 可选字段被锁定:修复从 dailyNoteEvent 切换类型后字段仍不可编辑 (beta.1)
如何安装
- 下载
yearly-glance.zip压缩文件 - 解压到你的 Obsidian 库的插件文件夹内:
<vault>/.obsidian/plugins/yearly-glance/ - 重启 Obsidian
- 在设置中启用 yearly-glance 插件
4.0.0-beta.1
🚧 This is a beta release
Version: 4.0.0-beta.1
English Changelog
Changes
🚀 Added
- Daily Note Events: Full lifecycle support — create, edit, delete events stored in daily note frontmatter properties ✨
- Note Events: Use notes with specific
event_dateproperty as event sources ✨ - Note Event File Name Format: Support
{event_name}and date tokens (YYYY, MM, DD) for custom file paths - Multi-Day Event Support: Events can span multiple days with duration field ✨
- Bases View Integration: Use
.basefiles to create filtered calendar views ✨ - Right-Click Context Menu: Right-click events to edit, open note, or delete ✨
- Delete Button in Edit Modal: Delete button in the bottom-left of the edit form
- Remember Last Event Type: Event creation form defaults to last selected type
- Color Selector Circle Hints: Colored circles before preset color options
- NavTabs Responsive Emoji Mode: Collapse to emoji-only when space is insufficient
- Date Validation: Invalid dates like
2026-04-220are now properly rejected
⚡ Changed
- Simplified "From Note" Display: Show only filename, hover for full path
- Unified Tooltip Component: Consistent hover hint styling across all buttons
- Title Styling: Improved year number font and interactive styling
- Event Specific Info: Only shows meaningful attribute values, saving space
🐛 Fixed
- Optional Fields Locked: Fixed fields staying disabled after switching from dailyNoteEvent type
Installation
- Download
yearly-glance.zip - Unzip it to your Obsidian vault's plugins folder:
<vault>/.obsidian/plugins/yearly-glance/ - Reload Obsidian
- Enable yearly-glance plugin in settings
中文更新日志
更新内容
🚀 新增
- 日记事件:完整生命周期支持 — 创建、编辑、删除存储在日记 frontmatter 属性中的事件 ✨
- 笔记事件:可以使用带有特定的
event_date属性的笔记作为事件来源 ✨ - 笔记事件文件名格式:支持
{event_name}和日期通配符(YYYY、MM、DD)定义文件路径 - 多日事件支持:事件可设置持续天数 ✨
- Bases 视图集成:使用
.base文件创建筛选日历视图 ✨ - 右键菜单:右键事件显示编辑、打开笔记、删除选项 ✨
- 编辑窗删除按钮:编辑表单左下角新增删除按钮
- 记住上次事件类型:创建事件时自动默认为上次选择的类型
- 颜色选择器圆形色块:预设颜色选项前显示对应颜色圆形标识
- 标签页响应式 Emoji 模式:空间不足时自动切换为仅 emoji
- 日期校验增强:非法日期输入正确报错
⚡ 变更
- 简化来源笔记显示:仅显示文件名,hover 显示完整路径
- 统一 Tooltip 组件:所有按钮 hover 提示统一样式
- 标题样式:改进年份字体显示样式,更突出可交互属性
- 事件详情精简:仅显示有意义的属性值,节约事件显示空间
🐛 修复
- 可选字段被锁定:修复从 dailyNoteEvent 切换类型后字段仍不可编辑
如何安装
- 下载
yearly-glance.zip压缩文件 - 解压到你的 Obsidian 库的插件文件夹内:
<vault>/.obsidian/plugins/yearly-glance/ - 重启 Obsidian
- 在设置中启用 yearly-glance 插件
3.2.0
🎉 This is a stable release
Version: 3.2.0
English Changelog
Changes
♻️ Refactor
✨ Features
- Support Ctrl+Enter / Cmd+Enter shortcut to submit form (#99) (92b204e), closes #99
- Support for event import and export (#86) (b8619b7), closes #86
Installation
- Download
yearly-glance.zip - Unzip it to your Obsidian vault's plugins folder:
<vault>/.obsidian/plugins/yearly-glance/ - Reload Obsidian
- Enable yearly-glance plugin in settings
中文更新日志
更新内容
♻️ 重构
✨ 新功能
如何安装
- 下载
yearly-glance.zip压缩文件 - 解压到你的 Obsidian 库的插件文件夹内:
<vault>/.obsidian/plugins/yearly-glance/ - 重启 Obsidian
- 在设置中启用 yearly-glance 插件