Skip to content

Upgrading prompt_toolkit 0.19 to 0.20

Safe0.19 → 0.20New2Fixed5

SafeUpgrade verdict

Only new features and fixes in this range.

  • Nothing in this range needs changes to your code. It adds features and fixes.
Nothing to change

No breaking, platform, security or deprecated items in this range.

Nothing in this upgrade needs a code or configuration change.

Generated by DepDelta from published Python source. Not mixed with prose notes.

  • added: method CommandLineInterface.suspend_to_background()
  • added: constructor IPythonValidator(*args, **kwargs)
  • added: property IPythonCommandLineInterface.current_statement_index
  • changed: method Document.find_boundaries_of_current_word() → method Document.find_boundaries_of_current_word(WORD=…, include_leading_whitespace=…, include_trailing_whitespace=…)
  • changed: method Document.find_next_word_beginning(count=…) → method Document.find_next_word_beginning(count=…, WORD=…)
  • changed: method Document.find_next_word_ending(include_current_position=…, count=…) → method Document.find_next_word_ending(include_current_position=…, count=…, WORD=…)
  • changed: method Document.find_previous_word_beginning(count=…) → method Document.find_previous_word_beginning(count=…, WORD=…)
  • changed: method Document.find_start_of_previous_word(count=…) → method Document.find_start_of_previous_word(count=…, WORD=…)
  • removed: field CompletionMenu.completion_token
  • removed: field CompletionMenu.current_completion_token
  • removed: field CompletionMenu.current_meta_token
  • removed: field CompletionMenu.meta_token
  • removed: field CompletionMenu.progress_bar_token
  • removed: field CompletionMenu.progress_button_token
  • removed: class CompletionToolbar(Toolbar)
  • removed: constructor CompletionToolbar(token=…)
  • removed: method CompletionToolbar.get_tokens(cli, width)
  • removed: method CompletionToolbar.is_visible(cli)
  • added: class CompletionsToolbar(Toolbar)
  • added: constructor CompletionsToolbar(token=…)
  • added: method CompletionsToolbar.get_tokens(cli, width)
  • added: method CompletionsToolbar.is_visible(cli)