Skip to content

Commit

Permalink
Feat!: Update to Yazi 0.3.0
Browse files Browse the repository at this point in the history
Breaking Changes:
- Bumped minimum Yazi version to 0.3.0. This is because older Yazi
  versions don't support the rename and remove commands and hence those
  commands will not do anything. The rest of the plugin will still work
  just fine with older Yazi versions.
- As with the above change, the installation instructions for versions
  of Yazi prior to 0.3.0 have been removed to reflect the unsupported
  status of older Yazi versions. The way to install this plugin is the
  use the new plugin manager (ya pack) provided by Yazi.
- Changed the archive extractor from unarchiver (unar) to 7-zip (p7zip),
  which provides the 7z or 7zz command. This is to follow Yazi's
  new dependency on 7-zip for archive extraction instead of unarchiver.
  The goal of this plugin is to use as few dependencies outside of the
  ones that Yazi already depends on, so unarchiver has been swapped out
  for 7-zip, following Yazi's lead.
- The default option for the extract behaviour has been changed to
  rename, instead of skip, to follow the behaviour of Yazi's new extract
  command (plugin) [https://github.com/sxyazi/yazi/releases/tag/v0.3.0]
  [sxyazi/yazi#1321].

Non-breaking Changes:
- Added a new extract behaviour option called rename_existing to rename
  the existing files (not the new files being extracted from the archive)
  when the archive is being extracted. This is added as 7-zip supports
  this new option, which was not previously supported by unarchiver.
- Added preliminary support for Windows. Windows is still far from being
  fully supported, so pull requests are welcome.
- Updated the README to document all the new features and changes.
  • Loading branch information
hankertrix committed Aug 7, 2024
1 parent 89e56ad commit 7209ca4
Show file tree
Hide file tree
Showing 2 changed files with 255 additions and 148 deletions.
Loading

0 comments on commit 7209ca4

Please sign in to comment.