From 2a9872c2a27bec9f852287b365b2b784810ed7e9 Mon Sep 17 00:00:00 2001 From: sxyazi Date: Sun, 5 Jul 2026 18:05:25 +0800 Subject: [PATCH] Add changelog --- CHANGELOG.md | 3 +++ Cargo.lock | 12 ++++++------ yazi-actor/src/lives/mode.rs | 2 +- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e73c2a7..eec968e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/): - Drag and drop ([#4005]) - Bulk create ([#3793]) - Make help menu a command palette ([#4074]) +- Make visual mode support wraparound scrolling ([#4101]) - H/M/L Vim-like motion for moving cursor relative to viewport ([#3970]) - Context-aware icons for inputs ([#4080]) - Show file icons in trash/delete/overwrite confirmations ([#4096]) @@ -36,6 +37,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/): ### Deprecated - Deprecate `backward --far` and `forward --far` in favor of `backward wide` and `forward wide`, respectively ([#4012]) +- Deprecate `tab::Mode.is_visual` in favor of the new `tab::Mode.is_normal` ([#4101]) ### Fixed @@ -1768,3 +1770,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/): [#4074]: https://github.com/sxyazi/yazi/pull/4074 [#4080]: https://github.com/sxyazi/yazi/pull/4080 [#4096]: https://github.com/sxyazi/yazi/pull/4096 +[#4101]: https://github.com/sxyazi/yazi/pull/4101 diff --git a/Cargo.lock b/Cargo.lock index 388e27a5..cec37e11 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2198,9 +2198,9 @@ dependencies = [ [[package]] name = "num-bigint" -version = "0.4.7" +version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c863e9ab5e7bf9c99ba75e1050f1e4d624ae87ed3532d6238ffbdc7b585dbbe6" +checksum = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367" dependencies = [ "num-integer", "num-traits", @@ -2590,9 +2590,9 @@ checksum = "19f132c84eca552bf34cab8ec81f1c1dcc229b811638f9d283dceabe58c5569e" [[package]] name = "plist" -version = "1.9.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "092791278e026273c1b65bbdcfbba3a300f2994c896bd01ab01da613c29c46f1" +checksum = "7da1d65da6dd5d1e44199ac0f58712d241c0f439f80adea8924d832384087f85" dependencies = [ "base64", "indexmap 2.14.0", @@ -2783,9 +2783,9 @@ checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3" [[package]] name = "quick-xml" -version = "0.39.4" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdcc8dd4e2f670d309a5f0e83fe36dfdc05af317008fea29144da1a2ac858e5e" +checksum = "e660451e55124f798a69a5af3f49ccfbefbd41910eefd25caf2393e1f3473ec1" dependencies = [ "memchr", ] diff --git a/yazi-actor/src/lives/mode.rs b/yazi-actor/src/lives/mode.rs index 23f7250a..6c37a60b 100644 --- a/yazi-actor/src/lives/mode.rs +++ b/yazi-actor/src/lives/mode.rs @@ -27,7 +27,7 @@ impl UserData for Mode { fields.add_field_method_get("is_select", |_, me| Ok(me.is_select())); fields.add_field_method_get("is_unset", |_, me| Ok(me.is_unset())); fields.add_field_method_get("is_visual", |lua, me| { - deprecate!(lua, "{}: `mode.is_visual` is deprecated, use `not mode.is_normal` instead."); + deprecate!(lua, "{}: `mode.is_visual` is deprecated, use `not mode.is_normal` instead. \nSee #4101 for more details: https://github.com/sxyazi/yazi/pull/4101."); Ok(!me.is_normal()) }); }