Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
sayanarijit committed Oct 27, 2022
1 parent 553f6b9 commit 7431843
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 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.20.0-beta.2'
version = '0.20.0-beta.3'
authors = ['Arijit Basu <[email protected]>']
edition = '2021'
description = 'A hackable, minimal, fast TUI file explorer'
Expand Down
10 changes: 8 additions & 2 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.19.4][47] -> [v0.20.0-beta.2][48]
#### [v0.19.4][47] -> [v0.20.0-beta.3][48]

- BREAKING: xplr shell (`:!`) will default to null (`\0`) delimited pipes, as
opposed to newline (`\n`) delimited ones (i.e. will use `Call0` instead of
Expand All @@ -68,6 +68,12 @@ compatibility.
- Use `--vroot` to isolate navigation of an xplr session inside a specific
directory. Interaction still requires passing full path, and shell,
lua functions etc still can access paths outside vroot.
- Use the following messages to switch vroot at runtime, or the use key
bindings available in the new builtin mode "vroot" (mapped to `:` `v`).
- SetVroot
- UnsetVroot
- ToggleVroot
- ResetVroot

#### [v0.18.0][46] -> [v0.19.4][47]

Expand Down Expand Up @@ -426,4 +432,4 @@ Else do the following:
[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.4
[48]: https://github.com/sayanarijit/xplr/releases/tag/v0.20.0-beta.2
[48]: https://github.com/sayanarijit/xplr/releases/tag/v0.20.0-beta.3
10 changes: 5 additions & 5 deletions src/lua.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,24 +155,24 @@ mod tests {
assert!(check_version(VERSION, "foo path").is_ok());

// Current release if OK
assert!(check_version("0.20.0-beta.2", "foo path").is_ok());
assert!(check_version("0.20.0-beta.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.19.0-beta.2", "foo path").is_err());
assert!(check_version("0.19.0-beta.3", "foo path").is_err());

// Prev bugfix release is OK
// assert!(check_version("0.20.-1", "foo path").is_ok());

// Next major release is ERR
assert!(check_version("1.20.0-beta.2", "foo path").is_err());
assert!(check_version("1.20.0-beta.3", "foo path").is_err());

// Next minor release is ERR
assert!(check_version("0.21.0-beta.2", "foo path").is_err());
assert!(check_version("0.21.0-beta.3", "foo path").is_err());

// Next bugfix release is ERR (Change when we get to v1)
assert!(check_version("0.20.1-beta.2", "foo path").is_err());
assert!(check_version("0.20.1-beta.3", "foo path").is_err());
}
}

0 comments on commit 7431843

Please sign in to comment.