Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
sayanarijit committed Dec 4, 2022
1 parent 57492b8 commit d17489d
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 60 deletions.
91 changes: 45 additions & 46 deletions Cargo.lock

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

12 changes: 6 additions & 6 deletions 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'
version = '0.20.1'
authors = ['Arijit Basu <[email protected]>']
edition = '2021'
description = 'A hackable, minimal, fast TUI file explorer'
Expand All @@ -22,7 +22,7 @@ categories = ['command-line-interface', 'command-line-utilities']
include = ['src/**/*', 'docs/en/src/**/*', 'LICENSE', 'README.md']

[dependencies]
libc = "0.2.137"
libc = "0.2.138"
humansize = "2.1.2"
natord = "1.0.9"
anyhow = "1.0.66"
Expand All @@ -31,9 +31,9 @@ crossterm = "0.25.0"
dirs = "4.0.0"
ansi-to-tui = "2.0.0"
regex = "1.7.0"
gethostname = "0.4.0"
gethostname = "0.4.1"
fuzzy-matcher = "0.3.7"
serde_json = "1.0.88"
serde_json = "1.0.89"
path-absolutize = "3.0.14"
which = "4.3.0"

Expand All @@ -51,7 +51,7 @@ default-features = false
features = ['crossterm', 'serde']

[dependencies.serde]
version = "1.0.147"
version = "1.0.148"
features = ['derive']

[dependencies.chrono]
Expand All @@ -72,7 +72,7 @@ features = ['serde']

[dev-dependencies]
criterion = "0.4.0"
assert_cmd = "2.0.6"
assert_cmd = "2.0.7"

[profile.release]
lto = true
Expand Down
4 changes: 2 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][48]
#### [v0.19.4][47] -> [v0.20.1][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 Down Expand Up @@ -437,4 +437,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
[48]: https://github.com/sayanarijit/xplr/releases/tag/v0.20.1
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.20.0", "foo path").is_ok());
assert!(check_version("0.20.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.19.0", "foo path").is_err());
assert!(check_version("0.19.1", "foo path").is_err());

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

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

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

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

0 comments on commit d17489d

Please sign in to comment.