github vimeo/psalm 6.1.0

13 hours ago

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

Don't miss a new psalm release

NewReleases is sending notifications on new releases.