Releases: vimeo/psalm
7.0.0-beta10
What's Changed
Fixes
- Fix false negatives with mixed in templated value-of/key-of by @danog in #11499
- Avoid tainting problems with first-class callables by @danog
Full Changelog: 7.0.0-beta9...7.0.0-beta10
6.12.1
7.0.0-beta9
7.0.0-beta8
This release syncs up the 7.x branch with the 6.x branch.
What's Changed
Features
- Add plugin hook to polyfill custom autoloaders by @danog in #11422
- Implement cache consolidation with --consolidate-cache flag by @danog in #11450
- Add ignoreIncludeSideEffects configuration key by @danog in #11451
Fixes
- Fix #11420 by @danog in #11421
- Cache refactoring by @danog in #11415
- 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
Other changes
New Contributors
- @kylekatarnls made their first contribution in #11444
Full Changelog: 7.0.0-beta7...7.0.0-beta8
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
6.11.0
What's Changed
Features
- Add new
ClassFilePathProviderInterface
plugin hook to polyfill custom autoloaders by @danog in #11422
Fixes
- Small analysis bugfix by @danog
Subscribe to the brand new Psalm newsletter to stay up to date with all of Psalm's news!
Full Changelog: 6.10.3...6.11.0
6.10.3
7.0.0-beta7
What's Changed
Fixes
- Deprecate reflection's setAccessible on 8.1 by @danog in #11401
- InvalidNamedArgument "objectOrClass" for ReflectionClass constructor due to incorrect stub by @savinmikhail in #11407
- DateTimeImmutable::setTimestamp rename argument to $timestamp by @savinmikhail in #11409
- fix: alter of ClassMustBeFinal inserts final before attributes by @Tofandel in #11390
- Add fix for PropertyHooks by @craig-mcmahon in #11411
- Disable diff mode by @danog in #11416
Other changes
New Contributors
- @savinmikhail made their first contribution in #11407
- @craig-mcmahon made their first contribution in #11411
Full Changelog: 7.0.0-beta6...7.0.0-beta7
6.10.2
What's Changed
Fixes
- InvalidNamedArgument "objectOrClass" for ReflectionClass constructor due to incorrect stub by @savinmikhail in #11407
- DateTimeImmutable::setTimestamp rename argument to $timestamp by @savinmikhail in #11409
- fix: alter of ClassMustBeFinal inserts final before attributes by @Tofandel in #11390
- Add fix for PropertyHooks by @craig-mcmahon in #11411
- Disable diff mode by @danog in #11416
New Contributors
- @savinmikhail made their first contribution in #11407
- @craig-mcmahon made their first contribution in #11411
Full Changelog: 6.10.1...6.10.2
7.0.0-beta6
What's Changed
Features
- Enable taint analysis by default.
Fixes
Other changes
Full Changelog: 7.0.0-beta5...7.0.0-beta6