Skip to content

2023-04-10

Compare
Choose a tag to compare
@dantleech dantleech released this 10 Apr 16:35
· 246 commits to master since this release

See the blog post

Features:

  • Show references to new objects when finding references to __construct method #2194
  • Support for inlay hints #2138
  • Deprecation diagnostics #2120
  • Auto configuration - automatically suggest and apply configuration #2114
  • Transform to "promote" unassigned consturctor properties #2106
  • Hierarchical namespace segment completion #2070
  • Completion for promoted property visiblity #2087
  • Option language_server.diagnostic_outsource to outsource diagnostics in separate process #2105

Bug fixes:

  • Also use in-memory files when enanching indexed records #2187
  • Prophecy: Do not crash when used in trait #2129
  • Prophecy: fixing chaining of methods via. getObjectProphecy #2122
  • new class-string<Foo> now resolves to new Foo #2065
  • Fix extract method within trait #2076 @mamazu
  • Do not attempt to index classes whose names are reserved words #2098
  • Fix typo in LanguageServerExtension::PARAM_FILE_EVENTS resulting in typo in documentation
  • Fix parsing array types in @param Tags in doc blocks #2172

Improvements:

  • Only show completion suggestions for real attributes #2183, #2100 @mamazu @przepompownia
  • Code action and formatting handlers now send progress notifications #2192
  • Invalidate diagnostics cache only when document changes #2191
  • Optimize analysis for scopes with many many assignments #2188
  • Made some heavy blocking operations non-blocking (e.g. diagnostics, code
    actions).
  • ⚠ Removed frame sorting which increases radically in some cases, but may
    also cause regressions #2179
  • Psalm: Support for overriding the error level #2174
  • Generating constructor at the top of the file #2113 @mamazu
  • Include (complex) docblock params when generating method
  • Take into account named parameters when "guessing" parameter names #2090
  • Show full FQN for classes in hover #2081
  • Upgrade to 3.17 of the language server protocol #2082
  • Facilitate changing visiblity on promoted properties @mamazu
  • Allow generation of constructor for Attributes.