Skip to content

Commit

Permalink
sysutils/yazi: update to 0.2.3
Browse files Browse the repository at this point in the history
This version optimizes the loading speed for large directories - Yazi is now
~2.5 times faster than before.
For a directory benchmark containing 500,000 files (See #599 for details).

The release also adds support for previewing images over SSH, this allows you
to preview images directly on your local terminal by running Yazi on a server,
a highly anticipated new feature.

As for the plugin system, many improvements have been also made, such as
supporting passing arguments, plugin-specific state persistence, and listening
to key events in the plugin. During this period, we added a new Resources page
that documents plugins contributed by the community. Thanks to the lovely
plugin authors for creating and sharing these awesome plugins!

Lastly, some great news: Yazi has been featured on The Linux Cast - this is
Yazi's first appearance in video format, and I am really excited and proud to
see more and more people beginning to notice and take an interest in Yazi!

What's Changed

 - feat: customizing the number of columns of "which key" component
   by @sxyazi in #571
 - fix: input offset is not reset when renaming with --cursor=start and the
   filename is too long by @sxyazi in #575
 - feat: new image_quality and sixel_fraction options to allow users to
   configure the image preview quality by @sxyazi in #576
 - feat: allow to configure image filter by @sxyazi in #586
 - feat: support passing arguments to plugin by @sxyazi in #587
 - feat: plugin-specific state persistence by @sxyazi in #590
 - feat: preview image over SSH by @sxyazi in #585
 - perf: read directory in bulk in the background at startup, make Yazi ~2.5
   times faster than before by @sxyazi in #599
 - refactor: use Cmd instead of Exec by @sxyazi in #604
 - feat: support unyank by @15cm in #313
 - feat: make trash crate optional on Android by @sxyazi in #600
 - feat: plugin interface for key events via ya.which() by @sxyazi in #617
 - feat: app_emit and manager_emit accepts boolean, integer, and number as
   option values by @sxyazi in #625
 - fix: attach plugin args to the entry method for better future optimization
   possibilities by @sxyazi in #627
 - feat: support char device in filetype by @HE7086 in #628
 - fix: hidden attribute of files on Windows by @sxyazi in #632
 - fix: task manager not re-rendering after progress update by @sxyazi in #633
 - feat: if input is empty, close it on backspace command
   by @Rolv-Apneseth in #630
  • Loading branch information
0323pin committed Feb 9, 2024
1 parent 4f692b6 commit ac4a1c8
Show file tree
Hide file tree
Showing 3 changed files with 167 additions and 143 deletions.
4 changes: 2 additions & 2 deletions sysutils/yazi/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.6 2024/01/22 07:34:01 pin Exp $
# $NetBSD: Makefile,v 1.7 2024/02/09 13:57:19 pin Exp $

DISTNAME= yazi-0.2.2
DISTNAME= yazi-0.2.3
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=sxyazi/}
GITHUB_TAG= v${PKGVERSION_NOREV}
Expand Down
76 changes: 41 additions & 35 deletions sysutils/yazi/cargo-depends.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: cargo-depends.mk,v 1.6 2024/01/22 07:34:01 pin Exp $
# $NetBSD: cargo-depends.mk,v 1.7 2024/02/09 13:57:19 pin Exp $

