Shortly after the previous release, a release with some long standing Pull Requests.
This release is the last minor release before removing support for Laravel 9 and Doctrine.
Fixed
- Fix case issue in
ModelsCommand::unsetMethod()
#1453 / leo108 - Fix non-facade classes will result in no autocomplete #841 / netpok
- Skip swoole, otherwise fatal error #1477 / TimoFrenzel
- Fix vulnerability CVE-2021-43608 #1392 / allanlaal
- Reset foreignKeyConstraintsColumns on model loop start #1461 / snmatsui
- Accept scope & scopes as relation #1452 / Muetze42
- Fix #1300 relation_return_type must take precedence if it is defined #1394 / menthol
Changed
- Disable inspections of helper files #1486 / eidng8
- Removed support for Laravel 8 and therefore for PHP < 8.0 #1504 / mfn
Added
- Add support for enum default arguments using enum cases. #1464 / d8vjork
- Add support for real-time facades in the helper file. #1455 / filipac
- Add support for relations with composite keys. #1479 / calebdw
- Add support for attribute accessors with no backing field or type hinting #1411 / pindab0ter.
- Add support for AsCollection and AsArrayObject casts #1393 / pataar
- Reintroduce support for multi-db setups #1426 / benpoulson
- Support the BINARY(...) database field type #1434 / Sfonxs
- Add AllowDynamicProperties Attribute to cooperate with php8.2 deprecation #1428 / GeoSot