Releases: psalm/psalm-plugin-laravel
Releases · psalm/psalm-plugin-laravel
v2.11.0 (more stubs, new format for tests)
What’s Changed
Features
- Add stubs for
Http\Request
,Notifications\MailMessage
,Database\Migrator
(#381) @alies-dev - Add
Application
stub (#379) @alies-dev
Internal changes
- Use
.phpt
tests format (replace Codeception) (#377) @alies-dev - Automatically detect and load all stubs (#382) @alies-dev
- Add Rector (#371) @Nielsvanpach
Full Changelog: v2.10.1...v2.11.0
v1.4.11
What's Changed
- Backport critical fixes for Laravel 7 by @alies-dev in #378
Full Changelog: v1.4.10...v1.4.11
v2.10.1
What’s Changed
Features
- Update stubs: add
Route
,once()
, updateModel
properties (#369) @alies-dev
Full Changelog: v2.10.0...v2.10.1
v1.6.3
What's Changed
maintenance release to support old versions of the plugin
- Performance: Register handler for Models only (bypass an issue in ide-helper) by @alies-dev in #370
- Add stub for cache repository interface by @Legion112 in #236
Full Changelog: v1.6.2...v1.6.3
v2.10.0
What’s Changed
Internal changes
- 👋 Drop Laravel 9 support (and thus, drop PHP 8.0) (#367) @alies-dev
- 👋 Drop Lumen support (#366) @alies-dev
- 👋 Drop Psalm 4 support (#365) @alies-dev
- Use
orchestra/testbench-core
astestbench
should only be used for Package development (#359) @crynobone
Full Changelog: v2.9.0...v2.10.0
v2.9.0: Auth + Laravel 11
One of the biggest releases of the package 🚀
What’s Changed
Features
- Dynamic analysis for Auth calls (#326) @alies-dev
- Add Laravel 11 support (#364) @asbiin
- Support template syntax for
Model::query()
call results (#345) @alies-dev
Fixes
- Fix tests for path helpers (#352) @alies-dev
- Add missing @throws to
\Eloquent\Builder::findOrFail()
(#351) @alies-dev - Correct the setup steps (#341) @ctf0
Internal changes
- Run test suite with PHP 8.3 (#355) @Nielsvanpach
- Stubs for Eloquent Builder: Use
$this
instead ofself<TModel>
(#339) @alies-dev - Define missing Laravel app constants when instantiate Laravel app (#338) @alies-dev
- Improve testing experience, do not override
composer check
command (#337) @alies-dev - Reorganize tests files (#336) @alies-dev
- Bump release-drafter/release-drafter from 5 to 6 (#363) @dependabot
- Bump actions/checkout from 3 to 4 (#348) @dependabot
Full Changelog: v2.8.0...v2.9.0
v2.8.0 Helpers: complete support
What’s Changed
By this release we have covered all Laravel helpers that it makes sense to cover. 🚀
Features
- Support more helpers (+21 more):
filled
,transform
,class_basename
,class_uses_recursive
,trait_uses_recursive
,str
,abort_unless
,action
,back
,bcrypt
,broadcast
,dispatch_sync
,event
,data_fill
,data_set
,precognitive
,object_get
,value
,class_uses_recursive
andtrait_uses_recursive
(#335, #334, #332) @lptn
Internal changes
- Reorganize tests (#334) @lptn
- Optimize php-cli setup to accelerate tests (use JIT with php-cli) (#333) @lptn
Full Changelog: v2.7.1...v2.8.0
v2.7.1 (internal cleanup)
What’s Changed
Cleanup release.
Internal changes
- Bump dependencies, use stable Laravel 10 for application tests (#331) @lptn
- Improve DX: Use default Laravel app namespace for Models, create Application dir (#323) @lptn
- Add "How to debug with xdebug" doc (#325) @lptn
- Use stable laravel-ide-helper version (#324) @lptn
- Make indirect dependencies direct (#321) @lptn
- Cleaner tests structure (organize by type) (#319) @lptn
Full Changelog: v2.7.0...v2.7.1
v2.7.0
v2.6.0
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