Skip to content

Releases: bobthecow/psysh

PsySH v0.9.3

18 Apr 12:42
Compare
Choose a tag to compare
  • Fix a regression for use statements without aliases.
  • Fix a regression for some uses of sudo.
  • ☝️ Increase test coverage to prevent these from happening again.

PsySH v0.9.2

17 Apr 13:44
Compare
Choose a tag to compare
  • Fix a scope variable regression introduced in v0.9.0.
  • Restore support for PHP Parser v1.3.
  • Add testing for minimum supported dependency versions.

PsySH v0.9.1

15 Apr 22:58
Compare
Choose a tag to compare

Restore support for Symfony Console v2.3.

PsySH v0.9.0

15 Apr 21:49
Compare
Choose a tag to compare

This is an enormous release.

Note that PsySH v0.9.0 drops support for PHP < 5.4. Upgrade already. PHP 7.x is soooo much better.

New:

  • A significant internals refactor, making cool new commands possible (Thanks @Markcial!)
  • … Including a new timeit command, for quick-and-dirty code profiling! (Thanks @Markcial!)
  • Inherit current use and namespace statements during Psy\debug sessions.
  • Add support for live code reloading! But only if you're still using PHP 5.x :( (Thanks @nateabele!)
  • Omit input with a starting space from readline history (much like Bash and basically every other shell ever)
  • Add support for PHP Parser 4.x.

Improved:

  • A bunch of code reorginization and cleanup.
  • Various phpdoc and assertion improvements (Thanks @carusogabriel!)
  • list, dump, doc and show the result of arbitrary code input.
  • Throw arbitrary code with throw-up, rather than just an existing variable.
  • throw-up at runtime rather than parse time… which means you can conditionally throw-up! See b39dd56 for an example.
  • Add static constant support to sudo.
  • Make sudo code play better with history.
  • Support $__namespace magic variable with show --ex.
  • Set the $_ magic variable with the output of the parse command.
  • Better support for brace-style namespace statements with PHP Parser >= v3.1.2.
  • Better support for \Error across the board.
  • Ensure that constructors don't specify a return type.
  • Make it more clear when an exception comes from REPL code.
  • Include OS family in Psy\info output.

Removed:

  • Drop support for PHP < 5.4 (Thanks @castarco!)
  • Remove support for really really old (and deprecated) history file paths.
  • Deprecate several unused methods (which you're almost certainly not even using, but you'll find out soon enough!)
  • Add deprecation warning for tabCompletion and tabCompletionMatchers config options — use useTabCompletion and matchers, respectively.

PsySH v0.8.18

02 Apr 05:47
Compare
Choose a tag to compare

Fix a closure binding issue on PHP 5.3.

PsySH v0.8.17

28 Dec 16:19
Compare
Choose a tag to compare

Build stable version using PHP 7.0.

PsySH v0.8.16

10 Dec 21:54
Compare
Choose a tag to compare

A small release, mostly to pick up support for Symfony 4.

  • Update dependencies to support Symfony 4 (Thanks @mloberg!)
  • Code style cleanups, etc (Thanks @keradus!)
  • Update to latest PHP CS Fixer config, stop including it as a dev dependency. Just use the phar :P

PsySH v0.8.15

16 Nov 14:33
Compare
Choose a tag to compare
  • Fix (even more) runtime directory issues.
  • PHPUnit updates.

PsySH v0.8.14

04 Nov 16:22
Compare
Choose a tag to compare

Three quick fixes:

  • Catch fatal error calling unset on a return value.
  • Add Windows-specific runtime dir configuration and re-enable the edit command.
  • Add list command support for --user and --internal when listing constants, classes, interfaces and traits.

PsySH v0.8.13

19 Oct 06:20
Compare
Choose a tag to compare

Temporarily disable edit command to work around an issue for Windows users.