v0.3.3
sxyazi/yaziv0.3.3Sep 4, 2024by github-actions[bot]
AI Summary
This patch release fixes regressions affecting key bindings and WSL directory refreshes. It introduces Git integration, file counts in directory size linemodes, and support for image previews in Windows Terminal.
Key Highlights
- Git status linemode for file changes
- Directory file count in size linemode
- Windows Terminal Sixel image format support
New Features
- Git integration linemode
- Directory file count display
- Windows Terminal Sixel support
- URL helper methods (is_absolute, has_root, starts_with, strip_prefix)
- dict_merge() function
Full Release Notes
This version fixes a regression from the previous release that caused some keys to stop working. And it resolves a long-standing issue where the file list couldn't refresh automatically in Windows WSL. This version also introduces the following three new features: ## Git integration Show the status of Git file changes as a linemode in the file list. Feel free to use it and report any issues! For now, you need to manually install it (pretty easy to do) from https://github.com/yazi-rs/plugins/tree/main/git.yazi. In the future, it will be included as one of Yazi's built-in plugins. https://github.com/user-attachments/assets/eea1c665-0755-4a79-82ef-9846c4cac0df ## `size` linemode supports displaying the number of files in a directory https://github.com/sxyazi/yazi/pull/1591 updates the `size` linemode for directories to support displaying the number of files within the directory instead of leaving it blank as before. If size information is available for the directory (triggered when sorting by size), that information will be shown as a priority. https://github.com/user-attachments/assets/d725e9fa-9605-4be3-bb05-6b21c7bbbca5 ## Windows Terminal support for image previews [Windows Terminal Preview v1.22.2362.0](https://github.com/microsoft/terminal/releases/tag/v1.22.2362.0) now supports the Sixel image format. Yazi provided an adaptation for this in https://github.com/sxyazi/yazi/pull/1588 (Thanks @e82eric). Note that Windows Terminal Preview v1.22.2362.0 [has a bug](https://github.com/sxyazi/yazi/issues/1570#issuecomment-2319625368) that can cause Yazi to time out at startup. If you want to try this feature, make sure to apply the patch from https://github.com/microsoft/terminal/pull/17833. https://github.com/user-attachments/assets/8a1f1e5c-51dd-4281-8575-c5c5de3ef3ad ## What's Changed * fix: keybindings disappear when mixing presets with a wrong filter condition by @sxyazi in https://github.com/sxyazi/yazi/pull/1568 * fix: check compositor support status before using ueberzug wayland output by @taoky in https://github.com/sxyazi/yazi/pull/1566 * fix: fallback to `PollWatcher` on WSL by @sxyazi in https://github.com/sxyazi/yazi/pull/1574 * fix: continuous fetcher was not scheduled consecutively by @sxyazi in https://github.com/sxyazi/yazi/pull/1575 * fix: `Rail` component should have a higher rendering priority by @sxyazi in https://github.com/sxyazi/yazi/pull/1585 * perf: truncate long lists in confirm dialogs by @sxyazi in https://github.com/sxyazi/yazi/pull/1590 * feat: `size` linemode supports showing the file count for directories by @sxyazi in https://github.com/sxyazi/yazi/pull/1591 * feat: support image preview in Windows Terminal by @e82eric in https://github.com/sxyazi/yazi/pull/1588 * chore: upgrade `ratatui` to 0.28.1 by @sxyazi in https://github.com/sxyazi/yazi/pull/1601 * feat: add `is_absolute`, `has_root`, `starts_with`, `ends_with`, `strip_prefix` to `Url` Userdata by @sxyazi in https://github.com/sxyazi/yazi/pull/1605 * feat: add `dict_merge()` function by @sxyazi in https://github.com/sxyazi/yazi/pull/1609 ## New Contributors * @taoky made their first contribution in https://github.com/sxyazi/yazi/pull/1566 * @e82eric made their first contribution in https://github.com/sxyazi/yazi/pull/1588 **Full Changelog**: https://github.com/sxyazi/yazi/compare/v0.3.2...v0.3.3