diff --git a/Cargo.lock b/Cargo.lock index a425105..3cb268c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1203,7 +1203,7 @@ checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680" [[package]] name = "xplr" -version = "0.19.0" +version = "0.19.1" dependencies = [ "ansi-to-tui", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index db12796..e31dce3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ path = './benches/criterion.rs' [package] name = 'xplr' -version = '0.19.0' +version = '0.19.1' 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 a9344fb..6c72692 100644 --- a/docs/en/src/upgrade-guide.md +++ b/docs/en/src/upgrade-guide.md @@ -45,7 +45,7 @@ compatibility. ### Instructions -#### [v0.18.0][46] -> [v0.19.0][47] +#### [v0.18.0][46] -> [v0.19.1][47] - BREAKING: The builtin modes cannot be accessed using space separated names anymore. Use underscore separated mode names. For e.g. @@ -70,6 +70,13 @@ compatibility. go through the latest improvements in `init.lua`. Specifically the `search`, `filter` and `sort` modes. Also, search for `SetInputPrompt` and the `tab` key bindings. +- Since version 0.19.1, you can access uid and gid of the file owner in the Lua + API. +- The input buffer will support more readline-like keys. + Also, added "DeleteTillEnd" as another cursor based "InputOperation" option. +- Fixed applying regex based filters via the CLI and `$XPLR_PIPE_MSG_IN` pipe. +- You can use the `prompt` field to define input prompt for each mode, instead + of using the `SetInputPrompt` message. Like this project so far? **[Please consider contributing][5]**. @@ -380,4 +387,4 @@ Else do the following: [44]: https://github.com/sayanarijit/xplr/releases/tag/v0.16.4 [45]: https://github.com/sayanarijit/xplr/releases/tag/v0.17.6 [46]: https://github.com/sayanarijit/xplr/releases/tag/v0.18.0 -[47]: https://github.com/sayanarijit/xplr/releases/tag/v0.19.0 +[47]: https://github.com/sayanarijit/xplr/releases/tag/v0.19.1 diff --git a/src/lua.rs b/src/lua.rs index e0ba6f1..f1ffd50 100644 --- a/src/lua.rs +++ b/src/lua.rs @@ -146,24 +146,24 @@ mod tests { assert!(check_version(VERSION, "foo path").is_ok()); // Current release if OK - assert!(check_version("0.19.0", "foo path").is_ok()); + assert!(check_version("0.19.1", "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.18.0", "foo path").is_err()); + assert!(check_version("0.18.1", "foo path").is_err()); // Prev bugfix release is OK - // assert!(check_version("0.19.-1", "foo path").is_ok()); + assert!(check_version("0.19.0", "foo path").is_ok()); // Next major release is ERR - assert!(check_version("1.19.0", "foo path").is_err()); + assert!(check_version("1.19.1", "foo path").is_err()); // Next minor release is ERR - assert!(check_version("0.20.0", "foo path").is_err()); + assert!(check_version("0.20.1", "foo path").is_err()); // Next bugfix release is ERR (Change when we get to v1) - assert!(check_version("0.19.1", "foo path").is_err()); + assert!(check_version("0.19.2", "foo path").is_err()); } }