Update version

pull/508/head
Arijit Basu 2 years ago committed by Arijit Basu
parent 4e9c056a10
commit d579832c69

2
Cargo.lock generated

@ -1203,7 +1203,7 @@ checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680"
[[package]]
name = "xplr"
version = "0.19.0"
version = "0.19.1"
dependencies = [
"ansi-to-tui",
"anyhow",

@ -8,7 +8,7 @@ path = './benches/criterion.rs'
[package]
name = 'xplr'
version = '0.19.0'
version = '0.19.1'
authors = ['Arijit Basu <hi@arijitbasu.in>']
edition = '2021'
description = 'A hackable, minimal, fast TUI file explorer'

@ -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.
<sub>Like this project so far? **[Please consider contributing][5]**.</sub>
@ -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

@ -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());
}
}

Loading…
Cancel
Save