MyGit

v0.3.0

sxyazi/yazi

版本发布时间: 2024-08-01 15:45:51

sxyazi/yazi最新发布版本:v0.3.3(2024-09-04 23:58:24)

After three months of development, I'm excited to announce the release of Yazi 0.3 today! This version brings a host of new features and bug fixes. Thank you to every contributor for making Yazi better and better!

This is a breaking change release, so please make sure to read:

Mouse support

The plugin system now includes five new APIs for each component - click, scroll, touch, move, and drag to handle mouse events. These APIs come with default implementations to cover common operations.

This also allows plugin developers to extend mouse behavior and create any functionality they desire.

https://github.com/user-attachments/assets/7c129c11-6246-4a6e-a261-3e7a9a141387

See https://github.com/sxyazi/yazi/pull/1038 for more info, thanks to @qsdrqs for his work on this!

New builtin extract plugin

https://github.com/sxyazi/yazi/pull/1321 adds a builtin extract plugin for decompressing archives, with these features:

  1. Interactive password input.
  2. Smart output directory selection with auto renaming.
  3. Supports decompressing multiple files at once.
  4. Fully async, decompression tasks can queue up and run in the background.

https://github.com/user-attachments/assets/71093fa8-1798-406b-8578-a85525cb60d2

Enhanced file preview

Yazi 0.3 now supports the following new format to preview:

This feature requires the optional dependency ImageMagick to enable it.

https://github.com/user-attachments/assets/94ee6f17-88d2-4e41-98e2-1a42b34b49aa

Package manager

Yazi 0.3 introduces the new ya pack subcommand for package management, making plugin and theme updates more convenient. This is especially important as the plugin system is not yet stable, so providing users with the ability to easily keep everything up to date is necessary.

Add a new one to package.toml, then install it:

ya pack -a Reledia/glow

# If it's a sub-directory under the repository
ya pack -a yazi-rs/flavors#catppuccin-mocha 

Install all packages configured in package.toml:

ya pack -i

Upgrade all packages in package.toml to the latest commit:

ya pack -u

See https://github.com/sxyazi/yazi/pull/985 for details.

Redesigned Icons

https://github.com/sxyazi/yazi/pull/1086 redesigns the icons, bringing the following improvements:

Significant archive preview performance improvements

https://github.com/sxyazi/yazi/pull/1220 reimplements archive previewing to be streamed. This means only a small amount of necessary data needs to be read to display the preview immediately, rather than waiting for all the data to be returned and parsed as before.

Additionally, by replacing lsar with 7zip, the preview speed has been further improved. The new implementation also introduces two new features: icon display and file size display.

Other improvements

These are a few of my favorite features. For a complete list of improvements in Yazi 0.3, check out the full changelog below.

What's Changed

New Contributors

Full Changelog: https://github.com/sxyazi/yazi/compare/v0.2.5...v0.3.0

相关地址:原始地址 下载(tar) 下载(zip)

1、 yazi-aarch64-apple-darwin.zip 5.71MB

2、 yazi-aarch64-pc-windows-msvc.zip 5.74MB

3、 yazi-aarch64-unknown-linux-gnu.zip 6.33MB

4、 yazi-aarch64-unknown-linux-musl.zip 6.32MB

5、 yazi-x86_64-apple-darwin.zip 6.2MB

6、 yazi-x86_64-pc-windows-msvc.zip 6.19MB

7、 yazi-x86_64-unknown-linux-gnu.snap 13.83MB

8、 yazi-x86_64-unknown-linux-gnu.zip 6.73MB

9、 yazi-x86_64-unknown-linux-musl.zip 6.87MB

查看:2024-08-01发行的版本