Skip to content

Releases: bobthecow/psysh

PsySH v0.9.11

27 Nov 22:49
Compare
Choose a tag to compare
  • Add support for Symfony 5.0 (Thanks @Taluu!)

(Skipping v0.9.10 because I tagged a broken commit 😬)

PsySH v0.9.9

13 Oct 15:31
Compare
Choose a tag to compare
  • Improve list assignment support (again)… now you can have function calls and really deep nested array and property access, if that's a thing you're into.
  • Fix a bug where context variables were overwritten if the last line resulted in an error.
  • Remove 1024 character length limitation for input on systems without readline.
  • Bump dependencies on php-console-highlighter and Box.

PsySH v0.9.8

05 Sep 11:57
Compare
Choose a tag to compare
  • Add support for static calls on traits (Thanks @zonuexe!)
  • Improve test coverage (a bit)
  • Improve list assignment support... do fancy things like [$a[0], $a[1]] = [1, 2]!

PsySH v0.9.7

11 Aug 16:09
Compare
Choose a tag to compare
  • Fix regression updating execution scope with variables declared by commands.
  • Fix class constant reflection in PHP 7.2.
  • Remove dependency on ctype extension.
  • Declare explicit dependencies on json and tokenizer extensions.
  • Use fully-qualified names for core function calls.
  • Minor code cleanup.

PsySH v0.9.6

10 Jun 18:13
Compare
Choose a tag to compare

New:

  • Throw strings via throw-up command (e.g. throw-up "Wheee!")

Improved:

  • More accurate timeit command. It used to count the time to parse input and serialize return values. Now it doesn't.
  • Fix a bug preventing throw-up from working with some code input.
  • Fix bug preventing omitted items in list() from working at all.
  • A bunch more test coverage.

PsySH v0.9.5

02 Jun 16:50
Compare
Choose a tag to compare

New:

  • Add documentation support for built-in and magic constants! You'll need to update your manual DB to get the latest hotness :)

Improved:

  • Make process forking more resilient to interrupted system calls.
  • Use \ReflectionClassConstant in PHP >= 7.1.
  • A bunch of automated build fixes (the last one … wasn't so automated).
  • Add a bit more test coverage.

PsySH v0.9.4

22 May 07:21
Compare
Choose a tag to compare

New:

  • Add support for a bound class when starting PsySH from inside a static class context.
  • Add support for self and static in commands like ls, show and doc.
  • Add tab completion for doc, ls and show commands (Thanks @lvht!)
  • Switch to Box for phar generation (Thanks @theofidry!)
  • Add an iconv polyfill to the "compat" build dependencies.
  • Add a code cleaner pass to detect issues with destructuring assignment via list and [] (Thanks @zonuexe!)
  • Add a bunch of test coverage.

Improved:

  • Fix a minor bug closing input buffer hitting enter twice after a line ending in a backslash.
  • Fix false positives when matching command names, for example, if a line started with a command name in a quoted string.
  • Fix tab completion for methods, properties and constants of namespaced classes.
  • Stop executing commands inside strings that wrap onto multiple lines. I'm not sure whether this ever happened in real life, but it's kind of ridiculous and now it won't :P
  • Fix a reference assignment regression from v0.9.x.
  • Fix incorrect signature for traits in PHP 5.x. The reflection API says they're abstract public trait X, but we'll just call them trait X.
  • Fix using doc command with language constructs.
  • Fix the line number reported for some type errors.

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.