All Versions
31
Latest Version
Avg Release Cycle
56 days
Latest Release
-

Changelog History
Page 2

  • v0.15.1

    May 03, 2020
  • v0.15.0 Changes

    May 03, 2020

    2020-05-03 0.15.0

    ๐Ÿ”‹ Features:

    • [reference-finder] Goto type: goto the type of the symbol under the cursor #892 - @dantleech
    • [worse-reflection] Enable cache lifetime (important for long running
      ๐Ÿ–จ processes) (#929) - @dantleech
    • [language-server] Included in the core - @dantleech
    • [indexer] Indexer included in the core - @dantleech
    • [rpc] Add docblock prose to hover
    • ๐Ÿ”Œ [vim-plugin] Add support :checkhealth and provide :PhpactorStatus in
      terminal window (#974) - @elythyr

    ๐Ÿ‘Œ Improvements:

    • [text-document] Include < and > when getting "class" name undercursor
      (allow implorting Foobar from an @var array<Foobar> doc
    • [completion] Option to deduplicate suggetions (#905) - @dantleech
    • [completion] Option to limit completion options - @dantleech
    • [completion] Allow completors to return true when they finish (allow
      final consumer to know if list is complete) - @elythyr
    • ๐Ÿ”Œ [vim-plugin] Improved command registration (#965) - @elythyr
    • [completion] Improved signature help (phpactor/completion#31) - @elythyr
    • [completion] Completors can return if they are complete (phpactor/completion#30) - @elythyr

    ๐Ÿ› Bug fixes:

    • [code-transform] Generate accessor doesn't work on selected property (regression)
    • ๐Ÿ”ง [vim-plugin] Configuration was not global (#964) - @elythyr
    • ๐Ÿšš [class-mover] $ was removed when renaming static variables (#925) -
      @dantleech
    • ๐Ÿšš [class-to-file] Remove duplicate candidates (fixes issue with class
      completion duplicate suggestions)

    ๐Ÿ“š Documentation:

    • ๐Ÿ“š [doc] Fix examples in refactoring documentation - @Great-Antique
    • [doc] Fix example mappings and add missing commands - @yeagassy
  • v0.14.1 Changes

    March 04, 2020

    ๐Ÿ› Bug fixes:

    • [vim-plugin] Fix force_reload behavior with g:useOpenWindow
  • v0.14.0 Changes

    March 01, 2020

    ๐Ÿ”‹ Features:

    • ๐Ÿ”Œ [vim-plugin] Introduces Commands for user actions (instead of having to
      call the functions)
    • ๐Ÿ“š [vim-plugin] Generate the VIM help from the plugin's code documentation
    • ๐Ÿ— [code-builder] Support for nullable types - @elythyr / @dantleech
    • ๐Ÿ— [code-builder] Generates typed property for PHP 7.4 - @elythyr
    • ๐Ÿ‘ [worse-reflection] Support for PHP 7.4 property types - @dantleech / @elythyr
    • ๐Ÿ— [phpactor|code-builder] Allow to override the templates by PHP version - @elythyr
    • [phpactor] Auto-detection of project PHP version - @dantleech
    • [code-transform|rpc] Import missing classes - @dantleech
    • [context-menu] Invoke menu for the nearest actionable node (i.e. you can
      invoke the context menu on whitespace now) - @elythyr
    • ๐Ÿ”Œ [vim-plugin] Extract functions handles motions @elythyr
    • ๐Ÿ”Œ [vim-plugin] Jumping to another file preserves the jumplist @elythyr
    • ๐Ÿšš [class-mover] Jump to implementation - @dantleech

    ๐Ÿ› Bug fix:

    • [code-transform] Cannot rename variable from anonymous function variable
      (#829) - @dantleech
    • [code-transform] Complete constructor does not take into account aliased
      imports (#886) - @dantleech
    • ๐Ÿ— [code-builder] New aliased class imports alias not added (#860) - @dantleech
    • [worse-reflection] instanceof returns negative if class implements
      interface but extends another class - @dantleech
    • [worse-reflection] foreach key variable resolves as symbol type "unknown"
    • [text-document] Word splitting includes commas, and other non-word chars
      (#851) - @Einenlum
    • [worse-reflection] Functions wrongly memonized as classes - @dantleech
    • [class-new-cli] response shows source code instead of path (#792)
    • [class-new] Wrong file path when destination shares the same namespace as source (#795).

    ๐Ÿ‘Œ Improvements:

    • ๐Ÿ”Œ [vim-plugin] Better handling of json_decode errors
    • ๐Ÿ [vim-plugin] Add option to switch to open windows
      ๐Ÿ g:phpactorUseOpenWindows - @przepompownia
    • ๐Ÿ”Œ [vim-plugin] Stable context menu shortcuts - @dantleech (#896)
  • v0.13.5 Changes

    October 23, 2019

    ๐Ÿ› Bug fix:

    • [text-document] ? included with word-at-offset #833
  • v0.13.4 Changes

    September 13, 2019

    ๐Ÿ› Bug fixes:

    • [text-document] Word-at-offset offset off by one #816
  • v0.13.3 Changes

    August 25, 2019

    ๐Ÿ› Bug fixes:

    • [context-menu] Import class from context menu not working #816
  • v0.13.0 Changes

    August 25, 2019

    ๐Ÿ”‹ Features:

    • [vim-plugin] Add new GotoDefinition[Vsplit|Hsplit|Tab] functions.
    • [code-builder] Initial support for nullable types - @einenlum
    • [vim-plugin] FZF integration for list inputs (#769) - @elythyr
    • [vim-plugin] FZF multiple selection (#773). @elythyr
    • [vim-plugin] Maintain correct cursor position after certain text diffs (#770) - @elythyr
    • [code-transform|rpc] Generate multiple accessors for a class - @elythyr
    • [code-tranform] Generate static methods if the call was static (#25) - @einenlum
    • [completion] Use declared classes as completion source
    • [import-class] Import declared classes (as long as they can be statically resolved).
    • [rpc] Class import uses offset to determine type to import
    • [class-mover] Possiblity to move related any files whose relations are defined in navigator.destinations (for both command and rpc)
    • [worse-reflection] Support virtual class properties (in addition to methods).

    ๐Ÿ› Bug fixes:

    • [completion] Signature helper does not work on interfaces (#752) - @taluu
    • [code-builder] Class import doesn't work with single element namespace #760
    • [code-builder] Variant is not passed to class generator (#766)
    • [phpactor|cli] response shows source code instead of path (#792)
    • [class-mover|rpc] Fix order of open/close operations, prevent VIM crashing

    BC Break:

    • [rpc] Import class no longer requires name parameter. RPC version changed to version 2.
    • [code-transform] Generate accessors is now a class action and allows generation of multiple accessors.
  • v0.12.0 Changes

    March 03, 2019

    BC Break:

    • [completion] Comletion API changed to accept the new TextDocument.

    ๐Ÿ”‹ Features:

    • [goto-definition] Goto definition extracted from core into separate packages including extension point.
    • [goto-definition] Support for "plain text" goto class definition, works for docblocks, and non-PHP files.
    • [completion] Do not suggest non-static method on static calls.
    • [completion] Suggest ::class constant, fixes #673
    • [completion] Docblock type injection allow name to be omitted #618
    • [application] Log errors in command error handler (for logging async completion errors using the complete command)
    • [worse-reflection] Support variadic arguments #621
    • [worse-reflection] Support for virtual methods #682
    • [worse-reflection] Support for evaluating clone()
    • [worse-reflection] Support for registering custom virtual class member providers.
    • [vim-plugin] Find references shows context line #706
    • [code-builder] Trait support, thanks @dshoreman

    ๐Ÿ‘Œ Improvements:

    • [code-transform] Support extracting expressions to methods #666
    • [code-transform] Extract method adds return statement to calling code if extracted code contained a return #704
    • [worse-reflection] Support union catch #711

    ๐Ÿ› Bug fixes:

    • [completion] Fix type resolution immediately following docblock #678
    • [completion] Include $ on static properties #677
    • [extension-manager] Do not install dev dependencies for extensions #674
    • [class-to-file] sort candidates by path length #712 thanks @greg0ire
    • [code-transform] Rename variable includes anonumous function use #713
    • [worse-reflection] Do not downcast union types in named docblocks #711
    • [code-transform] Extract method sometimes creates method in new class in same file #730
    • [code-transform] Add Missing Properties added trait props in new class #726
  • v0.11.1 Changes

    December 21, 2018
    • [application] Resolve the vendor directory correctly when Phpactor included as a dependency, thanks @kermorgant