Releases: psalm/psalm-plugin-laravel
Releases ยท psalm/psalm-plugin-laravel
v2.5.0
Whatโs Changed
This release focuses on 2 things:
- โญ๏ธ Find all Modelโs attributes based in migrations (no more
UndefinedThisPropertyFetch
for Model's attributes ๐) - ๐๏ธ Use
@template
for Eloquent Collection keys (no moreInvalidTemplateParam
for Test Factories). If you use generic syntax manually, you need to update it from\Illuminate\Database\Eloquent\Collection<YourModel>
to\Illuminate\Database\Eloquent\Collection<int, YourModel>
Features
- Better SchemaAggregator (best in class migration parser) (#295) @lptn
- Eloquent Collection with templated keys (#272) @lptn
Fixes
Internal changes
- ๐ Performance: Register handler for Models only (bypass an issue in ide-helper) (#299) @lptn
- Make plugin errors more verbose (add console output) (#296) @lptn
Full Changelog: v2.4.0...v2.5.0
v2.4.0
Whatโs Changed
Features
Fixes
Internal changes
- Use stubs instead handlers (#284) @lptn
- Fine-tune CI (enhance test matrix, specify more strict trigger conditions) (#288) @lptn
Full Changelog: v2.3.1...v2.4.0
v2.3.1
Whatโs Changed
Fixes
view
helper now returns\Illuminate\Contracts\View\View
(contract instead implementation)
Internal changes
Full Changelog: v2.3.0...v2.3.1
v2.3.0
v2.2.0
Whatโs Changed
Features
- Add more stubs for helpers:
cookie
,session
,rescue
,retry
,tap
,__
(#267) @lptn - Better eloquent stubs (#245) @lptn
Internal changes
- Update dependencies, remove unused ones (#252) @lptn
- Automatically fix coding style issues (#258) @lptn
- Improve testing experience (#257) @lptn
- Remove dead code (#266) @lptn
- Remove dead code created to support outdated version of ide-helper (#264) @lptn
- Re-use getAppFullyQualifiedClassName and add annotations (#265) @lptn
- Update codeception module for plugin (#256) @lptn
- Adjust release-drafter config (use psalm-like setup) (#259) @lptn
- Automatically update 3.x branch on changes on master (#270) @lptn
Full Changelog: v2.1.1...v2.2.0
v2.1.1 ๐
What's Changed โจ
Fixes
- Issue: Model stubs are not generated (#248) @dkuzmenchuk
\Eloquent
alias, see #271 (comment)
Chore
- Tests: disable reporting about unused code (#253) @lptn
- Tests: remove outdated tests (#250) @lptn
- README: update and fix badges (#249) @lptn
- CI: Bump actions/checkout from 2 to 3 (#251) @dependabot
New Contributors
- @dkuzmenchuk made their first contribution in #248
Full Changelog: v2.1.0...v2.1.1
v2.1.0 ๐
v2.0.2 ๐
v1.6.2
v2.0.1 ๐
What's Changed โจ
๐ New Functionality
๐ Bug Fixes
- Catch even Throwable when trying to create class (#228) @Legion112