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!
- PsySH + PHP 8.0 == <3
Previous changes from v0.10.4
-
๐ New:
- ๐จ Print exception traces when running
--verbose
or higher. - โ Add an
--all
option to thedoc
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
andputenv
calls in favor of direct$_SERVER
superglobal access.
- ๐จ Print exception traces when running