Releases: bobthecow/psysh
Releases · bobthecow/psysh
PsySH v0.9.11
- Add support for Symfony 5.0 (Thanks @Taluu!)
(Skipping v0.9.10 because I tagged a broken commit 😬)
PsySH v0.9.9
- 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
- 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
- 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
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
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
New:
- Add support for a bound class when starting PsySH from inside a static class context.
- Add support for
self
andstatic
in commands likels
,show
anddoc
. - Add tab completion for
doc
,ls
andshow
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 themtrait X
. - Fix using
doc
command with language constructs. - Fix the line number reported for some type errors.
PsySH v0.9.3
- 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
- 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
Restore support for Symfony Console v2.3.