CARGO_CRATE_DEPENDS+= addr2line-0.21.0
CARGO_CRATE_DEPENDS+= adler-1.0.2
Expand All @@ -9,7 +9,7 @@ CARGO_CRATE_DEPENDS+= android-tzdata-0.1.1
CARGO_CRATE_DEPENDS+= android_system_properties-0.1.5
CARGO_CRATE_DEPENDS+= ansi-to-tui-3.1.0
CARGO_CRATE_DEPENDS+= anstream-0.6.11
CARGO_CRATE_DEPENDS+= anstyle-1.0.4
CARGO_CRATE_DEPENDS+= anstyle-1.0.6
CARGO_CRATE_DEPENDS+= anstyle-parse-0.2.3
CARGO_CRATE_DEPENDS+= anstyle-query-1.0.2
CARGO_CRATE_DEPENDS+= anstyle-wincon-3.0.2
Expand All @@ -27,23 +27,25 @@ CARGO_CRATE_DEPENDS+= bitflags-2.4.2
CARGO_CRATE_DEPENDS+= block-buffer-0.10.4
CARGO_CRATE_DEPENDS+= bstr-1.9.0
CARGO_CRATE_DEPENDS+= bumpalo-3.14.0
CARGO_CRATE_DEPENDS+= bytemuck-1.14.0
CARGO_CRATE_DEPENDS+= bytemuck-1.14.1
CARGO_CRATE_DEPENDS+= byteorder-1.5.0
CARGO_CRATE_DEPENDS+= bytes-1.5.0
CARGO_CRATE_DEPENDS+= cassowary-0.3.0
CARGO_CRATE_DEPENDS+= castaway-0.2.2
CARGO_CRATE_DEPENDS+= cc-1.0.83
CARGO_CRATE_DEPENDS+= cfg-if-1.0.0
CARGO_CRATE_DEPENDS+= chrono-0.4.31
CARGO_CRATE_DEPENDS+= chrono-0.4.33
CARGO_CRATE_DEPENDS+= clap-4.4.18
CARGO_CRATE_DEPENDS+= clap_builder-4.4.18
CARGO_CRATE_DEPENDS+= clap_complete-4.4.8
CARGO_CRATE_DEPENDS+= clap_complete-4.4.10
CARGO_CRATE_DEPENDS+= clap_complete_fig-4.4.2
CARGO_CRATE_DEPENDS+= clap_complete_nushell-4.4.2
CARGO_CRATE_DEPENDS+= clap_derive-4.4.7
CARGO_CRATE_DEPENDS+= clap_lex-0.6.0
CARGO_CRATE_DEPENDS+= clipboard-win-4.5.0
CARGO_CRATE_DEPENDS+= color_quant-1.1.0
CARGO_CRATE_DEPENDS+= colorchoice-1.0.0
CARGO_CRATE_DEPENDS+= compact_str-0.7.1
CARGO_CRATE_DEPENDS+= concurrent-queue-2.4.0
CARGO_CRATE_DEPENDS+= console-0.15.8
CARGO_CRATE_DEPENDS+= core-foundation-sys-0.8.6
Expand All @@ -67,7 +69,7 @@ CARGO_CRATE_DEPENDS+= erased-serde-0.4.2
CARGO_CRATE_DEPENDS+= errno-0.3.8
CARGO_CRATE_DEPENDS+= error-code-2.3.1
CARGO_CRATE_DEPENDS+= event-listener-4.0.3
CARGO_CRATE_DEPENDS+= exr-1.71.0
CARGO_CRATE_DEPENDS+= exr-1.72.0
CARGO_CRATE_DEPENDS+= fdeflate-0.3.4
CARGO_CRATE_DEPENDS+= fdlimit-0.3.0
CARGO_CRATE_DEPENDS+= filetime-0.2.23
Expand All @@ -90,24 +92,23 @@ CARGO_CRATE_DEPENDS+= getrandom-0.2.12
CARGO_CRATE_DEPENDS+= gif-0.12.0
CARGO_CRATE_DEPENDS+= gimli-0.28.1
CARGO_CRATE_DEPENDS+= glob-0.3.1
CARGO_CRATE_DEPENDS+= half-2.2.1
CARGO_CRATE_DEPENDS+= half-2.3.1
CARGO_CRATE_DEPENDS+= hashbrown-0.14.3
CARGO_CRATE_DEPENDS+= heck-0.4.1
CARGO_CRATE_DEPENDS+= hermit-abi-0.3.4
CARGO_CRATE_DEPENDS+= hermit-abi-0.3.5
CARGO_CRATE_DEPENDS+= home-0.5.9
CARGO_CRATE_DEPENDS+= iana-time-zone-0.1.59
CARGO_CRATE_DEPENDS+= iana-time-zone-0.1.60
CARGO_CRATE_DEPENDS+= iana-time-zone-haiku-0.1.2
CARGO_CRATE_DEPENDS+= idna-0.4.0
CARGO_CRATE_DEPENDS+= idna-0.5.0
CARGO_CRATE_DEPENDS+= if_chain-1.0.2
CARGO_CRATE_DEPENDS+= image-0.24.8
CARGO_CRATE_DEPENDS+= imagesize-0.12.0
CARGO_CRATE_DEPENDS+= indexmap-2.1.0
CARGO_CRATE_DEPENDS+= indexmap-2.2.2
CARGO_CRATE_DEPENDS+= indoc-2.0.4
CARGO_CRATE_DEPENDS+= inotify-0.9.6
CARGO_CRATE_DEPENDS+= inotify-sys-0.1.5
CARGO_CRATE_DEPENDS+= itertools-0.11.0
CARGO_CRATE_DEPENDS+= itertools-0.12.0
CARGO_CRATE_DEPENDS+= itertools-0.12.1
CARGO_CRATE_DEPENDS+= itoa-1.0.10
CARGO_CRATE_DEPENDS+= jpeg-decoder-0.3.1
CARGO_CRATE_DEPENDS+= js-sys-0.3.67
Expand All @@ -116,28 +117,29 @@ CARGO_CRATE_DEPENDS+= kqueue-1.0.8
CARGO_CRATE_DEPENDS+= kqueue-sys-1.0.4
CARGO_CRATE_DEPENDS+= lazy_static-1.4.0
CARGO_CRATE_DEPENDS+= lebe-0.5.2
CARGO_CRATE_DEPENDS+= libc-0.2.152
CARGO_CRATE_DEPENDS+= libc-0.2.153
CARGO_CRATE_DEPENDS+= libredox-0.0.1
CARGO_CRATE_DEPENDS+= line-wrap-0.1.1
CARGO_CRATE_DEPENDS+= linux-raw-sys-0.4.13
CARGO_CRATE_DEPENDS+= lock_api-0.4.11
CARGO_CRATE_DEPENDS+= log-0.4.20
CARGO_CRATE_DEPENDS+= lru-0.12.1
CARGO_CRATE_DEPENDS+= lru-0.12.2
CARGO_CRATE_DEPENDS+= lua-src-546.0.2
CARGO_CRATE_DEPENDS+= luajit-src-210.5.4+c525bcb
CARGO_CRATE_DEPENDS+= luajit-src-210.5.6+9cc2e42
CARGO_CRATE_DEPENDS+= malloc_buf-0.0.6
CARGO_CRATE_DEPENDS+= md-5-0.10.6
CARGO_CRATE_DEPENDS+= memchr-2.7.1
CARGO_CRATE_DEPENDS+= minimal-lexical-0.2.1
CARGO_CRATE_DEPENDS+= miniz_oxide-0.7.1
CARGO_CRATE_DEPENDS+= miniz_oxide-0.7.2
CARGO_CRATE_DEPENDS+= mio-0.8.10
CARGO_CRATE_DEPENDS+= mlua-0.9.4
CARGO_CRATE_DEPENDS+= mlua-sys-0.5.0
CARGO_CRATE_DEPENDS+= mlua_derive-0.9.1
CARGO_CRATE_DEPENDS+= mlua-0.9.5
CARGO_CRATE_DEPENDS+= mlua-sys-0.5.1
CARGO_CRATE_DEPENDS+= mlua_derive-0.9.2
CARGO_CRATE_DEPENDS+= mutate_once-0.1.1
CARGO_CRATE_DEPENDS+= nom-7.1.3
CARGO_CRATE_DEPENDS+= notify-6.1.1
CARGO_CRATE_DEPENDS+= nu-ansi-term-0.46.0
CARGO_CRATE_DEPENDS+= num-conv-0.1.0
CARGO_CRATE_DEPENDS+= num-traits-0.2.17
CARGO_CRATE_DEPENDS+= num_cpus-1.16.0
CARGO_CRATE_DEPENDS+= num_threads-0.1.6
Expand Down Expand Up @@ -166,29 +168,30 @@ CARGO_CRATE_DEPENDS+= proc-macro2-1.0.78
CARGO_CRATE_DEPENDS+= qoi-0.4.1
CARGO_CRATE_DEPENDS+= quick-xml-0.31.0
CARGO_CRATE_DEPENDS+= quote-1.0.35
CARGO_CRATE_DEPENDS+= ratatui-0.25.0
CARGO_CRATE_DEPENDS+= ratatui-0.26.0
CARGO_CRATE_DEPENDS+= rayon-1.8.1
CARGO_CRATE_DEPENDS+= rayon-core-1.12.1
CARGO_CRATE_DEPENDS+= redox_syscall-0.4.1
CARGO_CRATE_DEPENDS+= redox_users-0.4.4
CARGO_CRATE_DEPENDS+= regex-1.10.3
CARGO_CRATE_DEPENDS+= regex-automata-0.4.4
CARGO_CRATE_DEPENDS+= regex-automata-0.4.5
CARGO_CRATE_DEPENDS+= regex-syntax-0.7.5
CARGO_CRATE_DEPENDS+= regex-syntax-0.8.2
CARGO_CRATE_DEPENDS+= rustc-demangle-0.1.23
CARGO_CRATE_DEPENDS+= rustc-hash-1.1.0
CARGO_CRATE_DEPENDS+= rustix-0.38.30
CARGO_CRATE_DEPENDS+= rustix-0.38.31
CARGO_CRATE_DEPENDS+= rustversion-1.0.14
CARGO_CRATE_DEPENDS+= ryu-1.0.16
CARGO_CRATE_DEPENDS+= safemem-0.3.3
CARGO_CRATE_DEPENDS+= same-file-1.0.6
CARGO_CRATE_DEPENDS+= scopeguard-1.2.0
CARGO_CRATE_DEPENDS+= serde-1.0.195
CARGO_CRATE_DEPENDS+= serde-1.0.196
CARGO_CRATE_DEPENDS+= serde-value-0.7.0
CARGO_CRATE_DEPENDS+= serde_derive-1.0.195
CARGO_CRATE_DEPENDS+= serde_json-1.0.111
CARGO_CRATE_DEPENDS+= serde_derive-1.0.196
CARGO_CRATE_DEPENDS+= serde_json-1.0.113
CARGO_CRATE_DEPENDS+= serde_spanned-0.6.5
CARGO_CRATE_DEPENDS+= sharded-slab-0.1.7
CARGO_CRATE_DEPENDS+= shell-escape-0.1.5
CARGO_CRATE_DEPENDS+= shell-words-1.1.0
CARGO_CRATE_DEPENDS+= signal-hook-0.3.17
CARGO_CRATE_DEPENDS+= signal-hook-mio-0.2.3
Expand All @@ -200,29 +203,32 @@ CARGO_CRATE_DEPENDS+= smallvec-1.13.1
CARGO_CRATE_DEPENDS+= socket2-0.5.5
CARGO_CRATE_DEPENDS+= spin-0.9.8
CARGO_CRATE_DEPENDS+= stability-0.1.1
CARGO_CRATE_DEPENDS+= static_assertions-1.1.0
CARGO_CRATE_DEPENDS+= str-buf-1.0.6
CARGO_CRATE_DEPENDS+= strsim-0.10.0
CARGO_CRATE_DEPENDS+= strum-0.25.0
CARGO_CRATE_DEPENDS+= strum_macros-0.25.3
CARGO_CRATE_DEPENDS+= strum-0.26.1
CARGO_CRATE_DEPENDS+= strum_macros-0.26.1
CARGO_CRATE_DEPENDS+= syn-1.0.109
CARGO_CRATE_DEPENDS+= syn-2.0.48
CARGO_CRATE_DEPENDS+= syntect-5.1.0
CARGO_CRATE_DEPENDS+= thiserror-1.0.56
CARGO_CRATE_DEPENDS+= thiserror-impl-1.0.56
CARGO_CRATE_DEPENDS+= thread_local-1.1.7
CARGO_CRATE_DEPENDS+= tiff-0.9.1
CARGO_CRATE_DEPENDS+= time-0.3.31
CARGO_CRATE_DEPENDS+= tikv-jemalloc-sys-0.5.4+5.3.0-patched
CARGO_CRATE_DEPENDS+= tikv-jemallocator-0.5.4
CARGO_CRATE_DEPENDS+= time-0.3.34
CARGO_CRATE_DEPENDS+= time-core-0.1.2
CARGO_CRATE_DEPENDS+= time-macros-0.2.16
CARGO_CRATE_DEPENDS+= time-macros-0.2.17
CARGO_CRATE_DEPENDS+= tinyvec-1.6.0
CARGO_CRATE_DEPENDS+= tinyvec_macros-0.1.1
CARGO_CRATE_DEPENDS+= tokio-1.35.1
CARGO_CRATE_DEPENDS+= tokio-1.36.0
CARGO_CRATE_DEPENDS+= tokio-macros-2.2.0
CARGO_CRATE_DEPENDS+= tokio-stream-0.1.14
CARGO_CRATE_DEPENDS+= tokio-util-0.7.10
CARGO_CRATE_DEPENDS+= toml-0.8.8
CARGO_CRATE_DEPENDS+= toml-0.8.9
CARGO_CRATE_DEPENDS+= toml_datetime-0.6.5
CARGO_CRATE_DEPENDS+= toml_edit-0.21.0
CARGO_CRATE_DEPENDS+= toml_edit-0.21.1
CARGO_CRATE_DEPENDS+= tracing-0.1.40
CARGO_CRATE_DEPENDS+= tracing-appender-0.2.3
CARGO_CRATE_DEPENDS+= tracing-attributes-0.1.27
Expand Down Expand Up @@ -252,8 +258,8 @@ CARGO_CRATE_DEPENDS+= wasm-bindgen-backend-0.2.90
CARGO_CRATE_DEPENDS+= wasm-bindgen-macro-0.2.90
CARGO_CRATE_DEPENDS+= wasm-bindgen-macro-support-0.2.90
CARGO_CRATE_DEPENDS+= wasm-bindgen-shared-0.2.90
CARGO_CRATE_DEPENDS+= weezl-0.1.7
CARGO_CRATE_DEPENDS+= which-5.0.0
CARGO_CRATE_DEPENDS+= weezl-0.1.8
CARGO_CRATE_DEPENDS+= which-6.0.0
CARGO_CRATE_DEPENDS+= winapi-0.3.9
CARGO_CRATE_DEPENDS+= winapi-i686-pc-windows-gnu-0.4.0
CARGO_CRATE_DEPENDS+= winapi-util-0.1.6
Expand Down Expand Up @@ -286,7 +292,7 @@ CARGO_CRATE_DEPENDS+= windows_x86_64_gnullvm-0.52.0
CARGO_CRATE_DEPENDS+= windows_x86_64_msvc-0.42.2
CARGO_CRATE_DEPENDS+= windows_x86_64_msvc-0.48.5
CARGO_CRATE_DEPENDS+= windows_x86_64_msvc-0.52.0
CARGO_CRATE_DEPENDS+= winnow-0.5.34
CARGO_CRATE_DEPENDS+= winnow-0.5.37
CARGO_CRATE_DEPENDS+= yazi-prebuild-0.1.2
CARGO_CRATE_DEPENDS+= zerocopy-0.7.32
CARGO_CRATE_DEPENDS+= zerocopy-derive-0.7.32
Expand Down
Loading

0 comments on commit ac4a1c8

Please sign in to comment.