Skip to content

Releases: bobthecow/psysh

PsySH v0.11.10

23 Dec 17:51
Compare
Choose a tag to compare
  • Support Throwables directly in PsySH commands and output (for legacy reasons we were wrapping Errors in Exceptions, but we don't need to do this anymore!)
  • Fix deprecation notices for future Symfony releases (Thanks @Nek-!)

PsySH v0.11.9

06 Nov 15:32
Compare
Choose a tag to compare

PsySH v0.11.9 includes a lighter, more refined visual style thanks to @nunomaduro and Laravel Tinker! It also introduces a --compact command-line flag, and support for output themes. Check out the wiki for more information.

And if you're ever nostalgic for the old style, add 'theme' => 'classic' to your PsySH config πŸ™‚

PsySH release builds also now feature a self-updater, thanks to @gefd! For future releases, you can run psysh --self-update and it'll pull down the latest build and update in place.

New:

  • Clean up console output and styling (Thanks @nunomaduro!)
  • Add a flag for --compact output.
  • Add support for output themes.
  • Add a --self-update option to release builds (Thanks @gefd!)
  • Introduce PHPStan for static analysis (Thanks @Wirone!)
  • Bypass private constructors with sudo.

Improved:

  • Configure system less pager without spawning a shell (Thanks @wdoekes!)
  • Add the psysh.org/psysh download URL to the "new version available" message (Thanks @gefd!)
  • Fix a few bugs in the userland readline implementation (Thanks @Wirone!)
  • Make manual lookups less likely to fail with database errors.
  • Disable process forking by default while xdebug is debugging.
  • Misc code cleanup.

PsySH v0.11.8

28 Jul 14:28
Compare
Choose a tag to compare
  • Fix error starting PsySH on systems with no Readline (Thanks @daniser!)

PsySH v0.11.7

07 Jul 13:53
Compare
Choose a tag to compare
  • Fix return type warning on tab completion (Thanks @zonuexe!)
  • Fix warning output formatting.

PsySH v0.11.6

03 Jul 16:45
Compare
Choose a tag to compare

New:

  • Allow disabling paging entirely by setting 'pager' => false via PsySH config.

Improved:

  • Disable paging when TERM=dumb (Thanks @zonuexe!)
  • Handle pager failure more gracefully (Thanks @zonuexe!)
  • Better handling for systems without terminfo, or with incomplete terminfo capabilities.
  • Improve support for union return types.

PsySH v0.11.5

27 May 18:09
Compare
Choose a tag to compare
  • Fix PHP 8.2 deprecated string interpolation syntax (Thanks @Ayesh!)
  • Fix PHP 8.1 deprecation warnings in Hoa readline code
  • Ensure that pre-built phars exclude dependencies with known vulnerabilities
  • Set the update checker timeout to 1 second

PsySH v0.11.4

06 May 13:12
Compare
Choose a tag to compare
  • Fix missing import in userland readline implementation (Thanks @zonuexe!)

PsySH v0.11.3

05 May 02:25
Compare
Choose a tag to compare
  • Enable output paging for stdout and return value dumping.
  • Prevent wrapping with the default less paging options. If you want the old style back, add 'pager' => 'less -R -S -F -X' to your PsySH config! (Thanks @ooglek!)
  • Fix grapheme polyfill issue when using pre-built phars.
  • Remove deprecated hoa/console support.
  • Include a userland readline implementation (based on the old hoa/console!).
  • Deprecate "compat" builds. Everyone on supported versions of PHP should be able to use the default phar build now!

πŸ‘†πŸ‘† Note that if you've previously used a "compat" build, you don't need to anymore!

PsySH v0.11.2

28 Feb 15:39
Compare
Choose a tag to compare
  • Fix tab completion when input starts with whitespace (Thanks @orange-alien!)
  • Fix deprecation notice when running psy\info() in PHP 8.x (Thanks @virtual-designer!)
  • Fix type error at exit when using enums in PHP 8.1.
  • Stop logging warnings when @ error suppression operator is present.
  • Update to latest box and php-scoper versions.
  • Disable Box parallel processing in CI.
  • Fresh pre-built Phar builds that actually work 😳

PsySH v0.11.1

03 Jan 14:04
Compare
Choose a tag to compare
  • Fix nullable types in the history command (Thanks @tgooren!)
  • Add allow-plugins configuration for Composer 2.2 (Thanks @villfa!)
  • Improve PHPUnit assertions (Thanks @peter279k!)
  • Support variadic placeholder params in PHP 8.1.