Subject: CVS commit: pkgsrc/sysutils/yazi
From: pin
Date: 2025-02-24 09:41:02
Message id: 20250224084102.C7A47FBE1@cvs.NetBSD.org

Log Message:
sysutils/yazi: update to 25.2.11

v25.2.11
This is a quick fix release that addresses a few issues introduced in the \ 
previous version 25.2.7.

Besides that, a new overall option has been added under [status] in theme.toml, \ 
which allows you to set the overall style of the status bar, specifically the \ 
empty area in the center
See #2321 for details.

What's Changed

    fix: reverse the order of CSI-based and environment-based terminal detection \ 
by @sxyazi in #2310
    feat: reduce terminal response wait timeout by @sxyazi in #2314
    fix: unable to delete sealed files on Windows due to platform differences by \ 
@sxyazi in #2319
    feat: new overall option under [status] to allow specifying the overall \ 
style of the status bar by @sxyazi in #2321
    chore: bump version to 25.2.11 by @sxyazi in #2323

v25.2.7
Deprecated

    ya.md5() has been deprecated in favor of the new ya.hash(), in #2168
    The plugin entry file init.lua has been deprecated in favor of the new \ 
main.lua, in #2168
    arrow -99999999 and arrow 99999999 have been deprecated in favor of the new \ 
arrow top and arrow bot, in #2294
    The --args option in the plugin command has been deprecated in favor of a \ 
new 2nd positional parameter, in #2299
    The numeric return value of the preloader has been deprecated in favor of a \ 
new boolean return value, in #2253

 - The mount.yazi Plugin

For a long time, I've been receiving requests from users for a mount manager, \ 
but never had the time to finish it. But now — it's here!
mount.yazi provides disk mount, unmount, and eject functionality. Done in #2199.

 - Simplification of shell and plugin commands

With #2298, you can now write shell scripts directly after -- (end of options \ 
marker). Everything after -- will be treated as raw text, so no more escaping is \ 
required, greatly simplifying the writing of complex commands.

 - Replace Mode and Vim Motions (W, E, B, ^, _) for Inputs

The Input component now supports replace mode and several new Vim motions, including:

    W: Move forward to the start of the next WORD
    E: Move forward to the end of the current or next WORD
    B: Move back to the start of the current or previous WORD
    ^: Move to the first non-whitespace character
    _: Move to the first non-whitespace character

Thanks to @dxrcy for the work in #2143!

 - Package Manager Enhancements

The package manager now supports the following new features:

    ya pack -d to delete a package (thanks @MrAsler, #2181)
    Support for adding and removing multiple packages with a single command \ 
(thanks @evpeople, #2257)

 - Support Local tmux Image Preview Over SSH

Now, when you start tmux locally, connect to a remote SSH session, and run Yazi \ 
on the remote host, you'll get image preview support out of the box.

Done in #2229.

 - New @since Plugin Annotation to Specify the Minimum Supported Yazi Version

You can now optionally specify the minimum supported Yazi version in your plugin.
If specified, and the user's Yazi version is lower than the given version, they \ 
will receive an error message preventing the plugin from running accidentally.

Done in #2290

 - New ya.confirm() API

The new ya.confirm() API allows you to show a confirmation prompt to the user.
You can also apply a UI element to the title and content to customize the appearance.

Files:
RevisionActionfile
1.22modifypkgsrc/sysutils/yazi/Makefile
1.18modifypkgsrc/sysutils/yazi/cargo-depends.mk
1.20modifypkgsrc/sysutils/yazi/distinfo
1.3modifypkgsrc/sysutils/yazi/patches/patch-Cargo.lock