6.12.0 - Cache refactoring
This release features a major cache refactoring, improving stability, removing race conditions and adding a new feature called cache consolidation, which consolidates the cache, normally composed of split files, into one single file with the --consolidate-cache
flag, for quicker runs when doing whole project scans!
To use cache consolidation, simply run Psalm with the --consolidate-cache
flag after running a normal analysis: running with this flag will skip analysis and only consolidate the cache.
If you consolidate your cache in CI runs, sure to re-consolidate the cache again after running Psalm before re-saving the updated cache.
What's Changed
Features
- Implement cache consolidation with --consolidate-cache flag by @danog in #11450
- Cache refactoring by @danog in #11415
- Add ignoreIncludeSideEffects configuration key by @danog in #11451
Fixes
- Fix crash on numeric annotation by @VincentLanglet in #11445
- Disable diffing if not in diff run by @danog in #11447
- Update stubs for ext-mongodb 2.0 by @alcaeus in #11453
- Update stubs for ext-mongodb 2.1 by @alcaeus in #11454
Docs
- [Doc] Clarify union vs. intersection for
numeric
supertype by @kylekatarnls in #11444
New Contributors
- @kylekatarnls made their first contribution in #11444
Full Changelog: 6.11.0...6.12.0