Froggit v0.3.3-beta
·
25 commits
to master
since this release
🏷️ v0.3.3-beta
🐛 What was fixed?
This release resolves a critical issue that caused Froggit to crash (index out of range panic) when selecting files after performing external Git operations while the app was running. The bug originated from an out-of-sync internal state—specifically, the file selection cursor wasn’t validated against the refreshed file list.
✅ What’s new in 0.3.3?
- 🧯 Fixed panic caused by stale cursor after external Git changes
- 🔒 Added bounds validation in all file operation handlers (
space,a,x, etc.) - 🔁 Introduced new
ValidateCursor()utility function for automatic cursor correction - 🪄 Improved refresh flow with safer post-operation state handling (pull, push, fetch)
- 📢 Added feedback messages for empty or invalid file lists
💡 Notes
This bug was tricky to track down and only occurred when using Git CLI commands (like git commit, git push) while Froggit was running. Thanks to detailed reports from users, the issue was reproduced and resolved. Froggit now ensures the UI state stays consistent and responsive—even if external tools modify the repository mid-session. 🐸