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

chore(deps): Bump inquire from 0.6.2 to 0.7.0 #15272

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 26, 2024

Bumps inquire from 0.6.2 to 0.7.0.

Release notes

Sourced from inquire's releases.

v0.7.0

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. Thanks @​Baarsgaard! #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 (@​jasonish, @​EnigmaCurry):
    • 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. (@​FroVolod #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 (@​kianmeng, @​bheylin).
  • 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. (@​bheylin #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. (@​bheylin #158)
  • Added fuzzy-matcher as a dependency for fuzzy filtering in Select and MultiSelect prompts #176
Changelog

Sourced from inquire's changelog.

[0.7.0] - 2024-02-24

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
Commits
  • bd8704e chore: release v0.7.0
  • 9e765e6 Prepare changelog for v0.7
  • c2e3086 Avoid reading tmp_file content for validation if there are no validators
  • 5f31a0a Deprecate/remove vim_mode in DateSelect
  • b69129b Add test for validators in DateSelect prompts
  • ad3ca3b Remove unused extra action on changelog-check workflow (#214)
  • 06f6769 Bump tj-actions/changed-files from 35 to 41 in /.github/workflows (#215)
  • 8e515d1 Improve incremental renders and handling of terminal window resizing (#211)
  • 75bf421 Remove verbose from CI tests
  • 76ad0ca Move clear_until_new_line to be close to clear_line
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [inquire](https://github.com/mikaelmello/inquire) from 0.6.2 to 0.7.0.
- [Release notes](https://github.com/mikaelmello/inquire/releases)
- [Changelog](https://github.com/mikaelmello/inquire/blob/main/CHANGELOG.md)
- [Commits](mikaelmello/inquire@v0.6.2...v0.7.0)

---
updated-dependencies:
- dependency-name: inquire
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner February 26, 2024 19:16
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Feb 26, 2024
@xiangjinwu xiangjinwu added this pull request to the merge queue Feb 27, 2024
Merged via the queue into main with commit 5284448 Feb 27, 2024
38 checks passed
@xiangjinwu xiangjinwu deleted the dependabot/cargo/inquire-0.7.0 branch February 27, 2024 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant