Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update rust crate inquire to 0.7.0 #498

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 24, 2024

This PR contains the following updates:

Package Type Update Change
inquire dependencies minor 0.6.2 -> 0.7.0

Release Notes

mikaelmello/inquire (inquire)

v0.7.5

Compare Source

  • Fix user-provided ANSI escape codes from being removed when rendering.
    • Introduced on 0.7.0, this regression was making it impossible to have colorised text inside the prompt.
    • Now ANSI escape codes are properly emitted when rendering the prompt in the terminal.

v0.7.4

Compare Source

  • Fix unexpected behaviors of keep_filter option in MultiSelect prompts:
    • Filter input is now correcly getting reset only when keep_filter == false.
    • When the filter input is reset, the list of options is now correctly reset as well. Thanks @​Swivelgames for reporting #​238.

v0.7.3

Compare Source

  • Fix cursor occasionally blinking in unexpected places.

v0.7.2

Compare Source

  • Pressing Ctrl+D now cancels the prompt. Thanks @​mikecvet for the PR!
  • Add support for h and l bindings when vim_mode is enabled on MultiSelect prompts, clearing or selecting all options respectively. Thanks @​afh for the PR!
  • Fix render issue #​233 where cursor positioning at the end of a prompt was incorrect. Thanks @​msrd0 and @​Sydonian for reporting!

v0.7.1

Compare Source

  • Fix render issue #​228 when using console crate as the terminal backend. Thanks @​maospr for reporting.

v0.7.0

Compare Source

Breaking Changes
  • The Select and Multiselect Filter now scores input and is now expected to return an Option<i64>, making it possible to order/rank the list of options. #​176
    None: Will not be displayed in the list of options.
    Some(score): score determines the order of options, higher score, higher on the list of options.
  • Improved user experience on Password prompts. When there is a validation error, the input is cleared if the password is rendered using the Hidden display mode, matching the user expectation of having to write the password from scratch again. Thanks to @​CM-IV for the questions on #​149!
  • Allow lifetime customization of RenderConfig. #​101. Thanks to @​arturfast for the suggestion #​95.
  • Implement fuzzy search as default on Select and MultiSelect prompts. #​176
  • Revamped keybindings for DateSelect.
Features
  • Add one-liner helpers for quick scripts. #​144.
  • Add new option on MultiSelect prompts to set all options to be selected by default. Thanks to @​conikeec for the suggestion (#​151)!
  • Add new option on Select/MultiSelect prompts allowing to reset selection to the first item on filter-input changes. #​176
  • Emacs-like keybindings added where applicable:
    • Ctrl-p/Ctrl-n for up/down
    • Ctrl-b/Ctrl-f for left/right
    • Ctrl-j/Ctrl-g for enter/cancel
  • Vim keybindings are always supported in DateSelect prompts.
  • Added 'with_starting_filter_input' to both Select and MultiSelect, which allows for setting an initial value to the filter section of the prompt.
  • Added starting_input for CustomType. #​194
  • Added 'without_filtering' to both Select and MultiSelect, useful when you want to simplify the UX if the filter does not add any value, such as when the list is already short.
  • Added 'with_answered_prompt_prefix' to RenderConfig to allow customization of answered prompt prefix.
  • Improved rendering, with optimizations on incremental rendering and terminal resizing.
Fixes
  • Fixed typos in the code's comments.
  • Fixed issue where inquire, using termion, would crash when receiving piped inputs.
Dependency changes (some breaking)
  • Upgraded underlying termion crate from v1.5 to v2.0.
  • Upgraded underlying bitflags from v1 to v2, which affects the Attributes and KeyModifiers crates. If you use any of bitflag's methods directly, you might be affected, refer to the bitflags changelog for more information.
  • Removed thiserror dependency in favor of implementing InquireError by hand. #​146
  • Raised MSRV to 1.66 due to requirements in downstream dependencies.
  • MSRV is now explicitly set in the package definition.
  • Replaced lazy_static with once_cell as once_cell::sync::Lazy is being standardized and lazy_static is not actively maintained anymore.
  • Added fuzzy-matcher as an optional dependency for fuzzy filtering in Select and MultiSelect prompts #​176

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the renovate label Feb 24, 2024
@renovate renovate bot force-pushed the renovate/inquire-0.x branch from 5efd904 to 3835e43 Compare March 11, 2024 00:53
@renovate renovate bot changed the title fix(deps): update rust crate inquire to 0.7.0 fix(deps): update rust crate inquire to 0.7.1 Mar 11, 2024
@renovate renovate bot changed the title fix(deps): update rust crate inquire to 0.7.1 fix(deps): update rust crate inquire to 0.7.2 Mar 17, 2024
@renovate renovate bot force-pushed the renovate/inquire-0.x branch from 3835e43 to be83933 Compare March 17, 2024 16:22
@renovate renovate bot changed the title fix(deps): update rust crate inquire to 0.7.2 fix(deps): update rust crate inquire to 0.7.3 Mar 21, 2024
@renovate renovate bot force-pushed the renovate/inquire-0.x branch 2 times, most recently from 63642f3 to c79f01e Compare March 25, 2024 05:07
@renovate renovate bot changed the title fix(deps): update rust crate inquire to 0.7.3 fix(deps): update rust crate inquire to 0.7.4 Mar 25, 2024
@renovate renovate bot force-pushed the renovate/inquire-0.x branch 2 times, most recently from 38704ea to 0aad530 Compare April 23, 2024 04:26
@renovate renovate bot changed the title fix(deps): update rust crate inquire to 0.7.4 fix(deps): update rust crate inquire to 0.7.5 Apr 23, 2024
@renovate renovate bot force-pushed the renovate/inquire-0.x branch 2 times, most recently from bf3b0e3 to 5d63630 Compare May 3, 2024 19:19
@renovate renovate bot force-pushed the renovate/inquire-0.x branch from 5d63630 to 80bb8a5 Compare May 5, 2024 11:11
@renovate renovate bot changed the title fix(deps): update rust crate inquire to 0.7.5 fix(deps): update rust crate inquire to 0.7.0 May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants