Skip to content

6.12.0 - Cache refactoring

Compare
Choose a tag to compare
@danog danog released this 29 May 19:50
· 12 commits to 6.x since this release

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

Docs

New Contributors

Full Changelog: 6.11.0...6.12.0