Skip to content

Releases: psalm/psalm-plugin-laravel

v2.5.0

27 Jan 08:49
70e9f16
Compare
Choose a tag to compare

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 more InvalidTemplateParam 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

  • Support \Schema alias while parsing migrations (#298) @lptn

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

23 Jan 17:24
e6eaed7
Compare
Choose a tag to compare

Whatโ€™s Changed

Features

  • ๐Ÿš€ Better support for more helpers: auth, cache, dispatch, logs, rescue, to_route (#286) @lptn

Fixes

  • Properly detect nullable properties based on migration files (#275) @dpash

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

22 Jan 21:57
294c30f
Compare
Choose a tag to compare

Whatโ€™s Changed

Fixes

  • view helper now returns \Illuminate\Contracts\View\View (contract instead implementation)

Internal changes

  • Add tests for view and response helpers (#282) @lptn

Full Changelog: v2.3.0...v2.3.1

v2.3.0

22 Jan 15:30
722b929
Compare
Choose a tag to compare

Whatโ€™s Changed

Features

Fixes

  • View: Use contracts instead implementations (#281) @lptn

Internal changes

  • Name all unnamed test scenarios (#277) @lptn
  • Enable temporarily disabled tests (#280) @lptn

Full Changelog: v2.2.0...v2.3.0

v2.2.0

18 Jan 15:23
1c85f59
Compare
Choose a tag to compare

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 ๐ŸŒˆ

14 Jan 13:19
7f06992
Compare
Choose a tag to compare

What's Changed โœจ

Fixes

โš ๏ธ This fix may cause an issue in your Laravel project if you don't use \Eloquent alias, see #271 (comment)

Chore

New Contributors

Full Changelog: v2.1.0...v2.1.1

v2.1.0 ๐ŸŒˆ

12 Jan 17:31
08df953
Compare
Choose a tag to compare

What's Changed

  • Drop Laravel 8 support by @lptn in #246 (as promised in v2.0 but never did it)

New Contributors

  • @lptn made their first contribution in #246

Full Changelog: v2.0.2...v2.1.0

v2.0.2 ๐ŸŒˆ

03 Dec 18:58
681b22c
Compare
Choose a tag to compare

What's Changed โœจ

v1.6.2

22 Jun 15:49
8c46a82
Compare
Choose a tag to compare

What's Changed โœจ

๐Ÿ› Bug Fixes

v2.0.1 ๐ŸŒˆ

21 Jun 21:10
Compare
Choose a tag to compare

What's Changed โœจ

๐Ÿš€ New Functionality

๐Ÿ› Bug Fixes