bump(sxyazi/yazi): update to v25 #12
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.4.2
->v25.2.7
Release Notes
sxyazi/yazi (sxyazi/yazi)
v25.2.7
Compare Source
Deprecated
ya.md5()
has been deprecated in favor of the newya.hash()
, in https://github.com/sxyazi/yazi/pull/2168init.lua
has been deprecated in favor of the newmain.lua
, in https://github.com/sxyazi/yazi/pull/2168arrow -99999999
andarrow 99999999
have been deprecated in favor of the newarrow top
andarrow bot
, in https://github.com/sxyazi/yazi/pull/2294--args
option in theplugin
command has been deprecated in favor of a new 2nd positional parameter, in https://github.com/sxyazi/yazi/pull/2299The
mount.yazi
PluginFor 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:404254109-c6f780ab-458b-420f-85cf-2fc45fcfe3a2.mp4
Done in https://github.com/sxyazi/yazi/pull/2199.
Simplification of
shell
andplugin
commandsWith https://github.com/sxyazi/yazi/pull/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.For example, previously, a simple
echo "hello 'world'"
would look like this:This resulted in nested quotes, which was error-prone and unintuitive.
Now, you can directly include the entire shell script as plain text after
--
without any escaping:Similarly, with https://github.com/sxyazi/yazi/pull/2299, the
plugin
command usage has been simplified as well. For instance:Can now be written as:
Replace Mode and Vim Motions (
W
,E
,B
,^
,_
) for InputsThe Input component now supports replace mode and several new Vim motions, including:
W
: Move forward to the start of the next WORDE
: Move forward to the end of the current or next WORDB
: Move back to the start of the current or previous WORD^
: Move to the first non-whitespace character_
: Move to the first non-whitespace characterThanks to @dxrcy for the work in https://github.com/sxyazi/yazi/pull/2143!
Package Manager Enhancements
The package manager now supports the following new features:
ya pack -d
to delete a package (thanks @MrAsler, https://github.com/sxyazi/yazi/pull/2181)Support Local
tmux
Image Preview Over SSHNow, 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 https://github.com/sxyazi/yazi/pull/2229.
New
@since
Plugin Annotation to Specify the Minimum Supported Yazi VersionYou 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 https://github.com/sxyazi/yazi/pull/2290
New
ya.confirm()
APIThe 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:
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.