Skip to content

Commit 22b5fca

Browse files
committed
Update version
1 parent 4a3f181 commit 22b5fca

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ path = './benches/criterion.rs'
88

99
[package]
1010
name = 'xplr'
11-
version = '0.21.2'
11+
version = '0.21.3'
1212
authors = ['Arijit Basu <[email protected]>']
1313
edition = '2021'
1414
description = 'A hackable, minimal, fast TUI file explorer'

docs/en/src/upgrade-guide.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ compatibility.
4545

4646
### Instructions
4747

48-
#### [v0.20.2][48] -> [v0.21.2][49]
48+
#### [v0.20.2][48] -> [v0.21.3][49]
4949

5050
- Some plugins might stop rendering colors. Wait for them to update.
5151
- Rename `xplr.config.general.sort_and_filter_ui.search_identifier` to
@@ -81,7 +81,7 @@ compatibility.
8181
- `:ss` to create softlink of the selected items.
8282
- `:sh` to create hardlink of the selected items.
8383
- `:se` to edit selection list in your $EDITOR.
84-
- Better conflict handling: add suffix rather than overriding/skipping.
84+
- Better conflict handling: prompt for action.
8585
- Navigate between the selected paths using the following messages:
8686
- FocusPreviousSelection (`ctrl-p`)
8787
- FocusNextSelection (`ctrl-n`)
@@ -118,6 +118,7 @@ compatibility.
118118
- xplr.util.shell_escape
119119
- Executables will me marked with the mime type: `application/x-executable`.
120120
- macOS legacy coreutils will be generally supported, but please update it.
121+
- Since v0.21.2 you can use the on_selection_change hook.
121122

122123
Thanks to @noahmayr for contributing to a major part of this release.
123124

@@ -516,5 +517,5 @@ Else do the following:
516517
[46]: https://github.com/sayanarijit/xplr/releases/tag/v0.18.0
517518
[47]: https://github.com/sayanarijit/xplr/releases/tag/v0.19.4
518519
[48]: https://github.com/sayanarijit/xplr/releases/tag/v0.20.2
519-
[49]: https://github.com/sayanarijit/xplr/releases/tag/v0.21.2
520+
[49]: https://github.com/sayanarijit/xplr/releases/tag/v0.21.3
520521
[50]: https://github.com/lotabout/skim#search-syntax

src/lua/mod.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -160,24 +160,24 @@ mod tests {
160160
assert!(check_version(VERSION, "foo path").is_ok());
161161

162162
// Current release if OK
163-
assert!(check_version("0.21.2", "foo path").is_ok());
163+
assert!(check_version("0.21.3", "foo path").is_ok());
164164

165165
// Prev major release is ERR
166166
// - Not yet
167167

168168
// Prev minor release is ERR (Change when we get to v1)
169-
assert!(check_version("0.20.2", "foo path").is_err());
169+
assert!(check_version("0.20.3", "foo path").is_err());
170170

171171
// Prev bugfix release is OK
172-
assert!(check_version("0.21.1", "foo path").is_ok());
172+
assert!(check_version("0.21.2", "foo path").is_ok());
173173

174174
// Next major release is ERR
175-
assert!(check_version("1.20.2", "foo path").is_err());
175+
assert!(check_version("1.20.3", "foo path").is_err());
176176

177177
// Next minor release is ERR
178-
assert!(check_version("0.22.2", "foo path").is_err());
178+
assert!(check_version("0.22.3", "foo path").is_err());
179179

180180
// Next bugfix release is ERR (Change when we get to v1)
181-
assert!(check_version("0.21.3", "foo path").is_err());
181+
assert!(check_version("0.21.4", "foo path").is_err());
182182
}
183183
}

0 commit comments

Comments
 (0)