Skip to content

Bump psy/psysh from 0.12.15 to 0.12.21#1008

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/composer/psy/psysh-0.12.21
Open

Bump psy/psysh from 0.12.15 to 0.12.21#1008
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/composer/psy/psysh-0.12.21

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 13, 2026

Bumps psy/psysh from 0.12.15 to 0.12.21.

Release notes

Sourced from psy/psysh's releases.

PsySH v0.12.21

Added an experimental interactive readline: a from-scratch pure-PHP readline replacement built specifically for PsySH. Instead of delegating to ext-readline or ext-libedit, this gives PsySH full control over input, editing, completion, and rendering.

This is opt-in and experimental. Default behavior is completely unchanged. Enable it in your config or from the command line:

'useExperimentalReadline' => true,
psysh --experimental-readline

See the interactive readline wiki page for more!

Completions that actually understand your code

The new completion engine is syntax-aware, type-aware, and runtime-value-aware. It parses your input, resolves types from live objects in scope, and completes based on what your code actually is, not just string matching on symbol names.

Type $user-> and see that object's actual methods and properties. Chain through $repo->find(1)-> and get completions for the return type. Fuzzy matching means asum finds array_sum and stl finds strtolower. Completions show in a navigable multi-column menu.

Multi-line editing

Press Enter on an incomplete statement and the input continues on the next line with proper indentation. Closing brackets auto-dedent. Shift+Enter always inserts a newline. No more fighting the shell to write a multi-line closure.

History

  • Reverse history search (Ctrl+R) with an overlay showing match highlighting, smart-case filtering, deduplication, and keyboard navigation.
  • Filtered history navigation: type part of a previous command, then press Up/Down to cycle through matching history entries.

And more

  • Fish-style inline autosuggestions from your history. This one's still a bit rough; enable it separately with 'useSuggestions' => true.
  • Bracket and quote auto-pairing with smart backspace.
  • Bracketed paste mode: pastes multi-line code verbatim without executing line-by-line.
  • No ext-readline or ext-libedit required. Works with any terminal.
  • Ctrl+L to clear the screen.

This addresses a bunch of long-standing issues: #234, #254, #309, #346, #506, #561, #668, #732, #769, #869.

We'd love your feedback! Give it a try, and let us know what works and what doesn't. The goal is to make this the default. Help us get it there. 🧪

PsySH v0.12.20

Project trust edge case fixes

Fixed several edge cases with the Restricted Mode introduced in v0.12.19 where non-interactive contexts (piped input, execute() calls, Composer proxy scripts) could incorrectly trigger trust prompts or restrict trusted functionality.

Fixes #913

Commands work better outside the shell

... (truncated)

Commits
  • 4821fab Merge branch 'release/v0.12.21'
  • d5ebbe4 Bump to v0.12.21
  • 85b019a Give phar test a bit more memory.
  • a097a1a Truncate reverse history search preview to prevent the input lines from
  • 689401b Improve reverse history search UI.
  • 7938716 Add filtered history navigation (up/down arrow keys with text in the buffer)
  • 7d6ade6 Merge pull request #914 from bobthecow/feature/interactive-readline
  • 4c0d732 Improve auto-indent/dedent behavior
  • 59e9dfa Use a default <info> format that's more readable across modern terminal theme...
  • c2b2408 Allow tab completion with interactive readline, regardless of ext-readline av...
  • 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 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [psy/psysh](https://github.com/bobthecow/psysh) from 0.12.15 to 0.12.21.
- [Release notes](https://github.com/bobthecow/psysh/releases)
- [Commits](bobthecow/psysh@v0.12.15...v0.12.21)

---
updated-dependencies:
- dependency-name: psy/psysh
  dependency-version: 0.12.21
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Mar 13, 2026
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 php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants