Skip to content

Releases: vimeo/psalm

5.13.1

27 Jun 17:16
086b943
Compare
Choose a tag to compare

What's Changed

Fixes

Docs

  • Fix the link reference in the doc by @stof in #9967

Full Changelog: 5.13.0...5.13.1

5.13.0

26 Jun 07:16
a0a9c27
Compare
Choose a tag to compare

What's Changed

Features

  • Add a support for multilevel glob wildcards by @2e3s in #9813
  • Mapping closed inheritance to union during assertion by @klimick in #9829
  • Use PHPStorm output format by default on JetBrains terminals by @lptn in #9848
  • sprintf basic non-empty-string return type provider by @kkmuffme in #9841
  • Extend Shepherd payload by information about package versions by @lptn in #9856
  • Allow if/false assert for same variable to allow array/list distinction by @kkmuffme in #9853
  • readonly does not have write access, therefore is safe as long as the… by @kkmuffme in #9887
  • Sprintf improve return param type validation by @kkmuffme in #9877
  • feat: cache.gz by @dkarlovi in #9889
  • make compressor configurable v2 by @kkmuffme in #9924
  • Invalidate cached methods when referenced files are deleted by @tscni in #9931
  • Invalidate cached methods when referenced class property types change by @tscni in #9955

Fixes

Docs

  • Document classAndDescendants configuration tag by @janopae in #9867

Internal changes

  • Introduce and use IssueData constants for severity levels by @lptn in #9846
  • Shepherd: send a list of issues (instead of array with int keys) by @lptn in #9845
  • fix failing mock tests by @kkmuffme in #9880
  • Bump mheap/github-action-required-labels from 4 to 5 by @dependabot in #9898
  • fix CI warnings for findUnusedCode in psalm 6 by @kkmuffme in #9915
  • docblock parser minor performance gain by @kkmuffme in #9916
  • improve perfs for switch by not creating reverse assertions against constants by @orklah in #9929
  • remove StementsVolatileCache for perf reasons by @orklah in #9930
  • put config to true to prevent deprecations for new config files by @orklah in #9857
  • Make config warn about missing cache related functions by @ygottschalk in #9935
  • Fix/cache fail silent by @ygottschalk in #9932

Typos

New Contributors

Full Changelog: 5.12.0...5.13.0

5.12.0

22 May 21:27
f90118c
Compare
Choose a tag to compare

What's Changed

Features

Fixes

Docs

Internal changes

New Contributors

Full Changelog: 5.11.0...5.12.0

5.11.0

04 May 21:36
c9b192a
Compare
Choose a tag to compare

What's Changed

Fixes

Full Changelog: 5.10.0...5.11.0

5.10.0

02 May 18:36
a5effd2
Compare
Choose a tag to compare

What's Changed

Features

  • Introduce value-of with backed enum cases in assertions by @boesing in #9586
  • Introduce callable object intersection by @boesing in #9599
  • Contextual inference for const callable by @klimick in #9623
  • Allow to intersect type alias with non-type-aliases by @boesing in #9638
  • Provide support for templated value-of enum values by @boesing in #9655
  • (re-)implement object-shape assertions by @boesing in #9656
  • Support anonymous object template replacement by @klimick in #9664
  • Implement unsealed array generic syntax by @danog in #9694
  • Introduce BeforeExpressionAnalysisEvent by @tuqqu in #9725
  • Add support for @psalm-no-seal-properties and @psalm-no-seal-methods by @robchett in #9681

Fixes

  • Fix remaining intl, reflection. xml and zip callmaps by @othercorey in #9595
  • fix #9049 by @orklah in #9598
  • fix coercion detection between two keyed arrays by @orklah in #9606
  • fix: treat includes starting with '.' and '..' correct by @jjjb03 in #9608
  • Allow enabling mixed issues reporting for error levels > 2. by @ADmad in #9626
  • Preserve non-empty-string type when combining literal and numeric strings by @boesing in #9630
  • Do not report required closure arguments as unused by @boesing in #9629
  • Fix various db callmaps by @othercorey in #9632
  • fix: add missing constructor parameter to IteratorIterator by @SenseException in #9646
  • Flatten match arm conditions to check conditions independently by @tuqqu in #9647
  • Fixed non empty arg issue in array_splice function by @whizsid in #9643
  • Fix array_flip to preserve non-empty array type by @tuqqu in #9651
  • Fix list template replacement by @klimick in #9658
  • Fix iterable template replacement by @klimick in #9660
  • Fix/9373 using enum property as const array key by @ygottschalk in #9393
  • Specify array share for stream_context_get_params return value by @lptn in #9663
  • Fixed crash issue when using multiple literals for array_splice by @whizsid in #9673
  • Fix comparison of unions of multiple callables by @danog in #9676
  • Add stub for DateInterval by @robchett in #9682
  • Return a non-empty-(lowercase-)string from mb_strtolower by @robchett in #9678
  • Don't throw UnnecesseryVarAnnotation when hinting a mixed template var by @robchett in #9679
  • Fix is_object assertions on final classes by @danog in #9686
  • Add return type provider for date/gmdate by @robchett in #9691
  • Avoid wrong assertions when working with objects returned by methods by @danog in #9685
  • Handle included directory paths without crashing by @edsrzf in #9701
  • Contextual closure arg inference for class methods by @klimick in #9700
  • Fix #9692 by @danog in #9693
  • Allow running new on template objects by @danog in #9704
  • Fix date return type provider by @danog in #9711
  • Fix UnevaluatedCode false positive at declare(strict_types=1) by @klimick in #9719
  • Fix ambiguous constant inheritance false positive by @Jean85 in #9720

Docs

Internal changes

  • Bump mheap/github-action-required-labels from 3 to 4 by @dependabot in #9601
  • Avoid verbose opcache logging by @danog in #9670
  • Valid array access on a non-empty-string yields a non-empty-string by @robchett in #9675
  • Remove clone leftovers from immutable refactoring by @danog in #9709

New Contributors

Full Changelog: 5.9.0...5.10.0

5.9.0

30 Mar 06:02
8b9ad1e
Compare
Choose a tag to compare

What's Changed

Features

Fixes

Docs

Internal changes

  • Optimize composer caching by @weirdan in #9493
  • Update phar-build to large resource class in config.yml by @weirdan in #9494
  • Refuse to use PHP versions we did not request by @weirdan in #9492
  • Make Atomic subclasses consistently call their parent constructors by @edsrzf in #9406
  • Remove always-empty ClassAnalyzer leftover_stmts array by @edsrzf in #9522
  • Skip gnupg extension in callmap tests by @othercorey in #9576

New Contributors

Full Changelog: 5.8.0...5.9.0

5.8.0

10 Mar 03:49
9cf4f60
Compare
Choose a tag to compare

What's Changed

Features

Fixes

Internal changes

New Contributors

Full Changelog: 5.7.7...5.8.0

5.7.7

25 Feb 01:17
e028ba4
Compare
Choose a tag to compare

What's Changed

Fixes

Full Changelog: 5.7.6...5.7.7

5.7.6

24 Feb 19:46
ae4ec68
Compare
Choose a tag to compare

What's Changed

Fixes

Full Changelog: 5.7.5...5.7.6

5.7.5

21 Feb 16:04
5390c21
Compare
Choose a tag to compare

What's Changed

Fixes

Full Changelog: 5.7.4...5.7.5