v2.6.0
github-actions
released this
31 Jan 20:59
·
293 commits
to refs/heads/master
since this release
What’s Changed
Features
- Support
throw_if
andthrow_unless
(narrow down possible types based on these calls) (#312) @lptn - Support legacy
FactoryBuilder
(that usesfactory(Model::class)
syntax) (#303) @lptn - Improve return type detection for Laravel
path
helpers (#309) @lptn - Add More stubs:
lang_path
,Eloquent\Builder::chunk
,Database\Connection::transaction
(#305) @lptn - Add assertions to Collections (narrow down possible return types) (#313) @lptn
Fixes
Internal changes
- 🚀 Optimize Model attribute existence check (#306) @lptn
- Use
errorLevel=1
for plugin codebase (#304) @lptn - Enable taint analysis in tests (#311) @lptn
- Cleanup testing module, reorganize stubs (#310) @lptn
Full Changelog: v2.5.0...v2.6.0