Skip to content

Releases: Chi-teck/drupal-code-generator

4.1.0

01 Nov 15:23
9a5501b
Compare
Choose a tag to compare
  • Fixed logger generator.
  • Added support for slots in the SDC generator.
  • Changed thumbnail format in SDC generator from JPG to PNG.
  • Changed migration YML file generation path to "migrations" instead of "migration".

4.0.0

22 Jul 18:21
00b6c6b
Compare
Choose a tag to compare
  • Dropped support for PHP 8.2
  • Dropped support for Drupal 10
  • Most generated plugins have been updated to use PHP attributes instead of annotations
  • Removed misc:apache-virtual-host generator
  • Removed misc:nginx-virtual-host generator
  • Removed plugin:ckeditor generator

Generator API is must be compatible with version 3.x

4.0.0-RC1

19 Jun 20:43
e2ddb22
Compare
Choose a tag to compare
4.0.0-RC1 Pre-release
Pre-release
  • Use single quotes for attribute in plugin manager generator.
  • Use PHP attribute for FieldType plugin.

3.6.1

19 Jun 20:38
2dbd8d2
Compare
Choose a tag to compare
  • Use single quotes for attribute in plugin manager generator.

4.0.0-alpha2

21 May 06:09
Compare
Choose a tag to compare
4.0.0-alpha2 Pre-release
Pre-release
  • Downgraded the required version of symfony/string to version 7.0
  • Updated README.md

4.0.0-alpha1

20 May 17:12
0f1ed5e
Compare
Choose a tag to compare
4.0.0-alpha1 Pre-release
Pre-release
  • Added compatibility with PHPUnit version 10.
  • Added Drupal 11 support and Symfony 7.
  • Dropped support for Drupal 10.
  • PHP attributes are now used for block and action plugins.
  • Other small changes and improvements.

3.6.0

20 May 16:51
Compare
Choose a tag to compare
  • Added sort_namespaces twig filter.
  • The sort twig tag has been deprecated in favor of a sort_namespaces twig filter.

Before:

{% sort %}
use Drupal\Core\Controller\ControllerBase;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Drupal\Component\Utility\Random;
{% endsort %}

After:

{% apply sort_namespaces %}
use Drupal\Core\Controller\ControllerBase;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Drupal\Component\Utility\Random;
{% endapply %}

3.5.0

11 Apr 14:25
74c2dc6
Compare
Choose a tag to compare
  • Added revision UI for generated revisionable entity type.
  • Fixed config entity form template not using entity class.
  • Fixed a warning about SDC component properties that require schema changes if a non-scalar type is used.
  • Fixed generation revision_metadata_keys for revisioable entity types.

3.4.0

10 Mar 13:54
Compare
Choose a tag to compare
  • Plugin manager using attributes for plugins #122
  • SingleDirectoryComponent::__construct should type against interface #125
  • Declare support for Drupal core ^10 || ^11 in new modules #126

Added support for Drupal 10.3

3.3.0

22 Oct 05:00
56da920
Compare
Choose a tag to compare

Added PhpStorm meta data for KernelTestBase methods
Minor bugfixes and improvements