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

Update dependency prompt-toolkit to v3.0.48 #8

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

smokestacklightnin
Copy link
Owner

This PR contains the following updates:

Package Type Update Change
prompt-toolkit project.dependencies patch ==3.0.36 -> ==3.0.48

Release Notes

prompt-toolkit/python-prompt-toolkit (prompt-toolkit)

v3.0.48

Compare Source

Fixes:

  • Typing improvements:
    • Add @overload to contrib.regular_languages.compiler.Variables.get.
    • Use Sequence instead of list for words argument in completers.
  • Improve ModalCursorShapeConfig:
    • Display an "underscore" cursor in Vi's "replace single" mode, like
      "replace" mode.
    • Display an "beam" cursor in Emacs (insert) mode.

v3.0.47

Compare Source

New features:

  • Allow passing exception classes for KeyboardInterrupt and EOFError in
    PromptSession.

Fixes:

  • Compute padding parameters for Box widget lazily.

v3.0.46

Compare Source

Fixes:

  • Fix pytest capsys fixture compatibility.

v3.0.45

Compare Source

Fixes:

  • Improve performance of GrammarCompleter (faster deduplication of completions).

v3.0.44

Compare Source

New features:

  • Accept os.PathLike in FileHistory (typing fix).

Fixes:

  • Fix memory leak in filters.
  • Improve performance of progress bar formatters.
  • Fix compatibility when a SIGINT handler is installed by non-Python (Rust, C).
  • Limit number of completions in buffer to 10k by default (for performance).

v3.0.43

Compare Source

Fixes:

  • Fix regression on Pypy: Don't use ctypes.pythonapi to restore SIGINT if not
    available.

v3.0.42

Compare Source

Fixes:

  • Fix line wrapping in patch_stdout on Windows.
  • Make formatted_text.split_lines() accept an iterable instead of lists only.
  • Disable the IPython workaround (from 3.0.41) for IPython >= 8.18.
  • Restore signal.SIGINT handler between prompts.

v3.0.41

Compare Source

Fixes:

  • Fix regression regarding IPython input hook (%gui) integration.

v3.0.40

Compare Source

Fixes:

  • Improved Python 3.12 support (fixes event loop DeprecationWarning).

New features:

  • Vi key bindings: control-t and control-d for indent/unindent in insert
    mode.
  • Insert partial suggestion when control+right is pressed, similar to Fish.
  • Use sphinx-nefertiti theme for the docs.

v3.0.39

Compare Source

Fixes:

  • Fix RuntimeError when __breakpointhook__ is called from another thread.
  • Fix memory leak in filters usage.
  • Ensure that key bindings are handled in the right context (when using
    contextvars).

New features:

  • Accept in_thread keyword in prompt_toolkit.shortcuts.prompt().
  • Support the NO_COLOR environment variable.

v3.0.38

Compare Source

Fixes:

  • Fix regression in filters. (Use of WeakValueDictionary caused filters to
    not be cached).

New features:

  • Use 24-bit true color now by default on Windows 10/11.

v3.0.37

Compare Source

Bug fixes:

  • Fix currentThread() deprecation warning.
  • Fix memory leak in filters.
  • Make VERSION tuple numeric.

New features:

  • Add .run() method in TelnetServer. (To be used instead of
    .start()/.stop().

Breaking changes:

  • Subclasses of Filter have to call super() in their __init__.
  • Drop support for Python 3.6:
    • This includes code cleanup for Python 3.6 compatibility.
    • Use get_running_loop() instead of get_event_loop().
    • Use asyncio.run() instead of asyncio.run_until_complete().

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 has been generated by Renovate Bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants