Skip to content

Latest commit

 

History

History
998 lines (684 loc) · 17 KB

CHANGELOG.md

File metadata and controls

998 lines (684 loc) · 17 KB

Changelog

All notable changes to soyhuce/next-ide-helper will be documented in this file

1.0.1 - 2025-01-03

What's Changed

  • Use $this return type for builders @methods by @bastien-phi in #123

Full Changelog: https://github.com/Soyhuce/next-ide-helper/compare/1.0.0...1.0.1

1.0.0 - 2024-12-30

What's Changed

  • Upgrade dependencies and php 8.4 by @bastien-phi in #122

Full Changelog: https://github.com/Soyhuce/next-ide-helper/compare/0.19.4...1.0.0

0.19.4 - 2024-08-30

What's Changed

  • Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 by @dependabot in #120
  • Fix meta file generation by @edwinvdpol in #121

Full Changelog: https://github.com/Soyhuce/next-ide-helper/compare/0.19.3...0.19.4

0.19.3 - 2024-06-05

What's Changed

  • Add tests on laravel 11, phpstan on php 8.3 by @bastien-phi in #114
  • Bump ramsey/composer-install from 2 to 3 by @dependabot in #113
  • Bump dependabot/fetch-metadata from 1.6.0 to 2.1.0 by @dependabot in #116
  • Fixed comment for ResolveModelAttributes by @zKoz210 in #117
  • Added new flag for default laravel nullable timestamps. Issue #84 by @zKoz210 in #118

New Contributors

  • @zKoz210 made their first contribution in #117

Full Changelog: https://github.com/Soyhuce/next-ide-helper/compare/0.19.2...0.19.3

0.19.2 - 2024-02-23

What's Changed

  • Remove doctrine/dbal by @bastien-phi in #112

Full Changelog: https://github.com/Soyhuce/next-ide-helper/compare/0.19.1...0.19.2

0.19.1 - 2024-02-23

What's Changed

  • Fix attribute type caster for postgresql by @bastien-phi in #111

Full Changelog: https://github.com/Soyhuce/next-ide-helper/compare/0.19.0...0.19.1

0.19.0 - 2024-02-16

What's Changed

  • Support Laravel 11, drop doctrine/dbal, replace soyhuce/classmap-generator with composer/class-map-generator by @bastien-phi in #110

Full Changelog: https://github.com/Soyhuce/next-ide-helper/compare/0.18.1...0.19.0

0.18.1 - 2024-01-11

What's Changed

  • Prevent crash when doctrine raises exception by @bastien-phi in #109

Full Changelog: https://github.com/Soyhuce/next-ide-helper/compare/0.18.0...0.18.1

0.18.0 - 2024-01-11

What's Changed

  • Add a boolean to Attribute in order to define if it is nullable in database by @bastien-phi in #107

Full Changelog: https://github.com/Soyhuce/next-ide-helper/compare/0.17.1...0.18.0

0.17.1 - 2023-12-06

What's Changed

  • fix: take account of tables prefix during models attributes resolving by @KarinaRashchynskaya in #106

New Contributors

  • @KarinaRashchynskaya made their first contribution in #106

Full Changelog: https://github.com/Soyhuce/next-ide-helper/compare/0.17.0...0.17.1

0.17.0 - 2023-11-27

What's Changed

  • Link sources for macros and model scopes by @bastien-phi in #103

Full Changelog: https://github.com/Soyhuce/next-ide-helper/compare/0.16.0...0.17.0

0.16.0 - 2023-11-03

What's Changed

  • Tests under PHP 8.3, drop PHP 8.1 and Laravel 9 by @bastien-phi in #96

Full Changelog: https://github.com/Soyhuce/next-ide-helper/compare/0.15.4...0.16.0

0.15.4 - 2023-10-26

What's Changed

  • Fix get type by @ElRochito in #101

Full Changelog: https://github.com/Soyhuce/next-ide-helper/compare/0.15.3...0.15.4

0.15.3 - 2023-10-23

What's Changed

  • Added immutable dates to type caster by @bastien-phi and @edwinvdpol in #100

Full Changelog: https://github.com/Soyhuce/next-ide-helper/compare/0.15.2...0.15.3

0.15.2 - 2023-10-18

What's Changed

  • Fix class does not exists by @bastien-phi in #98

Full Changelog: https://github.com/Soyhuce/next-ide-helper/compare/0.15.1...0.15.2

0.15.1 - 2023-10-17

What's Changed

  • Bump stefanzweifel/git-auto-commit-action from 4 to 5 by @dependabot in #94
  • Hashed cast should resolve to a string by @bastien-phi in #95

Full Changelog: https://github.com/Soyhuce/next-ide-helper/compare/0.15.0...0.15.1

0.15.0 - 2023-09-26

What's Changed

  • Bump actions/checkout from 3 to 4 by @dependabot in #90
  • Fix nullable return type syntax in doc blocks by @bastien-phi in #92

