Skip to content

Upgrading prompt_toolkit 0.9 to 0.10

Unknown0.9 → 0.10

UnknownUpgrade verdict

DepDelta hasn't looked for this range's notes yet, so breaking changes can't be ruled out.

  • DepDelta hasn't finished looking for the notes in this range, so it can't rule out breaking changes yet.
Unknown for releases without notes

Releases without notes may still need changes. Check their commits before upgrading.

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

  • removed: class CommandLine(object)
  • removed: constructor CommandLine(stdin=…, stdout=…)
  • removed: field CommandLine.code_factory
  • removed: field CommandLine.default_input_mode
  • removed: field CommandLine.history_factory
  • removed: field CommandLine.input_timeout
  • removed: field CommandLine.inputstream_factory
  • removed: field CommandLine.key_bindings_factories
  • removed: field CommandLine.line_factory
  • removed: field CommandLine.prompt_factory
  • removed: field CommandLine.renderer_factory
  • removed: field CommandLine.stdin_decoder_cls
  • removed: field CommandLine.style
  • removed: method CommandLine.on_input_timeout()
  • removed: method CommandLine.on_read_input_end()
  • removed: method CommandLine.on_read_input_start()
  • removed: method CommandLine.read_input(initial_value=…, on_abort=…, on_exit=…)
  • removed: method CommandLine.request_redraw()
  • removed: method CommandLine.run_in_executor(callback)
  • removed: method CommandLine.set_abort()
  • removed: method CommandLine.set_exit()
  • removed: method CommandLine.set_return_value(code)
  • added: class CommandLineInterface(object)
  • added: constructor CommandLineInterface(stdin=…, stdout=…)
  • added: field CommandLineInterface.code_factory
  • added: field CommandLineInterface.default_input_mode
  • added: field CommandLineInterface.history_factory
  • added: field CommandLineInterface.input_timeout
  • added: field CommandLineInterface.inputstream_factory
  • added: field CommandLineInterface.key_bindings_factories
  • added: field CommandLineInterface.line_factory
  • added: field CommandLineInterface.prompt_factory
  • added: field CommandLineInterface.renderer_factory
  • added: field CommandLineInterface.stdin_decoder_cls
  • added: field CommandLineInterface.style
  • added: method CommandLineInterface.on_input_timeout()
  • added: method CommandLineInterface.on_read_input_end()
  • added: method CommandLineInterface.on_read_input_start()
  • added: method CommandLineInterface.read_input(initial_value=…, on_abort=…, on_exit=…)
  • added: method CommandLineInterface.request_redraw()
  • added: method CommandLineInterface.run_in_executor(callback)
  • added: method CommandLineInterface.set_abort()
  • added: method CommandLineInterface.set_exit()
  • added: method CommandLineInterface.set_return_value(code)
  • removed: class IPythonCommandLine(PythonCommandLine)
  • removed: constructor IPythonCommandLine(ipython_shell, *a, **kw)
  • removed: field IPythonCommandLine.prompt_factory
  • removed: method IPythonCommandLine.code_factory(document)
  • added: class IPythonCommandLineInterface(PythonCommandLineInterface)
  • added: constructor IPythonCommandLineInterface(ipython_shell, *a, **kw)
  • added: field IPythonCommandLineInterface.prompt_factory
  • added: method IPythonCommandLineInterface.code_factory(document)
  • removed: class PythonCommandLine(CommandLine)
  • removed: constructor PythonCommandLine(globals=…, locals=…, vi_mode=…, stdin=…, stdout=…, history_filename=…, style=…, autocompletion_style=…)
  • removed: field PythonCommandLine.line_factory
  • removed: field PythonCommandLine.prompt_factory
  • removed: method PythonCommandLine.code_factory(document)
  • removed: method PythonCommandLine.history_factory()
  • removed: method PythonCommandLine.on_input_timeout()
  • removed: property PythonCommandLine.key_bindings_factories
  • added: class PythonCommandLineInterface(CommandLineInterface)
  • added: constructor PythonCommandLineInterface(globals=…, locals=…, vi_mode=…, stdin=…, stdout=…, history_filename=…, style=…, autocompletion_style=…)
  • added: field PythonCommandLineInterface.line_factory
  • added: field PythonCommandLineInterface.prompt_factory
  • added: method PythonCommandLineInterface.code_factory(document)
  • added: method PythonCommandLineInterface.history_factory()
  • added: method PythonCommandLineInterface.on_input_timeout()
  • added: property PythonCommandLineInterface.key_bindings_factories
  • changed: class PythonRepl(PythonCommandLine) → class PythonRepl(PythonCommandLineInterface)
  • removed: property ShellPrompt.tokens_after_input
  • added: method ShellPrompt.get_tokens_after_input()
  • changed: constructor Document(text=…, cursor_position=…) → constructor Document(text=…, cursor_position=…, selection=…)
  • added: method Document.selection_range()
  • removed: field InputMode.EMACS
  • removed: field InputMode.INPUT
  • removed: field InputMode.VI_INSERT
  • removed: field InputMode.VI_VISUAL
  • removed: field InputMode.VI_VISUAL_BLOCK
  • removed: field InputMode.VI_VISUAL_LINE
  • added: field InputMode.INSERT
  • added: field InputMode.SELECTION
  • added: method InputProcessor.pop_input_mode()
  • added: method InputProcessor.push_input_mode(value)
  • added: property InputProcessor.input_mode
  • added: class KeyBindings(object)
  • added: constructor KeyBindings(cli_ref)
  • added: method KeyBindings.register_in_registry(registry)
  • added: property KeyBindings.line
  • changed: function basic_bindings(registry, line) → function basic_bindings(registry, cli_ref)
  • changed: function emacs_bindings(registry, line) → function emacs_bindings(registry, cli_ref)
  • changed: function vi_bindings(registry, line) → function vi_bindings(registry, cli_ref)
  • removed: field Key.Any
  • removed: field Key.BackTab
  • removed: field Key.Backspace
  • removed: field Key.ControlA
  • removed: field Key.ControlB
  • removed: field Key.ControlBackslash
  • removed: field Key.ControlC
  • removed: field Key.ControlCircumflex
  • removed: field Key.ControlD
  • removed: field Key.ControlE
  • removed: field Key.ControlF
  • removed: field Key.ControlG
  • removed: field Key.ControlH
  • removed: field Key.ControlI
  • removed: field Key.ControlJ
  • removed: field Key.ControlK
  • removed: field Key.ControlL
  • removed: field Key.ControlM
  • removed: field Key.ControlN
  • removed: field Key.ControlO
  • removed: field Key.ControlP
  • removed: field Key.ControlQ
  • removed: field Key.ControlR
  • removed: field Key.ControlS
  • removed: field Key.ControlSpace
  • removed: field Key.ControlSquareClose
  • removed: field Key.ControlT
  • removed: field Key.ControlU
  • removed: field Key.ControlUnderscore
  • removed: field Key.ControlV
  • removed: field Key.ControlW
  • removed: field Key.ControlX
  • removed: field Key.ControlY
  • removed: field Key.ControlZ
  • removed: field Key.Delete
  • removed: field Key.Down
  • removed: field Key.End
  • removed: field Key.Escape
  • removed: field Key.F1
  • removed: field Key.F10
  • removed: field Key.F11
  • removed: field Key.F12
  • removed: field Key.F13
  • removed: field Key.F14
  • removed: field Key.F15
  • removed: field Key.F16
  • removed: field Key.F17
  • removed: field Key.F18
  • removed: field Key.F19
  • removed: field Key.F2
  • removed: field Key.F20
  • removed: field Key.F3
  • removed: field Key.F4
  • removed: field Key.F5
  • removed: field Key.F6
  • removed: field Key.F7
  • removed: field Key.F8
  • removed: field Key.F9
  • removed: field Key.Home
  • removed: field Key.Left
  • removed: field Key.PageDown
  • removed: field Key.PageUp
  • removed: field Key.Right
  • removed: field Key.ShiftDelete
  • removed: field Key.Tab
  • removed: field Key.Up
  • changed: class Key → class Key(object)
  • added: class Keys(object)
  • added: constructor Key(name)
  • added: field Keys.Any
  • added: field Keys.BackTab
  • added: field Keys.Backspace
  • added: field Keys.ControlA
  • added: field Keys.ControlB
  • added: field Keys.ControlBackslash
  • added: field Keys.ControlC
  • added: field Keys.ControlCircumflex
  • added: field Keys.ControlD
  • added: field Keys.ControlE
  • added: field Keys.ControlF
  • added: field Keys.ControlG
  • added: field Keys.ControlH
  • added: field Keys.ControlI
  • added: field Keys.ControlJ
  • added: field Keys.ControlK
  • added: field Keys.ControlL
  • added: field Keys.ControlM
  • added: field Keys.ControlN
  • added: field Keys.ControlO
  • added: field Keys.ControlP
  • added: field Keys.ControlQ
  • added: field Keys.ControlR
  • added: field Keys.ControlS
  • added: field Keys.ControlSpace
  • added: field Keys.ControlSquareClose
  • added: field Keys.ControlT
  • added: field Keys.ControlU
  • added: field Keys.ControlUnderscore
  • added: field Keys.ControlV
  • added: field Keys.ControlW
  • added: field Keys.ControlX
  • added: field Keys.ControlY
  • added: field Keys.ControlZ
  • added: field Keys.Delete
  • added: field Keys.Down
  • added: field Keys.End
  • added: field Keys.Escape
  • added: field Keys.F1
  • added: field Keys.F10
  • added: field Keys.F11
  • added: field Keys.F12
  • added: field Keys.F13
  • added: field Keys.F14
  • added: field Keys.F15
  • added: field Keys.F16
  • added: field Keys.F17
  • added: field Keys.F18
  • added: field Keys.F19
  • added: field Keys.F2
  • added: field Keys.F20
  • added: field Keys.F3
  • added: field Keys.F4
  • added: field Keys.F5
  • added: field Keys.F6
  • added: field Keys.F7
  • added: field Keys.F8
  • added: field Keys.F9
  • added: field Keys.Home
  • added: field Keys.Left
  • added: field Keys.PageDown
  • added: field Keys.PageUp
  • added: field Keys.Right
  • added: field Keys.ShiftDelete
  • added: field Keys.Tab
  • added: field Keys.Up
  • added: method Line.copy_selection(_cut=…)
  • added: method Line.cut_selection()
  • added: method Line.exit_selection()
  • added: method Line.start_selection(selection_type=…)
  • added: method Line.text_changed()
  • removed: property Prompt.tokens_after_input
  • changed: method Prompt.write_input(screen) → method Prompt.write_input(screen, highlight=…)
  • added: method Prompt.get_tokens_after_input()
  • added: class SelectionState(object)
  • added: class SelectionType(object)
  • added: constructor SelectionState(original_cursor_position=…, type=…)
  • added: field SelectionType.BLOCK
  • added: field SelectionType.CHARACTERS
  • added: field SelectionType.LINES