Tags: tomspy/psysh
Tags
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 to `weekly`, but you can set it to `always`, `daily`, `weekly`, `monthly` or `never`. * Update to PHP Parser v3.0, with better PHP 7.1 support (Thanks @GrahamCampbell!) * Add support for language constructs (`isset`, `unset`, `empty`, etc) in the `doc` command. * Build a `psysh-compat` as well as `psysh` 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 xcode. * Build GitHub releases on CI for great justice.
* More correct "return value" for things like use statements. * Initialize tab completion later, so that added commands get completion (Thanks @damiankloip!) * Add a CodeCleaner pass to make `exit;` act like the `exit` command (Thanks @damiankloip!) * Don't assume the presence of `argv` in `$_SERVER`. * Add color mode overrides, via `colorMode` configuration and `--color` or `--no-color` flags (Thanks @toddmazierski!) * Add a `useUnicode` config option. Set this to false to avoid non-ascii characters in PsySH output, for example if you're on Windows and don't want to fight with code page configuration. * Update README, documentation, etc (Thanks @dereckson and @ReadmeCritic!)
* Support for PHP Parser v2.0, with better PHP 7 support (Thanks @al… …exeyshockov, et al!) * Add `errorLoggingLevel` and `warnOnMultipleConfigs` configuration options. * Support for local config files (Thanks @shadowhand!) * Compatibility with Symfony v3.0 (Thanks @nicolas-grekas!) * Configuration path cleanup, bugfixes, etc. Windows users, things are much more robust for you now. * Change a bunch of old deprecation warnings to exceptions. * Fix all but one HHVM test failure! * Fix for `class` magic constants (Thanks @lvht!) * Stop throwing errors on interface contstants. * Improved phar build process and dependency compilation. * Tons of CS fixes. And some CS fixer configuration fixes (Thanks @GrahamCampbell!)
New: * Support PHP 7 (Thanks @GrahamCampbell, etc!) * Switch to VarDumper for `dump` and return values (Thanks @nicolas-grekas!) * Add framework and project integrations to the README. * Add `\Psy\info()` function for help filing and debugging issues. * Add a bin launcher so that global and local PsySH installs Just Work (See bobthecow#172) Improved: * Update to latest dependency versions. * Update minimum PHP version to 5.3.9 (required by VarDumper). * Improved error messages, dependency installation prompts. * Config fixes for newest php-cs-fixer and StyleCI, various CS fixes (Thanks @GrahamCampbell!) * Fix a bug when trying to continue unclosed single quoted strings on a new line. * Fix "fatal" errors when using self/static/parent. * Fix "fatal" error when using new-style `Foo::class` constants. * Fix broken resources after returning from debug session. * Better `trace` output.
PreviousNext