Full Changelog: https://github.com/Soyhuce/next-ide-helper/compare/0.14.0...0.15.0

0.14.0 - 2023-07-10

What's Changed

  • Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 by @dependabot in #83
  • Bump dependabot/fetch-metadata from 1.4.0 to 1.5.1 by @dependabot in #85
  • Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 by @dependabot in #88
  • Modify macro helper generation by @bastien-phi in #89

Full Changelog: https://github.com/Soyhuce/next-ide-helper/compare/0.13.1...0.14.0

0.13.1 - 2023-07-10

What's Changed

  • Fix AsEnumCollection cast by @bastien-phi in #81

Full Changelog: https://github.com/Soyhuce/next-ide-helper/compare/0.13.0...0.13.1

0.13.0 - 2023-03-15

What's Changed

  • Make has one property nullable by @bastien-phi in #80

Full Changelog: https://github.com/Soyhuce/next-ide-helper/compare/0.12.0...0.13.0

0.12.0 - 2023-02-03

What's Changed

  • Fix docblock for class with modifier by @bastien-phi in #72
  • Keep user defined tags by @bastien-phi in #74
  • Don't throw exception when table columns is empty by @ElRochito in #75
  • Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in #77
  • Laravel 10 support by @bastien-phi in #78

Full Changelog: https://github.com/Soyhuce/next-ide-helper/compare/0.11.2...0.12.0

0.11.2 - 2022-11-25

What's Changed

-Fix macro export when type is mixed or nullable union type by @bastien-phi in #69

Full Changelog: https://github.com/Soyhuce/next-ide-helper/compare/0.11.1...0.11.2

0.11.1 - 2022-11-16

What's Changed

  • Bump dependabot/fetch-metadata from 1.3.4 to 1.3.5 by @dependabot in #66
  • TestCase Attribute by @edwinvdpol and @bastien-phi in #68

New Contributors

  • @edwinvdpol made their first contribution in #68

Full Changelog: https://github.com/Soyhuce/next-ide-helper/compare/0.11.0...0.11.1

0.11.0 - 2022-10-21

What's Changed

  • Bump actions/checkout from 2 to 3 by @dependabot in #63
  • Bump dependabot/fetch-metadata from 1.3.3 to 1.3.4 by @dependabot in #64
  • PHP 8.2, drop PHP 8.0 by @bastien-phi in #65

Full Changelog: https://github.com/Soyhuce/next-ide-helper/compare/0.10.0...0.11.0

0.10.0 - 2022-08-29

What's Changed

  • Change Larastan friendly rendering by @bastien-phi in #62

Full Changelog: https://github.com/Soyhuce/next-ide-helper/compare/0.9.2...0.10.0

0.9.2 - 2022-08-11

What's Changed

  • Bump dependabot/fetch-metadata from 1.3.0 to 1.3.1 by @dependabot in #55
  • Bump dependabot/fetch-metadata from 1.3.1 to 1.3.3 by @dependabot in #56
  • Fix overriding nullable type by @bastien-phi in #59
  • Fix doctrine/dbal deprecation notice by @bastien-phi in #61

New Contributors

  • @dependabot made their first contribution in #55

Full Changelog: https://github.com/Soyhuce/next-ide-helper/compare/0.9.1...0.9.2

0.9.1 - 2022-03-22

What's Changed

  • Fix ModelDocBlock when the model uses HasFactory but the factory does not exist by @bastien-phi in #54

Full Changelog: https://github.com/Soyhuce/next-ide-helper/compare/0.9.0...0.9.1

0.9.0 - 2022-03-04

What's Changed

  • Remove composer dependency by @bastien-phi in #52
  • Upgrade skeleton by @bastien-phi in #53

Full Changelog: https://github.com/Soyhuce/next-ide-helper/compare/0.8.1...0.9.0

[Next release] - YYYY-MM-DD

[0.8.1] - 2022-02-21

Fixed

  • Remove generics tags from docblocks in @method tags, add @phpstan-method with generics in
  • case models.larastan_friendly is enabled.

[0.8.0] - 2022-02-18

Changed

  • Drop Laravel 8 support
  • Docblocks for Eloquent Collections now respect Laravel 9 generic template
  • Docblocks for Eloquent Factories now respect Laravel 9 generic template

[0.7.3] - 2022-01-24

Fixed

  • Fix error when encrypted does not have argument

[0.7.2] - 2022-01-24

Added

  • Correct cast for date and datetime with custom format
  • Cast for encrypted fields

[0.7.1] - 2022-01-21

Fixed

  • Model factory resolution for Model::factory() docblock

[0.7.0] - 2022-01-07

Added

  • Laravel 9 support
  • Support for attribute accessor and mutators via \Illuminate\Database\Eloquent\Casts\Attribute

Fixed

  • Delete where* query helper from mutated attributes which does not exist in database

