Releases: vimeo/psalm
First Psalm v7 beta!
Announcing the first public beta of Psalm v7!
Psalm v7 brings huge performance improvements to security analysis, up to 10x thanks to a full refactoring of both the internal representation of taints, and optimization of the graph resolution logic.
It also brings performance improvements to dead code analysis, and fixes for list
types.
Even more performance improvements and new features will be released soon!
What's Changed
Breaking changes
See here for the full list of breaking changes between v6 and v7.
Features
- Huge performance improvements for taint analysis by @danog in #11342
- More detailed progress for taint graph resolution and JIT compilation by @danog in #11349
Fixes
Other changes
Full Changelog: 6.9.0...7.0.0-beta1
6.9.4
6.9.3
6.9.2
Fixes multiplatform builds for the latest
tag of the docker image ».
Full Changelog: 6.9.1...6.9.2
6.9.0 - Docker image!
Psalm now has an official docker image!
It uses a custom build of PHP built from scratch, running Psalm +30% faster on average than normal PHP (+50% faster if comparing to PHP without opcache installed).
To use it, simply run:
docker run -v $PWD:/app --rm -it ghcr.io/danog/psalm:latest /composer/vendor/bin/psalm --no-cache
Issues due to missing extensions can be fixed by enabling them in psalm.xml and/or requiring them in composer.json, see here » for more info.
Extensions not stubbed by Psalm itself (and thus not available as a psalm config option) may be stubbed using traditional PHP stubs.
What's Changed
Features
Full Changelog: 6.8.9...6.9.0