Skip to content

v2.6.0

Compare
Choose a tag to compare
@github-actions github-actions released this 31 Jan 20:59
· 293 commits to refs/heads/master since this release
7f0d2fd

What’s Changed

⚠️ This is the latest minor version that supports Laravel 9.2-9.47

Features

  • Support throw_if and throw_unless (narrow down possible types based on these calls) (#312) @lptn
  • Support legacy FactoryBuilder (that uses factory(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

  • Fix MorphMany return type when orderBy used (e.g. latest(), olders()) (#308) @lptn

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