Skip to content

Releases: vimeo/psalm

5.22.2

22 Feb 23:40
d768d91
Compare
Choose a tag to compare

What's Changed

Fixes

Full Changelog: 5.22.1...5.22.2

5.22.1

15 Feb 22:56
e9dad66
Compare
Choose a tag to compare

What's Changed

Fixes

Full Changelog: 5.22.0...5.22.1

5.22.0

14 Feb 04:42
fe2c67e
Compare
Choose a tag to compare

What's Changed

Features

  • Allow inline comments in typedef shapes by @weirdan in #10623
  • allow typedef imports from any kind of classlike by @weirdan in #10625
  • Allow enum cases to be global constants by @weirdan in #10634
  • New InvalidOverride issue for Override attribute by @edsrzf in #10644
  • Analyze dynamic names for static property and const fetches by @edsrzf in #10629
  • New MissingOverrideAttribute issue by @edsrzf in #10651
  • Flag stdClass::__construct() calls that have arguments by @weirdan in #10661
  • Improve Reflection stubs by @vudaltsov in #10091
  • Forbid constructors from returning any values by @weirdan in #10686
  • Report first class callables generated for unknown static methods by @weirdan in #10691
  • Process @psalm-this-out on __construct() as well by @weirdan in #10690
  • Report invalid number of arguments for psalm-taint-* by @staabm in #10699

Fixes

Internal changes

  • Drop unused local composer repo by @weirdan in #10647
  • Clarify that Pull request labels failure is to be resolved by maintainers by @weirdan in #10649
  • Fix unstable hasFullyQualified(Interface|Enum)() by @weirdan in #10603
  • Revert partial mistakenly pushed fix by @danog in #10671

Full Changelog: 5.21.1...5.22.0

5.21.1

01 Feb 01:05
8c473e2
Compare
Choose a tag to compare

What's Changed

Fixes

  • Fix baseline loading for path specified on the command line by @weirdan in #10628

Full Changelog: 5.21.0...5.21.1

5.21.0

30 Jan 23:15
04ba935
Compare
Choose a tag to compare

What's Changed

Features

Fixes

Internal changes

New Contributors

Full Changelog: 5.20.0...5.21.0

5.20.0

18 Jan 12:21
3f284e9
Compare
Choose a tag to compare

What's Changed

Features

  • report error for non-strict or empty comparison on truthy+falsy union by @kkmuffme in #10502

Fixes

Full Changelog: 5.19.1...5.20.0

5.19.1

17 Jan 11:48
b958349
Compare
Choose a tag to compare

What's Changed

Fixes

  • Deprecated Template Classes are not ignored by @psalm-suppress DeprecatedClass by @samlitowitz in #10518
  • Implement __set method in SimpleXMLElement stub by @kthaler in #10536
  • Make getrandmax type more specific and unserialize to require class-string by @kkmuffme in #10540
  • Fix mb_get_info can return null - CI failing bc of reflection by @kkmuffme in #10543
  • make basename & dirname return types more specific by @kkmuffme in #10545
  • add support for extract to set variables for keyed arrays and respect EXTR_SKIP by @kkmuffme in #10544
  • remove redundat directory separator which caused "//" in path not found errors by @kkmuffme in #10542
  • Fix empty literal string becomes non-empty-string by @kkmuffme in #10499

New Contributors

Full Changelog: 5.19.0...5.20.0

5.19.0

09 Jan 21:16
06b71be
Compare
Choose a tag to compare

What's Changed

Features

  • Reduce memory consumption of caching and parallel processing without igbinary by @sj-i in #10532
  • filter_input & filter_var return type more specific by @kkmuffme in #10498

Fixes

New Contributors

Full Changelog: 5.18.0...5.19.0

5.18.0

16 Dec 09:38
b113f3e
Compare
Choose a tag to compare

What's Changed

Features

Fixes

Internal changes

New Contributors

Full Changelog: 5.17.0...5.18.0

5.17.0

04 Dec 14:33
c620f6e
Compare
Choose a tag to compare

What's Changed

Features

Fixes

  • Update MongoDB stubs for 1.17 by @alcaeus in #10402
  • Fix backtick analysis by @danog in #10409
  • Declare we do not support document highlighting by @tm1000 in #10408
  • update define types to be correct by @kkmuffme in #10423
  • Fix return type of DOMXPath::query by @nielsdos in #10443
  • Fix CLI -r error by @kkmuffme in #10442
  • Use correct file path while adding unused suppressions for virtual __… by @danog in #10434
  • Restore support for null coalesce on match expressions by @tscni in #10422
  • Fix static magic method pureness not being inherited from traits by @tscni in #10429
  • Fix POSIX only detection of absolute paths by @rarila in #10441
  • Emit UnusedPsalmSuppress issues for suppressed issues already removed by @danog in #10431
  • Use keyed arrays when assigning literal union keys & assertion fixes by @danog in #10439

Internal changes

  • use branch name to randomize tests to ensure test dependencies will error by @kkmuffme in #10424

New Contributors

Full Changelog: 5.16.0...5.17.0