Upgrade version

pull/480/head
Arijit Basu 2 years ago committed by Arijit Basu
parent 2179be473f
commit e006152066

46
Cargo.lock generated

@ -395,9 +395,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
[[package]]
name = "libc"
version = "0.2.125"
version = "0.2.126"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5916d2ae698f6de9bfb891ad7a8d65c09d232dc58cc4ac433c7da3b2fd84bc2b"
checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836"
[[package]]
name = "linked-hash-map"
@ -540,9 +540,9 @@ dependencies = [
[[package]]
name = "once_cell"
version = "1.10.0"
version = "1.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "87f3e037eac156d1775da914196f0f37741a274155e34a0b7e427c35d2a2ecb9"
checksum = "7b10983b38c53aebdf33f542c6275b0f58a238129d00c4ae0e6fb59738d783ca"
[[package]]
name = "oorandom"
@ -636,11 +636,11 @@ dependencies = [
[[package]]
name = "proc-macro2"
version = "1.0.38"
version = "1.0.39"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9027b48e9d4c9175fa2218adf3557f91c1137021739951d4932f5f8268ac48aa"
checksum = "c54b25569025b7fc9651de43004ae593a75ad88543b17178aa5e1b9c4f15f56f"
dependencies = [
"unicode-xid",
"unicode-ident",
]
[[package]]
@ -698,9 +698,9 @@ dependencies = [
[[package]]
name = "regex"
version = "1.5.5"
version = "1.5.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1a11647b6b25ff05a515cb92c365cec08801e83423a235b51e231e1808747286"
checksum = "d83f127d94bdbcda4c8cc2e50f6f84f4b611f69c902699ca385a39c3a75f9ff1"
dependencies = [
"aho-corasick",
"memchr",
@ -715,9 +715,9 @@ checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
[[package]]
name = "regex-syntax"
version = "0.6.25"
version = "0.6.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b"
checksum = "49b3de9ec5dc0a3417da371aab17d729997c15010e7fd24ff707773a33bddb64"
[[package]]
name = "rustc-hash"
@ -816,9 +816,9 @@ dependencies = [
[[package]]
name = "signal-hook"
version = "0.3.13"
version = "0.3.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "647c97df271007dcea485bb74ffdb57f2e683f1306c854f468a0c244badabf2d"
checksum = "a253b5e89e2698464fc26b545c9edceb338e18a89effeeecfea192c3025be29d"
dependencies = [
"libc",
"signal-hook-registry",
@ -852,13 +852,13 @@ checksum = "f2dd574626839106c320a323308629dcb1acfc96e32a8cba364ddc61ac23ee83"
[[package]]
name = "syn"
version = "1.0.94"
version = "1.0.95"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a07e33e919ebcd69113d5be0e4d70c5707004ff45188910106854f38b960df4a"
checksum = "fbaf6116ab8924f39d52792136fb74fd60a80194cf1b1c6ffa6453eef1c3f942"
dependencies = [
"proc-macro2",
"quote",
"unicode-xid",
"unicode-ident",
]
[[package]]
@ -950,6 +950,12 @@ dependencies = [
"version_check",
]
[[package]]
name = "unicode-ident"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d22af068fba1eb5edcb4aea19d382b2a3deb4c8f9d475c589b6ada9e0fd493ee"
[[package]]
name = "unicode-segmentation"
version = "1.9.0"
@ -962,12 +968,6 @@ version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973"
[[package]]
name = "unicode-xid"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "957e51f3646910546462e67d5f7599b9e4fb8acdd304b087a6494730f9eebf04"
[[package]]
name = "version_check"
version = "0.9.4"
@ -1146,7 +1146,7 @@ checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680"
[[package]]
name = "xplr"
version = "0.17.6"
version = "0.18.0"
dependencies = [
"ansi-to-tui-forked",
"anyhow",

@ -8,7 +8,7 @@ path = './benches/criterion.rs'
[package]
name = 'xplr'
version = '0.17.6'
version = '0.18.0'
authors = ['Arijit Basu <hi@arijitbasu.in>']
edition = '2021'
description = 'A hackable, minimal, fast TUI file explorer'
@ -20,10 +20,17 @@ documentation = 'https://xplr.dev/en'
keywords = ['terminal', 'file', 'explorer', 'manager', 'tui']
categories = ['command-line-interface', 'command-line-utilities']
include = ['src/**/*', 'docs/en/src/**/*', 'LICENSE', 'README.md']
exclude = ["docs/en/landing/", "docs/en/script", "assets/", "benches/", "images/", ".*"]
exclude = [
"docs/en/landing/",
"docs/en/script",
"assets/",
"benches/",
"images/",
".*",
]
[dependencies]
libc = "0.2.125"
libc = "0.2.126"
humansize = "1.1.1"
natord = "1.0.9"
anyhow = "1.0.57"
@ -31,7 +38,7 @@ serde_yaml = "0.8.24"
crossterm = "0.23.2"
dirs = "4.0.0"
ansi-to-tui-forked = "0.5.2-fix.offset"
regex = "1.5.5"
regex = "1.5.6"
[dependencies.lazy_static]
version = "1.4.0"

@ -59,8 +59,8 @@ A sorter can be one of the following:
- "BySymlinkIsReadonly"
- "BySymlinkMimeEssence"
- "BySymlinkSize"
- "BySymlinkSize"
- "BySymlinkCreated"
- "BySymlinkLastModified"
TODO: document each

@ -45,6 +45,40 @@ compatibility.
### Instructions
#### [v0.17.6][45] -> [v0.18.0][46]
- Added new command-line arguments `--read0`, `--write0` and `-0`/`--null` to
support reading and printing null character delimited file paths.
- Added support for filtering with regex using the new filters:
- `RelativePathDoesMatchRegex`
- `RelativePathDoesNotMatchRegex`
- `IRelativePathDoesMatchRegex`
- `IRelativePathDoesNotMatchRegex`
- `AbsolutePathDoesMatchRegex`
- `AbsolutePathDoesNotMatchRegex`
- `IAbsolutePathDoesMatchRegex`
- `IAbsolutePathDoesNotMatchRegex`
- Key binding `f` `r` and `f` `R` will now filter using regex.
- Added key binding `f` `backspace` to remove the last filter.
- Search mode now defaults to regex search.
- Added a new message `SetInputPrompt` to set the input prompt dynamically.
- Added new node properties (available via teh Lua API):
- `created`
- `last_modified`
- Added support for sorting with timestamp using the new sorters:
- "ByCreated"
- "ByLastModified"
- "ByCanonicalCreated"
- "ByCanonicalLastModified"
- "BySymlinkCreated"
- "BySymlinkLastModified"
- The last column in the files table now displays the last modification time.
- Fixed a bug causing crashes when handling unicode characters in the input
buffer.
- Improved docs.
<sub>Like this project so far? **[Please consider contributing][5]**.</sub>
#### [v0.16.4][44] -> [v0.17.6][45]
- Deprecated `app.directory_buffer`, `app.history`, and `app.last_modes` in
@ -53,8 +87,8 @@ compatibility.
`app.history` and `app.last_modes` can be re-added upon request
(with justification), `app.directory_buffer` has been deprecated for good.
However, there's no change in the `CallLua*` context.
- Set `xplr.config.general.hide_remaps_in_help_menu` to `true` to hide the remaps in
help menu.
- Set `xplr.config.general.hide_remaps_in_help_menu` to `true` to hide the
remaps in help menu.
- `None` will be serialized to `nil` in Lua.
- `LuaEval` can now return a function that will be called with the Lua Context
argument. Refer to the `Full List of Messages` doc for example.
@ -89,8 +123,6 @@ compatibility.
- on_navigation
- on_function
<sub>Like this project so far? **[Please consider contributing][5]**.</sub>
#### [v0.14.7][3] -> [v0.15.2][43]
- Deprecated `config` field from `CallLua` argument. Use the globally available

@ -154,24 +154,24 @@ mod tests {
assert!(check_version(VERSION, "foo path").is_ok());
// Current release if OK
assert!(check_version("0.17.6", "foo path").is_ok());
assert!(check_version("0.18.0", "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.16.6", "foo path").is_err());
assert!(check_version("0.17.0", "foo path").is_err());
// Prev bugfix release is OK
assert!(check_version("0.17.5", "foo path").is_ok());
// assert!(check_version("0.18.-1", "foo path").is_ok());
// Next major release is ERR
assert!(check_version("1.17.6", "foo path").is_err());
assert!(check_version("1.18.0", "foo path").is_err());
// Next minor release is ERR
assert!(check_version("0.18.6", "foo path").is_err());
assert!(check_version("0.19.0", "foo path").is_err());
// Next bugfix release is ERR (Change when we get to v1)
assert!(check_version("0.17.7", "foo path").is_err());
assert!(check_version("0.18.1", "foo path").is_err());
}
}

Loading…
Cancel
Save