Skip to content

gravityfile v0.2.2

Choose a tag to compare

@github-actions github-actions released this 16 Jan 13:08
· 89 commits to main since this release

[0.2.2] - 2026-01-16

Fixed

  • Critical: Safe Deletion with Trash - All deletions now move files to system trash instead of permanent deletion, allowing recovery of accidentally deleted files
  • Critical: Symlink Safety - Fixed symlink handling across all file operations to prevent accidental deletion of symlink targets:
    • Uses symlink_metadata() instead of is_dir() to avoid following symlinks
    • Symlinks are always removed as files, never following their targets
    • Applies to delete, copy, move, and undo operations
  • Critical: Errors View Delete Behavior - Pressing d in Errors view now correctly deletes the selected broken symlink, not items from the Explorer view
  • Delete Confirmation Modal - Now shows full paths (truncated from left if needed) instead of just filenames, with type indicators (🔗 for symlinks, 📁 for directories)
  • Errors View Toggle Mark - Space key now properly marks/unmarks broken symlinks in Errors view

Added

  • Errors View Footer Hints - Shows available actions (Spc to select, d to delete, Esc to clear)
  • Errors View Delete Hint - Selected broken symlinks show [d to delete] hint
  • Errors View Mark Indicator - Marked items show [x] prefix
  • Comprehensive Symlink Tests - Added tests for deleting symlinks to files, directories, broken symlinks, symlink chains, and directories containing symlinks

Changed

  • Delete confirmation now says "Move to trash?" instead of "cannot be undone"
  • Success messages now say "Moved to trash" instead of "Deleted"

Full Changelog: v0.2.1...v0.2.2