Skip to content

v1.14.0

Choose a tag to compare

@GSadee GSadee released this 08 Oct 10:56
· 62 commits to 1.14 since this release
v1.14.0
63e6779

TL;DR

  • PHP 8 Attributes: New #[AsGrid] and #[AsFilter] attributes for modern grid and filter configuration
  • Callable Field Type: Dynamically generate field values using callables
  • Debug Command: New sylius:debug:grid command to inspect grid configurations
  • Enhanced Flexibility: Template configuration in actions and filters, vars option for DateTime/Twig fields
  • Better DX: make:grid works with any object (not just Doctrine entities), optional Twig/Doctrine integrations
  • Bug Fixes: Fixed grid sorting issues when sorting key not defined
  • Fully backward compatible with 1.13.
  • Documentation moved to Sylius Stack using GitBook.

Details (full changelog between 1.13 and 1.14 versions)

  • #363 Fix implicit nullable parameter (@loic425)
  • #321 Add callable field (@Florian-Merle)
  • #366 [CI] Add GitHub Action for creating upmerge PRs (@GSadee)
  • #365 [FieldTypes] add vars option on DateTime & Twig field types (@loic425)
  • #367 fix grid sorting with sorting key not defined and grid definition creation (@Florian-Merle)
  • #348 Introduce AsFilter attribute to define filter type and form type (@vasilvestre)
  • #349 Introduce AsGrid attribute for streamlined grid configuration (@vasilvestre)
  • #370 Configure template via the AsFilter attribute (@loic425)
  • #377 Allow to define a template in action definition (@loic425)
  • #371 Add custom build method and grid provider (@loic425)
  • #374 Improve make grid command to be run with Doctrine Entities or any other Object resource class (@stlgaits)
  • #372 Fix grid sorting bc break (@Florian-Merle)
  • #385 Moving the doctrine mappings from yaml to php attributes (@mamazu)
  • #382 Add a de grid command (@loic425)
  • #388 List grids on de grid command (@loic425)
  • #387 [GridMaker] Modernize the grid maker to use the new AsGrid attribute (@loic425)
  • #358 [Doc] Documentation migration to SyliusStack using gitbook (@Prometee)
  • #375 Fix Twig & Doctrine integration only when available (@loic425)
  • #392 Bump package versions (@loic425)
  • #368 update CallableFieldType to work with services (@Florian-Merle)
  • #390 Deprecating setOptions and replacing it with addOptions (@mamazu)
  • #393 Convert phpspec 2 phpunit on component configuration (@loic425)
  • #394 Convert phpspec 2 phpunit on component data (@loic425)
  • #395 Convert phpspec 2 phpunit on component data extractor (@loic425)
  • #397 Convert phpspec 2 phpunit on component event (@loic425)
  • #396 Convert phpspec 2 phpunit on component data definition (@loic425)

New Contributors

Full Changelog: v1.13.2...v1.14.0