Skip to content

Commit

Permalink
#ZZ01-144 Release 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Michał Biarda committed Jan 25, 2022
1 parent 310986a commit c1e0ae2
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,26 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [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`
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ Watchout: Minimal version of Magento's PHP is 7.4.

`cache` - creates a cache type

`categoryAttributes` - creates data patches which add category attributes

`configField` - creates config field for already existent group of store configuration

`configGroup` - creates group for already existent section of store configuration
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "orba/magento2-codegen",
"description": "Magento 2 Code Generator",
"version": "3.1.0",
"version": "3.2.0",
"license": "MIT",
"require": {
"php": "~7.4",
Expand Down
2 changes: 1 addition & 1 deletion templates/categoryAttributes/.no-copied-config/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
type: module
description: "This template creates data patches which adds category attributes."
description: "This template creates data patches which add category attributes."
afterGenerate: "1. To apply patch, please run setup upgrade command:
\n
\nbin/magento setup:upgrade"
Expand Down

0 comments on commit c1e0ae2

Please sign in to comment.