Skip to content

Latest commit

 

History

History
211 lines (174 loc) · 10.5 KB

CHANGELOG.md

File metadata and controls

211 lines (174 loc) · 10.5 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[4.0.0] - 2023-05-29

Changed

  • Module rebranded to Lingaro

[3.4.0] - 2022-08-10

Added

  • Compatibility with Magento 2.4.4 and PHP 8.1

Fixed

  • Error after generating model with field "id" in template crud
  • Error when generating patches using categoryAttributes, customerAttributes, productAttributes templates

[3.3.0] - 2022-02-23

Added

  • Possibility to collect property values from YAML file instead of console prompts
  • Exemplary YAML files for the following templates:
    • block
    • categoryAttributes
    • configField
    • emailTemplate
    • viewModel
  • Demo GIFs in readme file
  • .gitattributes file

Changed

  • Readme file updated with description of all options of template:generate command

Fixed

  • Inline edit error thrown on save for grid generated using crud template

Removed

  • --dry-run option in template:generate command

[3.2.0] - 2022-01-25

Added

  • Template: categoryAttributes
  • Possibility to add validators for string properties
  • php_class_name string property validator
  • New default properties:
    • copyrightComments
    • headerPHP
    • headerXML
    • headerHTML
    • headerJS
    • headerLESS

Changed

  • Header of each template file is now generated automatically basing on new default properties
  • All templates with properties expecting PHP class name were updated to use new php_class_name string property validator

Fixed

  • required validation fails if the answer to the question is "0"

[3.1.0] - 2021-08-31

Added

  • Template: customerAttributes
  • Possibility to generate multiple versions of same file - one for each item of array property
  • --force-merge option in template:generate command
  • Information about MIT license

Changed

  • model template: Collection Processor is now used for getList method of entity repository
  • addProductAttributes template:
    • Renaming to productAttributes
    • Refactoring of data patch file - now one file will be generated for each attribute specified in input
    • Added ability to generate custom source model with values and labels specified in input
    • Revert patch added

Fixed

  • template:generate command questions corrupted for nested arrays

[3.0.0] - 2021-07-14

Added

  • PHPCS setup for CI
  • PHPMD setup for CI

Changed

  • All templates refactored to use PHP 7.4 with strict typing and Magento coding standards
  • The whole codebase refactored to use PHP 7.4 with strict typing, PSR12 and the following PHPMD rule sets: cleancode, codesize, controversial, design, unusedcode
  • PHPUnit updated to version 9
  • Update of readme and dev docs
  • Update of all dependencies to current compatible versions

Fixed

  • widget template generating invalid XML if no properties were defined

[2.3.0] - 2021-03-22

Added

Fixed

  • Missing event prefix in model classes ZZ01-125

[2.2.1] - 2020-12-15

Added

  • module template: composer.json PHP version property ZZ01-122

Fixed

  • Use raw value of commentsCompanyName in comments in all templates ZZ01-121

[2.2.0] - 2020-12-10

Added

  • Compatibility with Magento 2.4.x ZZ01-115

Changed

  • modelRelation1To1 and modelRelation1ToN templates marked as experimental

Fixed

  • addProductAttributes template: invalid XML declaration in extension_attributes.xml file ZZ01-116
  • addProductAttributes template: patch dependencies are not generated ZZ01-119
  • configField template: syntax error in generated code for global scope ZZ01-120
  • eventObserver template: events.xml merged incorrectly ZZ01-117
  • jsModule template: incorrect escaping of JSON config ZZ01-118
  • quoteFields template: invalid interfaces used in generated code ZZ01-112

[2.1.0] - Skipped (do not install this version)

[2.0.0] - 2020-08-10

Added

Changed

  • Refactoring of template generation: template object is now represented by a model ZZ01-72
  • Refactoring of template generation: template properties have now cleaner structure, property builders were introduced and used in property factories ZZ01-86
  • Options for JSON merger can be now injected in constructor ZZ01-101
  • Template: consoleCommand (changed convention of naming command/filepath) ZZ01-107

Fixed

  • declare (strict_types=1) is not merged correctly by PHP merger ZZ01-108

[1.1.3] - 2020-07-24

Added

  • Dev documentation about depend and required property params ZZ01-83

Changed

  • Behavior of camel, pascal, snake and kebab filters for strings with multiple capital letters ZZ01-100

Fixed

  • Error thrown when trying to generate code from external template ZZ01-102
  • "The attribute 'length' is not allowed" error thrown when generating 'model' or 'quoteFields' template ZZ01-96

[1.1.2] - 2020-07-20

Fixed

  • Issue of frontPageController and frontPostController templates generating invalid code for controller action named action ZZ01-95

[1.1.1] - 2020-07-01

Fixed

  • Issue of addProductAttributes template param patchDependencies being required ZZ01-87

[1.1.0] - 2020-06-30

Added

  • Template: addProductAttributes ZZ01-46
  • Template: apiEndpoint ZZ01-61
  • Template: cron ZZ01-70
  • Template: emailTemplate ZZ01-65
  • Template: jsModule ZZ01-63
  • Template: quoteFields ZZ01-59
  • File merger: cron_groups.xml ZZ01-70
  • File merger: crontab.xml ZZ01-70
  • File merger: email_templates.xml ZZ01-65
  • File merger: extension_attributes.xml ZZ01-59
  • File merger: fieldset.xml ZZ01-59
  • File merger: JSON ZZ01-74
  • File merger: requirejs-config.js ZZ01-63
  • File merger: UI listing component ZZ01-45
  • File merger: UI form component ZZ01-45
  • File merger: webapi.xml ZZ01-61
  • Template config parameter: isAbstract ZZ01-50
  • Property attribute: required (for top-level properties) ZZ01-85
  • Property attribute: required (for array property children) ZZ01-61
  • Property attribute: depend (for top-level properties) ZZ01-70
  • Unit tests for PHP file merger ZZ01-73
  • Generated files with empty content are now not saved ZZ01-70
  • Possibility to use codegen.yml config file from Magento root ZZ01-77
  • Possibility to define additional folders with templates ZZ01-78
  • Basic Bitbucket pipeline ZZ01-82
  • Changelog file ZZ01-85

Changed

  • All templates from 1.0.0 updated to use required property attribute ZZ01-85

Fixed

  • PHP merger method's concatenation issue ZZ01-73
  • Minor issues in Magento Dom helper class ZZ01-45

Removed

  • Unnecessary Magento Composer repository definition in composer.json