From 50e81853fe3d7a45e519feb3c49c3893eadcd6a8 Mon Sep 17 00:00:00 2001 From: Arijit Basu Date: Wed, 3 Jan 2024 16:34:11 +0530 Subject: [PATCH] Update version --- Cargo.lock | 2 +- Cargo.toml | 2 +- docs/en/src/upgrade-guide.md | 8 ++++++-- src/lua/mod.rs | 12 ++++++------ 4 files changed, 14 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ead2c2d..88e2e49 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1917,7 +1917,7 @@ checksum = "213b7324336b53d2414b2db8537e56544d981803139155afa84f76eeebb7a546" [[package]] name = "xplr" -version = "0.21.3" +version = "0.21.4" dependencies = [ "ansi-to-tui", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index 4d2e7f7..e00b5f6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ path = './benches/criterion.rs' [package] name = 'xplr' -version = '0.21.3' +version = '0.21.4' authors = ['Arijit Basu '] edition = '2021' description = 'A hackable, minimal, fast TUI file explorer' diff --git a/docs/en/src/upgrade-guide.md b/docs/en/src/upgrade-guide.md index 417bff4..f6a5a14 100644 --- a/docs/en/src/upgrade-guide.md +++ b/docs/en/src/upgrade-guide.md @@ -45,7 +45,7 @@ compatibility. ### Instructions -#### [v0.20.2][48] -> [v0.21.3][49] +#### [v0.20.2][48] -> [v0.21.4][49] - Some plugins might stop rendering colors. Wait for them to update. - Rename `xplr.config.general.sort_and_filter_ui.search_identifier` to @@ -119,6 +119,10 @@ compatibility. - Executables will me marked with the mime type: `application/x-executable`. - macOS legacy coreutils will be generally supported, but please update it. - Since v0.21.2 you can use the on_selection_change hook. +- Since v0.21.4 you can use function keys upto F24 and the following new + messages: + - NextVisitedDeepBranch (bound to `)` key) + - PreviousVisitedDeepBranch (bound to `(` key) Thanks to @noahmayr for contributing to a major part of this release. @@ -517,5 +521,5 @@ Else do the following: [46]: https://github.com/sayanarijit/xplr/releases/tag/v0.18.0 [47]: https://github.com/sayanarijit/xplr/releases/tag/v0.19.4 [48]: https://github.com/sayanarijit/xplr/releases/tag/v0.20.2 -[49]: https://github.com/sayanarijit/xplr/releases/tag/v0.21.3 +[49]: https://github.com/sayanarijit/xplr/releases/tag/v0.21.4 [50]: https://github.com/lotabout/skim#search-syntax diff --git a/src/lua/mod.rs b/src/lua/mod.rs index 95c4ea1..21fe54d 100644 --- a/src/lua/mod.rs +++ b/src/lua/mod.rs @@ -160,24 +160,24 @@ mod tests { assert!(check_version(VERSION, "foo path").is_ok()); // Current release if OK - assert!(check_version("0.21.3", "foo path").is_ok()); + assert!(check_version("0.21.4", "foo path").is_ok()); // Prev major release is ERR // - Not yet // Prev minor release is ERR (Change when we get to v1) - assert!(check_version("0.20.3", "foo path").is_err()); + assert!(check_version("0.20.4", "foo path").is_err()); // Prev bugfix release is OK - assert!(check_version("0.21.2", "foo path").is_ok()); + assert!(check_version("0.21.3", "foo path").is_ok()); // Next major release is ERR - assert!(check_version("1.20.3", "foo path").is_err()); + assert!(check_version("1.20.4", "foo path").is_err()); // Next minor release is ERR - assert!(check_version("0.22.3", "foo path").is_err()); + assert!(check_version("0.22.4", "foo path").is_err()); // Next bugfix release is ERR (Change when we get to v1) - assert!(check_version("0.21.4", "foo path").is_err()); + assert!(check_version("0.21.5", "foo path").is_err()); } }