v0.2.2
sxyazi/yaziv0.2.2Jan 24, 2024by github-actions[bot]
AI Summary
Adds support for Windows ARM64 and Ubuntu Snap, alongside a new keymap configuration method. The event system is rewritten to reduce flickering during rendering.
Key Highlights
- Windows ARM64 support
- Ubuntu Snap support
- prepend_keymap and append_keymap for mixing keymaps
- Optimized event system to reduce preview pane flickering
New Features
- Windows ARM64 support
- Ubuntu Snap support
- prepend_keymap and append_keymap
- Child process suspend support
- Improved search input title
- Tabby terminal image preview support
Full Release Notes
This version fixes many bugs and adds support for two new platforms: Windows ARM64 and Ubuntu (via Snap). The release also introduces a new way of configuring keymaps. You can now customize your key bindings by using `prepend_keymap` or `append_keymap` without having to copy the entire `keymap.toml` file. (See [this example](https://github.com/sxyazi/dotfiles/blob/main/yazi/keymap.toml). I am a Colemak keyboard layout user, which requires remapping many keys, but it's still neat.) As for performance, this version rewrites Yazi's event system, allowing multiple renderings triggered by events to be merged into a single rendering more efficiently, saving CPU resources. You may notice that the preview pane no longer flickers when switching directories, as unnecessary intermediate rendering steps are skipped. For packaging, this version adds [`yazi.desktop`](https://github.com/sxyazi/yazi/blob/main/assets/yazi.desktop) and [`logo.png`](https://github.com/sxyazi/yazi/blob/main/assets/logo.png) files, which can be used in packaging scripts for different platforms. ## What's Changed * fix: can't clear screen and restore cursor when exit on Windows by @sxyazi in https://github.com/sxyazi/yazi/pull/525 * fix: can't open and reveal paths with spaces on Windows by @sxyazi in https://github.com/sxyazi/yazi/pull/526 * feat: add support for snap packages by @gapplef in https://github.com/sxyazi/yazi/pull/531 * feat: add desktop entry and logo by @fufexan in https://github.com/sxyazi/yazi/pull/534 * fix: can't display file name with invalid utf-8 by @sxyazi in https://github.com/sxyazi/yazi/pull/529 * fix: follow symlinks when detecting mime-type on Windows by @sxyazi in https://github.com/sxyazi/yazi/pull/527 * fix: shell input code highlighting is not adapted for the default ANSI theme by @sxyazi in https://github.com/sxyazi/yazi/pull/536 * feat: add `prepend_keymap` and `append_keymap` for configuring mixing by @sxyazi in https://github.com/sxyazi/yazi/pull/546 * fix: alternate tabs with the same path as the active tab cannot complete partial updates and cursor reset by @sxyazi in https://github.com/sxyazi/yazi/pull/552 * feat: allow the spawned child processes to suspend by @sxyazi in https://github.com/sxyazi/yazi/pull/556 * feat: improve search input title by @sxyazi in https://github.com/sxyazi/yazi/pull/559 * perf: new event system by @sxyazi in https://github.com/sxyazi/yazi/pull/561 * feat: support submit completion and input at once by using `<Enter>` key by @sxyazi in https://github.com/sxyazi/yazi/pull/565 * feat: image preview in Tabby terminal by @sxyazi in https://github.com/sxyazi/yazi/pull/569 ## New Contributors * @gapplef made their first contribution in https://github.com/sxyazi/yazi/pull/531 * @fufexan made their first contribution in https://github.com/sxyazi/yazi/pull/534 **Full Changelog**: https://github.com/sxyazi/yazi/compare/v0.2.1...v0.2.2