v5.2.0
Note
- Add an option
--force
to the commandpsc update *
. - Stop using filter mode to get completions, and cache the parsed tree object, which greatly improves completion performance.
- Expand the completion sorting function, now, completions that are not added by
psc add
will also be sorted automatically based on command history. - Add a style
bold_line_rect_border
for border lines. Use it by the commandpsc menu line_theme bold_line_rect_border
. - Modify the default symbol (
?!»
) to avoid rendering issues caused by special characters. - Optimize the display effect of the completion menu in various terminal window sizes.
- Delay the effective node of
hooks
to the end of processing completion items, which is more flexible. - Replace the configuration item
disable_hooks
withenable_hooks
. - Fix the issue of multiple update confirmations caused by the
CompletionPredictor
module. - Fix compatibility issues in
Windows PowerShell
, such as the completion menu being misaligned and other compatibility issues. - Fix the issue of not fully utilizing the terminal width for command prompt information adaptation.
- Now, you can create a data.json file with content
{}
in the installation logic of Scoop application manifests. - Other optimizations and fixes.