Our biggest release notes yet!
New:
- Add a Hoa\Console-based pure PHP readline fallback, for PHP installs compiled without readline or libedit (Thanks @zonuexe)
- Automatically check for updates (Thanks @eeree!)
- Add an
updateCheck
frequency configuration. It defaults toweekly
, but you can set it toalways
,daily
,weekly
,monthly
ornever
. - Update to PHP Parser v3.0, with better PHP 7.1 support (Thanks @GrahamCampbell!)
- Add support for language constructs (
isset
,unset
,empty
, etc) in thedoc
command. - Build a
psysh-compat
as well aspsysh
phar. The second phar contains polyfills for intl and readline. It's quite a bit bigger, but also quite a bit more useful for PHP installs without all the bells and whistles.
Improved:
- Fix "uninitialized string offset" in autocomplete matchers.
- Prevent PHP's built-in webserver from hanging after debugging (Thanks @5tevan!)
- Allow recursive static calls when defining classes.
- Shrink compiled phar size by ~10%.
- Fix VarDumper truncating null bytes in output.
- Add support for multiline comment input.
- Catch invalid pass by reference arguments.
- Better handling for Error in newer PHPs.
- Better formatting for error output.
- Build phar with
detect_unicode=Off
if compiled under PHP 5.3, because PHP 5.3. - Various fixes for HHVM tests.
And a couple of things I'm prolly more excited about than you:
- Test the lowest versions of all dependencies in CI. They're all currently failing, but it's a start :)
- Speed up CI builds by disabling xdebug.
- Build GitHub releases on CI for great justice.