Releases: whtiehack/obsidian-git-auto-commit
Releases · whtiehack/obsidian-git-auto-commit
1.3.5
v1.3.5
🐛 Bug Fixes
- Fix autoPush triggering on manual commits, causing double push in "Commit and Push" menu
- autoPush setting now only applies to automatic commits
Full Changelog: 1.3.4...1.3.5
v1.3.5
🐛 Bug 修复
- 修复 autoPush 在手动提交时触发的问题,避免"提交并推送"菜单重复推送
- autoPush 设置现在仅对自动提交生效
完整更新日志: 1.3.4...1.3.5
1.3.4
v1.3.4 Release Notes
✨ New Features
- Progress indicator - Git operations (pull/push/commit) now show loading spinner with success/fail state transition
🔧 Improvements
- Commit message file list - Limit to first 5 files when many files changed, shows "... and N more" for remaining
- macOS git-lfs support - Extend PATH to include Homebrew paths (/usr/local/bin, /opt/homebrew/bin) to fix git-lfs detection
Full Changelog: 1.3.3...1.3.4
v1.3.4 发布说明
✨ 新功能
- 进度指示器 - Git 操作(拉取/推送/提交)现在显示加载动画,完成后显示成功/失败状态
🔧 改进
- 提交消息文件列表 - 超过 5 个文件时只显示前 5 个,剩余显示 "... and N more"
- macOS git-lfs 支持 - 扩展 PATH 包含 Homebrew 路径,修复 git-lfs 无法检测的问题
Full Changelog: 1.3.3...1.3.4
1.3.3
v1.3.3 Release Notes
🐛 Bug Fixes
- Create .gitignore automatically when initializing local-only repository
- Hide "Local only" button after repo is initialized (prevent duplicate init)
v1.3.3 发布说明
🐛 修复
- 初始化本地仓库时自动创建 .gitignore 文件
- 仓库初始化后隐藏"仅本地版本控制"按钮(防止重复初始化)
Full Changelog: 1.3.2...1.3.3
1.3.2
v1.3.2 Release Notes
🐛 Bug Fixes
- Fix status badge conflicts with other plugins by using real DOM elements instead of CSS pseudo-elements
v1.3.2 发布说明
🐛 修复
- 状态徽章改用真实 DOM 元素,避免与其他使用 ::after 的插件冲突
Full Changelog: 1.3.1...1.3.2
1.3.1
v1.3.1 Release Notes
🐛 Bug Fixes
- Fix debug logging to use console.debug instead of console.info to comply with plugin review requirements
v1.3.1 发布说明
🐛 修复
- 调试日志改用 console.debug,符合插件审核要求
Full Changelog: 1.3.0...1.3.1
1.3.0
✨ New Features
- Debug logging - New toggle to log all git commands to console for troubleshooting (Ctrl+Shift+I to view)
🔧 Improvements
- Status badge refactor - Complete rewrite of file status badge feature
- CSS-based rendering using data-git-status attribute + ::after pseudo-element
- New GitStatusBadgeManager class with cleaner architecture
- Reduced codebase from 908 to 472 lines
- Auto pull optimization - Use onLayoutReady instead of setTimeout for startup auto-pull
- Badge updates optimization - Improved performance for badge updates and commit-on-close behavior
📝 Settings
New setting:
- Debug logging - Log git commands to console (Ctrl+Shift+I to view)
v1.3.0 发布说明
✨ 新功能
- 调试日志 - 新增调试日志开关,开启后可在控制台查看所有 git 命令执行记录,方便排查问题
🔧 改进
- 状态徽章重构 - 完全重写文件状态徽章功能
- 使用 CSS data-git-status 属性 + ::after 伪元素渲染,替代 DOM 节点操作
- 新增 GitStatusBadgeManager 类,逻辑更清晰
- 代码从 908 行精简至 472 行
- 自动拉取优化 - 使用 onLayoutReady 替代 setTimeout 处理启动时自动拉取
- 徽章更新优化 - 优化徽章更新和关闭时提交的性能
📝 设置
新增设置项:
- 调试日志 - 将 git 命令输出到控制台(Ctrl+Shift+I 查看)
Full Changelog: 1.2.2...1.3.0
1.2.2
refactor: fix logic issues and code optimization
1.2.1
Add ESLint with obsidianmd plugin for code quality checks
1.2.0
Release Notes 1.2.0
1.2.0
New Features
- Setup wizard for first-time users
- Commit and push on close option
- Revert confirmation dialog with file list
- Right-click menu to revert individual files
- Chinese language support
Notes
- Desktop only (Windows / macOS / Linux)
1.2.0
新功能
- 新用户设置向导
- 关闭时提交并推送选项
- 还原确认对话框(显示文件列表)
- 文件右键菜单还原单个文件
- 中文界面支持
说明
- 仅支持桌面端(Windows / macOS / Linux)
1.1.0
v1.1.0 Release Notes
New Features
- Ribbon Button: Added a quick access button in the left sidebar with Git actions menu
- Pull
- Commit
- Push
- Commit and Push
- Revert all changes (discard uncommitted modifications)
- Can be toggled on/off in settings