From 8d92d05b8e9ef1c6dfc5c190151aa9377907cc56 Mon Sep 17 00:00:00 2001 From: Loric ANDRE Date: Sun, 26 Apr 2026 19:59:49 +0200 Subject: [PATCH] release: v4.6.1 --- CHANGELOG.md | 12 +++++++++++ Cargo.lock | 50 ++++++++++++++++++++++++------------------- Cargo.toml | 2 +- man/man1/sk.1 | 8 +++---- shell/completion.bash | 2 +- shell/completion.fish | 4 ++-- shell/completion.nu | 2 +- shell/completion.zsh | 4 ++-- shell/version.txt | 2 +- 9 files changed, 52 insertions(+), 34 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d1cc81b..6e8abd6c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [4.6.1] - 2026-04-26 + +### 🐛 Bug Fixes + +- *(windows)* Raw_arg to avoid escape issue (#1061) +- Do not truncate display when longer than text (#1064) + +### ⚙️ Miscellaneous Tasks + +- Delete dangerous (and not that useful) PR action in favor of a just recipe +- Frizbee as a feature and remove quotes from output-format (#1062) + ## [4.6.0] - 2026-04-14 ### 🚀 Features diff --git a/Cargo.lock b/Cargo.lock index 5fd71d13..fa4fc374 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -264,9 +264,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.2.60" +version = "1.2.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43c5703da9466b66a946814e1adf53ea2c90f10063b86290cc9eb67ce3478a20" +checksum = "d16d90359e986641506914ba71350897565610e87ce0ad9e6f28569db3dd5c6d" dependencies = [ "find-msvc-tools", "shlex", @@ -1250,9 +1250,9 @@ checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" [[package]] name = "jiff" -version = "0.2.23" +version = "0.2.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a3546dc96b6d42c5f24902af9e2538e82e39ad350b0c766eb3fbf2d8f3d8359" +checksum = "f00b5dbd620d61dfdcb6007c9c1f6054ebd75319f163d886a9055cec1155073d" dependencies = [ "jiff-static", "log", @@ -1263,9 +1263,9 @@ dependencies = [ [[package]] name = "jiff-static" -version = "0.2.23" +version = "0.2.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a8c8b344124222efd714b73bb41f8b5120b27a7cc1c75593a6ff768d9d05aa4" +checksum = "e000de030ff8022ea1da3f466fbb0f3a809f5e51ed31f6dd931c35181ad8e6d7" dependencies = [ "proc-macro2", "quote", @@ -1323,9 +1323,9 @@ checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2" [[package]] name = "libc" -version = "0.2.185" +version = "0.2.186" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52ff2c0fe9bc6cb6b14a0592c2ff4fa9ceb83eea9db979b0487cd054946a2b8f" +checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66" [[package]] name = "libmimalloc-sys" @@ -1685,7 +1685,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d" dependencies = [ "phf_shared", - "rand 0.8.5", + "rand 0.8.6", ] [[package]] @@ -1752,9 +1752,9 @@ checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49" [[package]] name = "portable-atomic-util" -version = "0.2.6" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "091397be61a01d4be58e7841595bd4bfedb15f1cd54977d79b8271e94ed799a3" +checksum = "c2a106d1259c23fac8e543272398ae0e3c0b8d33c88ed73d0cc71b0f1d902618" dependencies = [ "portable-atomic", ] @@ -1861,9 +1861,9 @@ checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" [[package]] name = "rand" -version = "0.8.5" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +checksum = "5ca0ecfa931c29007047d1bc58e623ab12e5590e8c7cc53200d5202b69266d8a" dependencies = [ "rand_core 0.6.4", ] @@ -2327,7 +2327,7 @@ checksum = "b2aa850e253778c88a04c3d7323b043aeda9d3e30d5971937c1855769763678e" [[package]] name = "skim" -version = "4.6.0" +version = "4.6.1" dependencies = [ "ansi-to-tui", "assert_enum_variants", @@ -2723,9 +2723,9 @@ checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c" [[package]] name = "typenum" -version = "1.19.0" +version = "1.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb" +checksum = "40ce102ab67701b8526c123c1bab5cbe42d7040ccfd0f64af1a385808d2f43de" [[package]] name = "ucd-trie" @@ -2800,9 +2800,9 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uuid" -version = "1.23.0" +version = "1.23.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ac8b6f42ead25368cf5b098aeb3dc8a1a2c05a3eee8a9a1a68c640edbfc79d9" +checksum = "ddd74a9687298c6858e9b88ec8935ec45d22e8fd5e6394fa1bd4e99a87789c76" dependencies = [ "atomic", "getrandom 0.4.2", @@ -2870,11 +2870,11 @@ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" [[package]] name = "wasip2" -version = "1.0.2+wasi-0.2.9" +version = "1.0.3+wasi-0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9517f9239f02c069db75e65f174b3da828fe5f5b945c4dd26bd25d89c03ebcf5" +checksum = "20064672db26d7cdc89c7798c48a0fdfac8213434a1186e5ef29fd560ae223d6" dependencies = [ - "wit-bindgen", + "wit-bindgen 0.57.1", ] [[package]] @@ -2883,7 +2883,7 @@ version = "0.4.0+wasi-0.3.0-rc-2026-01-06" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5428f8bf88ea5ddc08faddef2ac4a67e390b88186c703ce6dbd955e1c145aca5" dependencies = [ - "wit-bindgen", + "wit-bindgen 0.51.0", ] [[package]] @@ -3126,6 +3126,12 @@ dependencies = [ "wit-bindgen-rust-macro", ] +[[package]] +name = "wit-bindgen" +version = "0.57.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" + [[package]] name = "wit-bindgen-core" version = "0.51.0" diff --git a/Cargo.toml b/Cargo.toml index d3e9542c..d79a92b7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "skim" -version = "4.6.0" +version = "4.6.1" authors = ["Loric ANDRE", "Zhang Jinzhou "] description = "Fuzzy Finder in rust!" documentation = "https://docs.rs/skim" diff --git a/man/man1/sk.1 b/man/man1/sk.1 index 3fe10a60..7405cf06 100644 --- a/man/man1/sk.1 +++ b/man/man1/sk.1 @@ -1,6 +1,6 @@ .ie \n(.g .ds Aq \(aq .el .ds Aq ' -.TH sk 1 "sk 4.6.0" +.TH sk 1 "sk 4.6.1" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .SH NAME @@ -123,7 +123,7 @@ Fuzzy matching algorithm \fIPossible values:\fR .RS 14 .IP \(bu 2 -skim_v2: Improved skim fuzzy matching algorithm (v2) +arinae: Arinae: typo\-resistant & natural algorithm, default .IP \(bu 2 clangd: Clangd fuzzy matching algorithm .IP \(bu 2 @@ -131,7 +131,7 @@ fzy: Fzy matching algorithm (https://github.com/jhawthorn/fzy) .IP \(bu 2 frizbee: Frizbee matching algorithm, typo resistant (x86_64 and aarch64 only) .IP \(bu 2 -arinae: Arinae: typo\-resistant & natural algorithm, default +skim_v2: Previous skim fuzzy matching algorithm (v2) .RE .TP \fB\-\-case\fR \fI\fR [default: smart] @@ -1139,4 +1139,4 @@ When using `sk \-\-remote`, pipe in action chains (see the KEYBINDS section), fo .ie \n(.g .ds Aq \(aq .el .ds Aq ' .SH VERSION -v4.6.0 +v4.6.1 diff --git a/shell/completion.bash b/shell/completion.bash index 3a658d2a..f735393e 100644 --- a/shell/completion.bash +++ b/shell/completion.bash @@ -62,7 +62,7 @@ _sk() { return 0 ;; --algo) - COMPREPLY=($(compgen -W "skim_v2 clangd fzy frizbee arinae" -- "${cur}")) + COMPREPLY=($(compgen -W "arinae clangd fzy frizbee skim_v2" -- "${cur}")) return 0 ;; --case) diff --git a/shell/completion.fish b/shell/completion.fish index af41202c..0aceeb7c 100644 --- a/shell/completion.fish +++ b/shell/completion.fish @@ -14,11 +14,11 @@ pathname\t'' complete -c sk -s n -l nth -d 'Fields to be matched' -r complete -c sk -l with-nth -d 'Fields to be transformed' -r complete -c sk -s d -l delimiter -d 'Delimiter between fields' -r -complete -c sk -l algo -d 'Fuzzy matching algorithm' -r -f -a "skim_v2\t'Improved skim fuzzy matching algorithm (v2)' +complete -c sk -l algo -d 'Fuzzy matching algorithm' -r -f -a "arinae\t'Arinae: typo-resistant & natural algorithm, default' clangd\t'Clangd fuzzy matching algorithm' fzy\t'Fzy matching algorithm (https://github.com/jhawthorn/fzy)' frizbee\t'Frizbee matching algorithm, typo resistant (x86_64 and aarch64 only)' -arinae\t'Arinae: typo-resistant & natural algorithm, default'" +skim_v2\t'Previous skim fuzzy matching algorithm (v2)'" complete -c sk -l case -d 'Case sensitivity' -r -f -a "respect\t'Case-sensitive matching' ignore\t'Case-insensitive matching' smart\t'Smart case: case-insensitive unless query contains uppercase'" diff --git a/shell/completion.nu b/shell/completion.nu index cd5cb8f4..a435055b 100644 --- a/shell/completion.nu +++ b/shell/completion.nu @@ -5,7 +5,7 @@ module completions { } def "nu-complete sk algorithm" [] { - [ "skim_v2" "clangd" "fzy" "frizbee" "arinae" ] + [ "arinae" "clangd" "fzy" "frizbee" "skim_v2" ] } def "nu-complete sk case" [] { diff --git a/shell/completion.zsh b/shell/completion.zsh index 1cde92a2..95757e32 100644 --- a/shell/completion.zsh +++ b/shell/completion.zsh @@ -23,11 +23,11 @@ _sk() { '*--with-nth=[Fields to be transformed]:WITH_NTH:_default' \ '-d+[Delimiter between fields]:DELIMITER:_default' \ '--delimiter=[Delimiter between fields]:DELIMITER:_default' \ -'--algo=[Fuzzy matching algorithm]:ALGORITHM:((skim_v2\:"Improved skim fuzzy matching algorithm (v2)" +'--algo=[Fuzzy matching algorithm]:ALGORITHM:((arinae\:"Arinae\: typo-resistant & natural algorithm, default" clangd\:"Clangd fuzzy matching algorithm" fzy\:"Fzy matching algorithm (https\://github.com/jhawthorn/fzy)" frizbee\:"Frizbee matching algorithm, typo resistant (x86_64 and aarch64 only)" -arinae\:"Arinae\: typo-resistant & natural algorithm, default"))' \ +skim_v2\:"Previous skim fuzzy matching algorithm (v2)"))' \ '--case=[Case sensitivity]:CASE:((respect\:"Case-sensitive matching" ignore\:"Case-insensitive matching" smart\:"Smart case\: case-insensitive unless query contains uppercase"))' \ diff --git a/shell/version.txt b/shell/version.txt index 6016e8ad..8ac28bf9 100644 --- a/shell/version.txt +++ b/shell/version.txt @@ -1 +1 @@ -4.6.0 +4.6.1