Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 24, 2022

Bumps requestty from 0.2.1 to 0.3.0.

Changelog

Sourced from requestty's changelog.

0.3.0

  • requestty

    • Allow using the Right Arrow key to auto-complete default

    • Implement #6 - Add support for handling abort with Esc

      Earlier, when the user pressed the Esc key, nothing would happen as ui::Input would just pass the event on to the prompt. Now 2 other actions can be specified.

      OnEsc::Terminate: returns an Err which will propagate upwards, essentially cancelling the PromptModule

      OnEsc::SkipQuestion: returns None, showing that the question has been skipped

    • Fix #7 - input returns empty string even if default was given

  • requestty-ui

    • Added OnEsc to configure behaviour on Esc for Inputs

    • Added the skipped parameter to Prompt::write_finished_message

    • Added ErrorKind::Aborted

    • Removed ErrorKind::map_terminated - this was a temporary code that came about while implementing a feature, but was never deleted.

    • Removed StringInput::has_value - this was used to get the capacity of the underlying string buffer due to a weird implementation of Question::input

    • Changed StringInput::finish to return String instead of Option<String> - it used has_value to choose Some or None. Again, due to a weird implementation of Question::input

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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)

@dependabot dependabot bot added the pr: dependencies relates to dependencies label Jan 24, 2022
@dependabot dependabot bot requested a review from ViZhe January 24, 2022 01:23
Bumps [requestty](https://github.com/Lutetium-Vanadium/requestty) from 0.2.1 to 0.3.0.
- [Release notes](https://github.com/Lutetium-Vanadium/requestty/releases)
- [Changelog](https://github.com/Lutetium-Vanadium/requestty/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Lutetium-Vanadium/requestty/commits)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/requestty-0.3.0 branch from fac0049 to 20d2157 Compare February 27, 2022 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: dependencies relates to dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants