Skip to content

Releases: bobthecow/psysh

PsySH v0.8.2

01 Mar 00:19
Compare
Choose a tag to compare

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 \Errors 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 of self to make extension easier (Thanks @castarco!)
  • Fix a handful of bugs around escaping special characters (and <) while dumping values.

PsySH v0.8.1

15 Jan 17:58
Compare
Choose a tag to compare
  • 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

07 Dec 17:47
Compare
Choose a tag to compare

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 xdebug.
  • Build GitHub releases on CI for great justice.

PsySH v0.7.2

09 Mar 05:06
Compare
Choose a tag to compare
  • 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

27 Feb 19:01
Compare
Choose a tag to compare
  • A few tweaks to play nicer with HHVM.
  • Fix a bug with self::, parent:: and static:: calls.
  • Fix incorrectly suppressed echo '0' output.

PsySH v0.7.0

20 Feb 16:30
Compare
Choose a tag to compare
  • 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!)

PsySH v0.6.1

20 Feb 16:31
Compare
Choose a tag to compare
  • Fix Windows config directory logic bug (Thanks @mix5003!)

PsySH v0.6.0

08 Nov 22:26
Compare
Choose a tag to compare
  • Support for PHP Parser v2.0, with better PHP 7 support (Thanks @alexeyshockov, 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!)

PsySH v0.5.2

16 Jul 15:29
Compare
Choose a tag to compare
  • Fix recursion in ValidFunctionNamePass.

PsySH v0.5.1

03 Jul 16:54
Compare
Choose a tag to compare

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.