PsySH v0.10.5 Release Notes

Release Date: 2020-12-04 // over 3 years ago
  • ๐Ÿ†• New:

    • PsySH + PHP 8.0 == <3
      • Better function signature rendering in PHP 8.0.
      • Support rendering union types in PHP 8.0.
      • Add return types to function signatures when available.
      • Fix tab completion for namespaced classes in PHP 8.0.
      • Get all tests passing in PHP 8.0!
    • ๐Ÿ‘ท All-new CI setup, improved testing:
      • Move testing and releases from Travis to GitHub Actions (Thanks for all the help on this, @GrahamCampbell!)
      • Update a ton of tests to work on the latest PHPUnit.
      • Test PHP 8.0 on CI.
      • Drop CI tests for HHVM. It doesn't play nice with Composer 2 :-/

    ๐Ÿ‘Œ Improved:

    • ๐Ÿ‘Œ Improve pre-built phar version strings (to make reporting bugs easier!)
    • ๐Ÿ›  Fix unintentional slash normalization when printing exception messages
    • ๐Ÿ›  Fix instanceof check in PHP 7.3+
    • ๐Ÿ‘‰ Make error messages for read-only temp dirs more clear (Thanks @shapito27)
    • ๐Ÿ›  Fix error when HOMEDRIVE is undefined on Windows (Thanks @emargareten!)
    • ๐Ÿ›  Fix class existence validation in the unexecuted half of ternaries.
    • ๐Ÿ‘‰ Use catchable errors for new, class constant fetch, and static calls with non-existant classes in PHP 7+, rather than preventing them entirely.
    • Write code executed to stderr when running with --debug verbosity.
    • ๐Ÿ‘ Better bracketed paste support detection.
    • Prevent fatal errors on isset() calls.
    • Load user-defined includes using include_once. Prevents issues when multiple interactive sessions happen in the same request (Thanks @Aryess!)
    • ๐Ÿ›  Use a less-strict shell history signature check. Fixes issues with some Libedit-based readline libraries.
    • ๐Ÿ›  Fix requiring local files when running from a pre-built Phar.
    • ๐Ÿ’… Code style updates (Thanks @GrahamCampbell!)
    • ๐Ÿ’… Even more code style updates!

Previous changes from v0.10.4

  • ๐Ÿ†• New:

    • ๐Ÿ–จ Print exception traces when running --verbose or higher.
    • โž• Add an --all option to the doc command for showing inherited docs.
    • Include class signatures when using doc on class methods or properties.
    • โž• Add graceful handling for invalid return types.
    • โž• Add a notice when globally-installed PsySH defers to a local dependency.

    ๐Ÿ‘Œ Improved:

    • ๐Ÿ›  Fix doc rendering when docblock description is missing (Thanks @GrahamCampbell!)
    • More clear error messages when config files are invalid.
    • ๐Ÿ›  Fix STDIN input detection when running the cli-server SAPI.
    • โœ‚ Remove unhelpful deprecation warning in throw-up command.
    • โœ‚ Remove getenv and putenv calls in favor of direct $_SERVER superglobal access.