Skip to content

Releases: vimeo/psalm

6.5.1

10 Feb 10:02
3f17a6b
Compare
Choose a tag to compare

What's Changed

Fixes

Internal changes

Full Changelog: 6.5.0...6.5.1

6.5.0

07 Feb 21:05
38fc844
Compare
Choose a tag to compare

What's Changed

Features

  • The psalm.dev REPL now supports the disableVarParsing config by @danog
  • Add allFunctionsGlobal and allConstantsGlobal options, useful for legacy codebases which do not use Composer to preload functions and constants by @danog in #11259

Fixes

  • Fix deep scanning of files light-scanned in main thread by @danog in #11264
  • Template inference bugfix by @danog in #11267
  • Force usage of latest patch version of PHP to avoid PHP bugs by @danog in #11270

Full Changelog: 6.4.1...6.5.0

6.4.1

07 Feb 13:31
09a200c
Compare
Choose a tag to compare

What's Changed

Fixes

Internal changes

New Contributors

Full Changelog: 6.4.0...6.5.0

6.4.0

05 Feb 14:11
04f312a
Compare
Choose a tag to compare

What's Changed

Features

Fixes

  • Add array function parameter type providers by @danog in #11247

Full Changelog: 6.3.0...6.4.0

6.3.0

04 Feb 21:06
222dda8
Compare
Choose a tag to compare

This release adds the new psalm-review tool!

What's Changed

Features

Fixes

Full Changelog: 6.2.0...6.3.0

6.2.0

03 Feb 11:04
814dfde
Compare
Choose a tag to compare

This release was possible thanks to a Psalm support contract!

This release adds the new LiteralKeyUnshapedArray issue, controlled by the disallowLiteralKeysOnUnshapedArrays configuration flag (false by default), useful to enforce usage of shaped arrays instead of generic arrays.

What's Changed

Features

Fixes

Full Changelog: 6.1.0...6.2.0

6.1.0

30 Jan 19:42
827971f
Compare
Choose a tag to compare

This release was possible thanks to a Psalm support contract!

This release greatly improves multithreaded mode, fixing some nasty issues and greatly improving efficiency, thanks to efficient task scheduling powered by amphp/parallel (& some custom code to allow usage of copy-on-write optimizations with forks instead of spawning new processes).

This release also adds a runtime check to prevent Psalm from running on Linux systems where VM overcommitting is disabled: Psalm makes heavy use of VM overcommitting (specifically during forking in multithreaded mode) to greatly reduce RAM usage and improve performance.
Note that in the vast majority of Linux systems, VM overcommitting is already enabled by default.

What's Changed

Features

  • Refactor Pool for much more efficient multithreaded parallelism by @danog in #11219
  • Add support for --scan-threads CLI and config flag by @danog in #11216
  • Log files being processed for too long by @danog in #11225
  • Add VM overcommit warning by @danog in #1121

Fixes

Internal changes

Other changes

Full Changelog: 6.0.0...6.1.0

Psalm v6

26 Jan 12:04
Compare
Choose a tag to compare

This is the first release of Psalm v6!

Users are encouraged to switch to Psalm v6 right away, as v5 is not supported anymore.

Also announcing Psalm's new support model: you can support Psalm development by requesting a support contract from Daniil Gentili, the only active maintainer of Psalm.

Support contracts can cover full integration of Psalm into existing codebases, support for Psalm issues and development of additional Psalm features.

See here » for info, pricing and contact information.

Main highlights of Psalm v6:

  • PHP 8.4 support
  • Amp v3 support
  • PHP-Parser v5 support
  • Fully overhauled dictionaries, for much more accurate and always up to date signatures for PHP and extension functions and methods, and much simpler PHP version upgrades.
  • ignoreInternalFunctionFalseReturn and ignoreInternalFunctionNullReturn are now false by default: this means Psalm now warns when a false/null return type of a native function is not explicitly checked.
  • Modernization of the codebase for higher performance.
  • Many other bugfixes and performance improvements.

Plugin authors should consult the changelog for info about BC-breaking changes.

What's Changed

Features

Fixes

Docs

Internal changes

Typos

Other changes

New Contributors

Full Changelog: 5.26.1...6.0.0

5.26.1

09 Sep 16:19
d747f65
Compare
Choose a tag to compare

What's Changed

Fixes

  • Fix JSON formatter crashes with invalid UTF in error messages by @weirdan in #11092

Full Changelog: 5.26.0...5.26.1

5.26.0

08 Sep 17:21
4787eaf
Compare
Choose a tag to compare

What's Changed

Features

Fixes

New Contributors

Full Changelog: 5.25.0...5.26.0