Skip to content

Releases: vimeo/psalm

4.23.0

02 May 02:11
f1fe6ff
Compare
Choose a tag to compare

What's Changed

Features

  • Add configuration for maximum size of shaped array by @danog in #7433
  • Disable filepath formatting as a link for Drone CI's output by @white43 in #7861
  • cache statements even without persistent parser cache by @vognev in #7876
  • Fix sort assert annotation by @hirokinoue in #7908

Fixes

Docs

Internal changes

  • Fix disabling of appveyor auto build by @gndk in #7801

New Contributors

Full Changelog: 4.22.0...4.23.0

5.0.0-beta1

13 May 19:36
Compare
Choose a tag to compare
5.0.0-beta1 Pre-release
Pre-release

What's Changed

Removed

Deprecations

Features

Fixes

Docs

Internal changes

New Contributors

Full Changelog: 5.0.0-alpha1...5.0.0-beta1

4.22.0

27 Feb 10:57
fc2c6ab
Compare
Choose a tag to compare

What's Changed

Fixes

New Contributors

Full Changelog: 4.21.0...4.22.0

4.21.0

20 Feb 00:33
d8bec4c
Compare
Choose a tag to compare

What's Changed

Deprecations

Features

  • Resolve DIR / FILE when const/variable is used for include by @tomasz-kusy in #7585
  • add ReflectionIntersectionType stub by @orklah in #7621
  • Allow config to define thread count (4.x) by @M1ke in #7633
  • add phpredis stubs by @kkmuffme in #7614
  • Add configuration option to disable @var parsing everywhere except for properties. by @danog in #7434

Fixes

  • Strip colours from success message by @weirdan in #7620
  • Honour global function suppressions for UndefinedFunction by @weirdan in #7657
  • Update return type for mysqli::connect_error by @morozov in #7660
  • Correct name of ErrorException::__construct $line param by @chloekek in #7659
  • Fix false positive for unused variable in try (fixes #7613). by @AndrolGenhald in #7664
  • Throw exception if file_put_contents failed by @dmitryuk in #7690

New Contributors

Full Changelog: 4.20.0...4.21.0

4.20.0

03 Feb 20:54
f82a70e
Compare
Choose a tag to compare

What's Changed

Deprecations

  • [TASK] Add AfterFunctionLikeAnalysisEvent::getFunctionlikeStorage by @ohader in #7532

Fixes

  • Fix for Exception->getCode return type provider by @VincentLanglet in #7525
  • fix wrong detection of purity by @orklah in #7545
  • Fix object constant inference by @klimick in #7542
  • Handle first class callable on unknown functions by @orklah in #7546
  • Revert "PHP 8.1: Report missing typehints in overridden native methods" by @weirdan in #7539
  • Ensure trait_exists() always returns bool by @Ocramius in #7554
  • sealed keyed arrays by @orklah in #7558
  • AtomicStaticCallAnalyzer: clear tmp var from context by @vincent4vx in #7561
  • improving error message for Could not resolve config path by @phptest2 in #7573

Internal changes

New Contributors

  • @phptest2 made their first contribution in #7573

Full Changelog: 4.19.0...v4.20.0

5.0.0-alpha1

03 Feb 01:00
cfce264
Compare
Choose a tag to compare
5.0.0-alpha1 Pre-release
Pre-release

What's Changed

Removed

Deprecations

  • [TASK] Add AfterFunctionLikeAnalysisEvent::getFunctionlikeStorage by @ohader in #7532

Features

Fixes

Docs

Internal changes

New Contributors

Full Changelog: 4.19.0...5.0.0-alpha1

4.19.0

28 Jan 06:35
a2ad69a
Compare
Choose a tag to compare

What's Changed

Deprecations

Features

  • Errors on superior/inferior reconciliation by @orklah in #7335
  • PHP 8.2: seal all properties configuration by @danog in #7242
  • Add support of template for docblock methods by @vincent4vx in #7385
  • Resolve generics of inherited pseudo methods by @vincent4vx in #7430
  • PHP 8.1: Report missing typehints in overridden native methods by @danog in #7363
  • Add configuration option to disable @psalm-suppress all by @danog in #7431
  • Add support of docblock method using parent keyword by @vincent4vx in #7414

Fixes

Docs

  • Fix typo in documentation filename by @danog in #7373

Internal changes

Other changes

  • !!! Deprecate \Psalm\Plugin\RegistrationInterface methods by @ohader in #7455

New Contributors

Full Changelog: 4.18.1...4.19.0

4.18.1

08 Jan 21:44
dda05fa
Compare
Choose a tag to compare

What's changed

Fixed

Full Changelog: 4.18...4.18.1

4.18

07 Jan 08:25
760badd
Compare
Choose a tag to compare

Compatibility

Psalm now required Composer 2.

What's Changed

Deprecations

  • Deprecated Codebase::$php_major_version and Codebase::$php_minor_version properties by @weirdan in #7265
  • Deprecated THtmlEscapedString by @weirdan in #7284

Features

  • Template and variable types inference for methods marked with psalm-if-this-is by @klimick in #7259
  • [Feat]: Initial Support for LSP Code Actions by @tm1000 in #7255
  • Allow assertions on mutable object properties. by @AndrolGenhald in #7252
  • Disallow ksorting lists by @danog in #7019

Fixes

Internal changes

  • Increase composer timeout by @weirdan in #7264
  • Move from deprecated Composer 1 to Composer 2 runtime api by @DeyV in #7239

New Contributors

Full Changelog: 4.17.0...4.18

4.17.0

01 Jan 19:32
6f4707a
Compare
Choose a tag to compare

What's Changed

Features

  • Fix first-class callables with built-in, magic, undefined methods and callable expressions by @trowski in #7232

Fixes

Internal changes

New Contributors

Full Changelog: 4.16.1...4.17.0