Releases: barryvdh/laravel-ide-helper
Releases · barryvdh/laravel-ide-helper
v3.2.2
v3.2.1
What's Changed
- chore: Fix the description of unused option by @KentarouTakeda in #1600
- feat(pivot): add support for multiple pivot types when using the same accessor by @pataar in #1597
- Add support for
AsCollection::using
andAsEnumCollection::of
casts by @uno-sw in #1577 - Smarter reset by @barryvdh in #1603
- feat: use
numeric
type on fields withdecimal
casts by @ekisu in #1583
New Contributors
Full Changelog: v3.2.0...v3.2.1
v3.2.0
This version adds support for the Generics in the Eloquent Builder from Laravel 11. To better support this, support for Laravel < 11 is dropped. The minimum version is now Laravel 11 and PHP8.2. Older Laravel/PHP versions can still keep using v3.1.x
What's Changed
- Fix type of hased model property by @khaled-sadek in #1579
- Fix badges by @erikn69 in #1576
- fix: Model's
--write
duplicates array properties by @KentarouTakeda in #1594 - Fix upstream dependent test failure in Laravel 11.23 and later by @KentarouTakeda in #1595
- Compatible with Generics Eloquent Builder in Laravel 11.15 by @KentarouTakeda in #1591
- Test against php 8.4 by @sergiy-petrov in #1592
- Bump dev alias to 3.2 by @barryvdh in #1596
New Contributors
- @khaled-sadek made their first contribution in #1579
Full Changelog: v3.1.0...v3.2.0
v3.2.0-rc1
What's Changed
- Fix type of hased model property by @khaled-sadek in #1579
- Fix badges by @erikn69 in #1576
- fix: Model's
--write
duplicates array properties by @KentarouTakeda in #1594 - Fix upstream dependent test failure in Laravel 11.23 and later by @KentarouTakeda in #1595
- Compatible with Generics Eloquent Builder in Laravel 11.15 by @KentarouTakeda in #1591
- Test against php 8.4 by @sergiy-petrov in #1592
- Bump dev alias to 3.2 by @barryvdh in #1596
New Contributors
- @khaled-sadek made their first contribution in #1579
Full Changelog: v3.1.0...v3.2.0-rc1
v3.1.0
2024-07-12, 3.1.0
Fixed
- Fix return value of query scopes from parent class #1366 / sforward
- Add static to isBuiltin() check in ide-helper:models #1541 / bram-pkg
- Fix for getSomethingAttribute functions which return a collection with type templating in the phpDoc. #1567 / stefanScrumble
Added
- Add type to pivot when using a custom pivot class #1518 / d3v2a
- Add support in morphTo relationship for null values #1547 / matysekmichal
- Add support for AsEnumCollection casts #1557 / Braunson
- Support for Attribute class in attributes #1567 / stefanScrumble
New Contributors
- @d3v2a made their first contribution in #1518
- @stefanScrumble made their first contribution in #1567
- @Braunson made their first contribution in #1557
- @matysekmichal made their first contribution in #1549
- @bram-pkg made their first contribution in #1541
- @schrosis made their first contribution in #1538
Full Changelog: v3.0.0...v3.1.0
v3.0.0: Support Laravel 11 & Remove Doctrine
Added
- Support for Laravel 11 #1520 / KentarouTakeda
Changed
- Make
--reset
always keep the text and remove--smart-reset
. Always skip the classname #1523 / barryvdh & #1525 / mfn - Use short types (
int
andbool
instead ofinteger
andboolean
) #1524 / barryvdh
Removed
- Support for Laravel 9 and use of doctrine/dbal #1512 / barryvdh
With this functionality gone, a few changes have been made:- support for custom datatypes has been dropped (config
custom_db_types
) unknown data types default tostring
now and to fix the type, add a proper cast in Eloquent - You might have top-level dependency on doctrine/dbal. This may have been in the past due to ide-helper, we suggest to check if you still need it and remove it otherwise
- Minimum PHP version, due to Laravel 10, is now PHP 8.1
- support for custom datatypes has been dropped (config
v2.15.1: Fix final class keyword (#1517)
* Fix final class keyword * Add changelog
v2.15.0
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
v2.14.0: long time, no see… and Goodbye Lumen 👋
Finally after a year a new release 🎉
As mentioned below, Lumen is no longer officially supported.
Changed
- Official support for Lumen has been dropped #1425 / mfn
- Refactor resolving of null information for custom casted attribute types #1330 / wimski
Fixed
- Add support for attribute accessors marked as protected. #1339 / pindab0ter
- Catch exceptions when loading aliases #1465 / dongm2ez
Added
- Add support for nikic/php-parser 5 (next to 4) #1502 / mfn
- Add support for
immutable_date:*
andimmutable_datetime:*
casts. #1380 / thekonz
v2.13.0: Fix Castables issue #1312 (#1388)
Fixes
- Fix return type of methods provided by
SoftDeletes
#1345 / KentarouTakeda - Handle PHP 8.1 deprecation warnings when passing
null
tonew \ReflectionClass
#1351 / mfn - Fix issue where \Eloquent is not included when using write_mixin #1352 / Jefemy
- Fix model factory method arguments for Laravel >= 9 #1361 / wimski
- Improve return type of mock helper methods in tests #1405 / bentleyo
- Fix Castable class if failed to detect it from return types #1388 / kwarcu
Added
- Added Laravel 10 support #1407 / lptn
- Add support for custom casts that implement
CastsInboundAttributes
#1329 / sforward - Add option
use_generics_annotations
for collection type hints #1298 / tanerkay