Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
sayanarijit committed Aug 7, 2023
1 parent 4a3f181 commit 22b5fca
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ path = './benches/criterion.rs'

[package]
name = 'xplr'
version = '0.21.2'
version = '0.21.3'
authors = ['Arijit Basu <[email protected]>']
edition = '2021'
description = 'A hackable, minimal, fast TUI file explorer'
Expand Down
7 changes: 4 additions & 3 deletions docs/en/src/upgrade-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ compatibility.

### Instructions

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

- Some plugins might stop rendering colors. Wait for them to update.
- Rename `xplr.config.general.sort_and_filter_ui.search_identifier` to
Expand Down Expand Up @@ -81,7 +81,7 @@ compatibility.
- `:ss` to create softlink of the selected items.
- `:sh` to create hardlink of the selected items.
- `:se` to edit selection list in your $EDITOR.
- Better conflict handling: add suffix rather than overriding/skipping.
- Better conflict handling: prompt for action.
- Navigate between the selected paths using the following messages:
- FocusPreviousSelection (`ctrl-p`)
- FocusNextSelection (`ctrl-n`)
Expand Down Expand Up @@ -118,6 +118,7 @@ compatibility.
- xplr.util.shell_escape
- 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.

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

Expand Down Expand Up @@ -516,5 +517,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.2
[49]: https://github.com/sayanarijit/xplr/releases/tag/v0.21.3
[50]: https://github.com/lotabout/skim#search-syntax
12 changes: 6 additions & 6 deletions src/lua/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,24 +160,24 @@ mod tests {
assert!(check_version(VERSION, "foo path").is_ok());

// Current release if OK
assert!(check_version("0.21.2", "foo path").is_ok());
assert!(check_version("0.21.3", "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.2", "foo path").is_err());
assert!(check_version("0.20.3", "foo path").is_err());

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

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

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

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

0 comments on commit 22b5fca

Please sign in to comment.