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!