Upgarde version

pull/523/head
Arijit Basu 2 years ago
parent bafe15e25e
commit 00ffd077aa
No known key found for this signature in database
GPG Key ID: 0F8EF5258DC38077

2
Cargo.lock generated

@ -1322,7 +1322,7 @@ checksum = "f40009d85759725a34da6d89a94e63d7bdc50a862acf0dbc7c8e488f1edcb6f5"
[[package]] [[package]]
name = "xplr" name = "xplr"
version = "0.20.0-beta.1" version = "0.20.0-beta.2"
dependencies = [ dependencies = [
"ansi-to-tui", "ansi-to-tui",
"anyhow", "anyhow",

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

@ -45,7 +45,7 @@ compatibility.
### Instructions ### Instructions
#### [v0.19.4][47] -> [v0.20.0-beta.1][48] #### [v0.19.4][47] -> [v0.20.0-beta.2][48]
- BREAKING: xplr shell (`:!`) will default to null (`\0`) delimited pipes, as - BREAKING: xplr shell (`:!`) will default to null (`\0`) delimited pipes, as
opposed to newline (`\n`) delimited ones (i.e. will use `Call0` instead of opposed to newline (`\n`) delimited ones (i.e. will use `Call0` instead of
@ -60,10 +60,11 @@ compatibility.
- `-M FORMAT [ARGUMENT]...` / `--print-msg-in FORMAT [ARGUMENT]...` - `-M FORMAT [ARGUMENT]...` / `--print-msg-in FORMAT [ARGUMENT]...`
Where FORMAT is a YAML string that may contain `%s`, `%q` and `%%` Where FORMAT is a YAML string that may contain `%s`, `%q` and `%%`
placeholders and ARGUMENT is the value per placeholder. See `init.lua`. placeholders and ARGUMENT is the value per placeholder. See `init.lua`.
- Handling and displaying file paths with newline (`\n`) characters are now - Following hooks can be defined in the config files using an optional
supported. `return { on_* = { list, of, messages }, ... }` statement at the end.
- `on_load` hooks can be defined in the config files using - on_load
`return { on_load = { list, of, messages } }` statement at the end. - on_focus_change
- on_directory_change
#### [v0.18.0][46] -> [v0.19.4][47] #### [v0.18.0][46] -> [v0.19.4][47]
@ -422,4 +423,4 @@ Else do the following:
[45]: https://github.com/sayanarijit/xplr/releases/tag/v0.17.6 [45]: https://github.com/sayanarijit/xplr/releases/tag/v0.17.6
[46]: https://github.com/sayanarijit/xplr/releases/tag/v0.18.0 [46]: https://github.com/sayanarijit/xplr/releases/tag/v0.18.0
[47]: https://github.com/sayanarijit/xplr/releases/tag/v0.19.4 [47]: https://github.com/sayanarijit/xplr/releases/tag/v0.19.4
[48]: https://github.com/sayanarijit/xplr/releases/tag/v0.20.0-beta.1 [48]: https://github.com/sayanarijit/xplr/releases/tag/v0.20.0-beta.2

@ -155,24 +155,24 @@ mod tests {
assert!(check_version(VERSION, "foo path").is_ok()); assert!(check_version(VERSION, "foo path").is_ok());
// Current release if OK // Current release if OK
assert!(check_version("0.20.0-beta.1", "foo path").is_ok()); assert!(check_version("0.20.0-beta.2", "foo path").is_ok());
// Prev major release is ERR // Prev major release is ERR
// - Not yet // - Not yet
// Prev minor release is ERR (Change when we get to v1) // Prev minor release is ERR (Change when we get to v1)
assert!(check_version("0.19.0-beta.1", "foo path").is_err()); assert!(check_version("0.19.0-beta.2", "foo path").is_err());
// Prev bugfix release is OK // Prev bugfix release is OK
// assert!(check_version("0.20.-1", "foo path").is_ok()); // assert!(check_version("0.20.-1", "foo path").is_ok());
// Next major release is ERR // Next major release is ERR
assert!(check_version("1.20.0-beta.1", "foo path").is_err()); assert!(check_version("1.20.0-beta.2", "foo path").is_err());
// Next minor release is ERR // Next minor release is ERR
assert!(check_version("0.21.0-beta.1", "foo path").is_err()); assert!(check_version("0.21.0-beta.2", "foo path").is_err());
// Next bugfix release is ERR (Change when we get to v1) // Next bugfix release is ERR (Change when we get to v1)
assert!(check_version("0.20.1-beta.1", "foo path").is_err()); assert!(check_version("0.20.1-beta.2", "foo path").is_err());
} }
} }

Loading…
Cancel
Save