Changed

  • Laravel 8.77+ required
  • Soyhuce\NextIdeHelper\Console\Bootstrapper moved to Soyhuce\NextIdeHelper\Contracts\Bootstrapper
  • Soyhuce\NextIdeHelper\Domain\Models\Actions\ModelResolver moved to Soyhuce\NextIdeHelper\Contracts\ModelResolver
  • Soyhuce\NextIdeHelper\Domain\Factories\Actions\FactoryResolver moved to
  • Soyhuce\NextIdeHelper\Contracts\FactoryResolver

Removed

  • All the built-in Model extensions

[0.6.3] - 2021-12-07

Added

  • Support for Enum casting

[0.6.2] - 2021-10-25

Fixed

  • Property type is mixed when getPropertyAttribute does not define its return type.

[0.6.1] - 2021-10-15

Changed

  • Allow union and pure intersection types in model overrides

[0.6.0] - 2021-09-13

Changed

  • Prefix generated classes with __ in order to make them less searchable by the ide.

Fixed

  • Don't document magic methods on factories which already exist.

[0.5.4] - 2021-09-03

Added

  • Add support for doctrine/dbal:^3.0

[0.5.3] - 2021-04-26

Added

  • Add extras in QueryBuilder in order to add more information in query builder doc block.

[0.5.2] - 2021-03-25

Changed

  • Fake relation classes in _ide_model do not extend Relation anymore but are marked with @mixin Relation.

[0.5.1] - 2021-03-19

Changed

  • Add model constructor in _ide_models file
  • Better export of default parameters in methods

Fixed

  • Do not instantiate the model factory to get its class but use Factory::resolveFactoryName() directly.
  • Revert 0.5.0 : In _ide_models file, models do not overwrite real model anymore
  • Revert 0.5.0 : Add @mixin to model docblock referencing models in _ide_models file

[0.5.0] - 2021-03-12

Changed

  • In _ide_models file, models do not overwrite real model anymore
  • Add @mixin to model docblock referencing models in _ide_models file
  • Add constructor in _ide_macros files for macroable classes to prevent the ide complaining about constructor
  • arguments (#28)

Fixed

  • Relation throwing an exception do not make the commands to fail anymore but are just ignored

[0.4.3] - 2021-03-03

Fixed

  • Correction of the way overrides are exported in docblock when they are an interface or a trait
  • Remove not working tags for MorphTo

[0.4.2] - 2021-02-25

Added

  • Add ability to override type for model relations

[0.4.1] - 2021-02-16

Added

  • Query builder completion for models using SoftDeletes

[0.4.0] - 2021-02-10

Added

  • Attributes with CastsInboundAttribues cast have database defined type.
  • Return type for sole method
  • Add ability to override type for model attributes

Fixed

  • Add static for macros when declared static

[0.3.3] - 2021-01-28

Added

  • Support for Castable interface

Fixed

  • Nullable type for custom casts (#15)

Changed

  • Laravel minimum version is now 8.0

[0.3.2] - 2020-11-23

Fixed

  • add missing command registration

[0.3.1] - 2020-11-23

Added

  • next-ide-helper:all command to run all commands

[0.3.0] - 2020-11-09

Added

  • Support PHP 8

[0.2.5] - 2020-09-29

Fixed

  • Fix self return type in macros
  • Remove extra space after ... in macros

[0.2.4] - 2020-09-29

Added

  • Ability to add docblock methods for Laravel factories

[0.2.3] - 2020-09-28

Added

  • SpatieModelStateResolver to resolve model states from spatie/laravel-model-states
  • Ability to add extensions for Laravel factories

[0.2.2] - 2020-09-11

Fixed

  • ParameterReflection::asString when the parameter is variadic

[0.2.1] - 2020-08-31

Added

  • Allow installing composer/composer ^2.0

[0.2.0] - 2020-08-27

Added

  • Support Laravel 8

[0.1.5] - 2020-08-05

Added

  • command next-ide-helper:aliases to generate a file helping the ide to understand aliases

[0.1.4] - 2020-07-16

Added

  • Option to generate larastan-friendly doc blocks for models
  • Typed factory method on model using HasFactory

Changed

  • HasOne relations are documented with has in factories docblocks

[0.1.3] - 2020-07-02

Fixed

  • nullable parameter syntax for factory docblock

[0.1.2] - 2020-06-29

Changed

  • relations methods are now defined in docblock instead of actual methods in _ide_models.php file

Fixed

  • add static for Model::query() method in docblocks in _ide_models.php file

[0.1.1] - 2020-05-18

Added

  • command next-ide-helper:factories to generate Laravel 8 factories docblock :

    • method types
    • magic relation methods

[0.1.0] - 2020-05-15

Added

  • Models :

    • attributes
    • attributes from accessors
    • attribute casting
    • custom collection
    • custom query builder
    • relations
    • query builder :
      • where clauses from attributes
      • where clauses from scopes
      • type of result methods
    • relations :
      • mixin with related's query builder
    • custom resolvers
  • Macros :

    • generation of file with macros to provide auto-completion
  • Phpstorm Meta :

    • generation of file with meta to provide auto-completion
  • Misc :

    • custom bootstrapper