Releases: bobthecow/psysh
Releases · bobthecow/psysh
PsySH v0.8.2
New:
- Add a
startupMessage
config option (Thanks @gitetsu!) - Reflecting commands (
dump
,ls
,show
,doc
) now add magic variables so you can do fun things with them:$__class
,$__file
,$__method
, etc.
Improved:
- Fix some mistyped annotations and add a phan config (Thanks @zonuexe!)
- Handle file permissions errors for update checks and history files more gracefully (Thanks @zonuexe!)
- Handle PHP 7.x
\Error
s thrown while serializing the shell return value (Thanks @damiankloip!) - Deal with variables named
$this
(like if you started your shell session from inside a class method) without exploding in PHP 7.1+. - Improve the accuracy of info returned by
Psy\info()
. - Fix an error preventing
Psy\info()
from doing anything at all in the last release :-( - Don't let local configuration interfere with config unit tests.
- Make reflecting commands superglobals-aware.
dump
is the only one that actually does anything useful with a superglobal, but now the others have reasonable output. - Fix fatal error when trying to extend final classes.
- Make a few things reference
static
instead ofself
to make extension easier (Thanks @castarco!) - Fix a handful of bugs around escaping special characters (and
<
) while dumping values.
PsySH v0.8.1
- Add support for
use
statement groups. - Don't throw fatal errors when conditionally redefining classes and functions.
- Fix
parse
command for older PHP Parser versions. - Add
bin/package
, to hopefully make our automatic releases go a bit smoother.
PsySH v0.8.0
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.
PsySH v0.7.2
- Fix class not found exception when defining a class which refers to itself.
- Fix a regression when defining custom commands.
- Add support for
declare(strict_types=1)
.
PsySH v0.7.1
- A few tweaks to play nicer with HHVM.
- Fix a bug with
self::
,parent::
andstatic::
calls. - Fix incorrectly suppressed
echo '0'
output.
PsySH v0.7.0
- 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 theexit
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!)
PsySH v0.6.1
- Fix Windows config directory logic bug (Thanks @mix5003!)
PsySH v0.6.0
- Support for PHP Parser v2.0, with better PHP 7 support (Thanks @alexeyshockov, et al!)
- Add
errorLoggingLevel
andwarnOnMultipleConfigs
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!)
PsySH v0.5.2
- Fix recursion in ValidFunctionNamePass.
PsySH v0.5.1
Or, as I like to call it, v0.5.0 Done Right™
All the goodness from v0.5.0…
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 #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.
Plus one less badness from v0.5.0…
- Fix php-parser dependency version.