Releases: drupal-code-builder/drupal-code-builder
Releases · drupal-code-builder/drupal-code-builder
4.6.3
Bugfixes & improvements:
- Fixed ordering of admin route handler option; converted entity handler options to use OptionDefinition objects.
- Fixed surplus 'none' option appearing in UIs for entity handlers.
- Fixed Drush command option description using wrong variable.
- Changed order of plugin types so deprecated annotation type is last.
- Changed UI text about forcing handler classes to be on the option set description rather than repeated on each option.
- Changed option label to be clearer.
4.6.2
4.6.1
New features:
- Added content entity properties for revisions UI. Fixes #402.
Fixes:
- Fixed missing revision metadata keys on content entities using revisions.
- Fixed (temporarily!) crash caused by analysis of BlockContentCreationTrait.
- Fixed DI code on constraint plugin going in the plugin rather than the validator class. Fixes #381.
- Fixed generator type for generator classes with version attributes. Fixes #384.
- Fixed NULL offset.
- Added default container injection interface to base DI class.
- Fixed implicit nullable param deprecation.
4.6.0
New features:
- Added dependencies on plugin deriver injected services, and parent plugin replacement.
- Added dependent values system to data properties.
- Added DI to plugin deriver classes. Fixes #410.
- Added lastUpdatedDate() to ReportSummary using metadata, overriding method in parent class.
- Added collect task for the analysis timestamp. Fixes #118.
- Added method for getting differentiated labels for different delta items. Fixes #341.
- Added default class name for hooks classes.
- Changed CodeFile::getFilePath() to be public API. Fixes #344.
- Changed CodeFileInterface to inherit from Stringable. Fixes #345.
Fixed:
- Fixed services whose name is a class-like producing broken variable and property names. Fixes #415.
- Fixed plugin deriver class name incorrectly formed when the plugin type name contains a dot.
- Changed preprocess_ hooks to be available for OO. Fixes #417.
Other:
- Deprecated ReportHookDataFolder::lastUpdatedDate(). Fixes #418.
4.5.7
New features:
- Added options for custom plugin class with DI to Yaml plugins. Fixes #411.
Fixes:
- Fixed adopting service with no arguments crashes.
- Fixed $module property of PHPUnit tests not using inheritdoc tag. Fixes #414.
Internal:
- Upgraded test requirements to drupal/coder 9.0 alpha and PHPCS 4.0.
- Added interface for generators to get the environment injected. Fixes #338.
- Fixed annotation renderer not handling boolean and null values.
4.5.6
Fixes:
- Fixed content entity types without a bundle entity type don’t have a Field UI base route. Fixes #254.
- Fixed title of admin settings form page. Fixes #316.
- Fixed ordering of getEditableConfigNames() method in admin settings form. Fixes #317.
- Fixed entity add task links should be in sentence case. Fixes #328.
- Fixed hook_post_update_NAME() not going in right file.
- Fixed hook classes appearing as adoptable services. Fixes #407.
- Added strict_types to PHP files. Fixes #362.
4.5.5
Fixes:
- Added aliasing of repeated short class names in class imports. Fixes #388.
- Fixed non-default annotation or attribute class name not used in plugin type manager. Fixes #406.
- Fixed plugin type managers appearing in list of adoptable services.
- Fixed surplus ‘definition’ property with adoption of annotation plugin type.
New features:
- Added BC handling of annotations to plugin type manager.
4.5.4
Added:
- Added adoption of annotation-based plugin types.
- Added inactive properties for plugin type annotation properties.
Fixed:
- Fixed namespace of Drush command class for Drush 13. Fixes #357.
Internal:
- Added helper for loading a class from a Drupal extension.
- Changed DrupalExtension properties to readonly.
4.5.3
4.5.2
New features:
- Route generator can have injected services.
- Added descriptions to entity UI options. Fixes #398.
Fixed:
- Fixed analysis crash when entity label is a string. Fixes #403.
- Fixed ordering of injected services property in form and admin settings form generators. Fixes #400.
- Fixed lifecycle property missing a description. Fixes #397.
Internal:
- Added helpers to rearrange properties.
- Added class constant for the interface to add to a class with DI.