Phpactor v0.14.0 Release Notes

Release Date: 2020-03-01 // about 4 years ago
  • ๐Ÿ”‹ 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)