Skip to content

Releases: palantirnet/drupal-rector

0.21.1

07 Nov 19:10
060403e

Choose a tag to compare

What's Changed

  • Fix method not found on GetDeclaringSourceTrait::getDeclaringSource() by @samsonasik in #317
  • Update Deny list to include to missing hooks and remove preprocess by @nlighteneddesign in #318
  • Better replacement for dynamic uppercase parts in Implements hook_xy by @Berdir in #320

New Contributors

Full Changelog: 0.21.0...0.21.1

0.21.0

23 May 16:07
f5b5082

Choose a tag to compare

This release adds Rector 2 support. FOr now we support both 1 and 2, for now this seems like a reasonable goal. If we start running into to many issues we will split the repo into a 1 and 2 release.

What's Changed

  • feat: Drop Drupal 8 support by @bbrala in #311
  • feat: Add support for PHPstan 2 and Rector 2 by @ptmkenny in #312
  • feat: Add new HookConvert rector to convert legacy hooks to new OOP hooks. by @nlighteneddesign in #308
  • chore: Remove use of protected property NodeNameResolver on HookConvertRector by @samsonasik in #316

New Contributors

Full Changelog: 0.20.3...0.21.0

0.20.3

10 Jun 19:19
50c742a

Choose a tag to compare

New rectors

  • New rector (10.3): Add rule for file_icon_class() and file_icon_map() by @timohuisman in #304
  • Add common PHPUnit 10 deprecations by @bbrala in #307

Bugfixes

  • symplify/rule-doc-generator doesnt like cs-fixer a lot of times. Adju… by @bbrala in #306

Full Changelog: 0.20.2...0.20.3

0.20.2

31 May 07:29
61ba140

Choose a tag to compare

New rectors

  • New rector (10.1): drupal_theme_rebuild is deprecated by @bbrala in #297
  • New rector (10.2): Rector for _drupal_flush_css_js through new VersionedFunctionToServiceRector by @bbrala in #302

Bugfixes

  • bugfix: remove extra \ from Drupal\Core\StringTranslation\ByteSizeMarkup rector by @bbrala in #301

What's Changed

  • Update core_plugin_conversion.md by @bbrala in #298
  • doc: Fix doc for AnnotationToAttributeRector and generate new docs. by @bbrala in #299
  • Upgrade project tooling to PHP 8.2 by @agentrickard in #300

Full Changelog: 0.20.1...0.20.2

0.20.1

09 Mar 19:17
dc2e858

Choose a tag to compare

This release adds the code to move from annotations to attributes which currently is being done in core. For now this code is not added by default until things settle down. If you want to use the rector check out AnnotationToAttributeRector.

If you want to contribute to core in the migration, check out these docs or go help out in #3396165.

New rectors

  • New rector: Rule to convert action to attributes by @andypost in #257
  • New rector (9.1): ClassConstantToClassConstantRector to rename class constants to a new class. by @bbrala in #282
  • feat: Optimize AnnotationToAttributeRector by @bbrala in #296

What's Changed

New Contributors

Full Changelog: 0.20.0...0.20.1

0.20.0

05 Mar 19:38
27e1ef5

Choose a tag to compare

New Rector

What's Changed

  • refactor: Replace deprecated LevelSetLists for version specific PHPUnit, Symfony and Twig sets by @timohuisman in #290
  • feat: upgrade to rector 1.0 by @bbrala in #292
  • fix: Add proper levels for all symfony versions deprecated in the different versions of Drupal by @bbrala in #293

Full Changelog: 0.19.2...0.20.0

0.19.2

17 Jan 13:58

Choose a tag to compare

Fixed

  • Fix: Double deprecated calls when already refactored by @bbrala in #288

Full Changelog: 0.19.1...0.19.2

0.19.1

12 Jan 13:32

Choose a tag to compare

What's Changed

Full Changelog: 0.19.0...0.19.1

0.19.0

11 Jan 21:14

Choose a tag to compare

New rector

What's Changed

  • feat: Upgrade rector to 0.19 and fix phpstan incompatiblities by @bbrala in #284

New Contributors

Full Changelog: 0.18.6...0.19.

0.18.6

28 Dec 17:49
94650bc

Choose a tag to compare

What's Changed

  • Hotfix: New rector FILE_STATUS_PERMANENT was not added to deprecation list. … by @bbrala in #280

Full Changelog: 0.18.5...0.18.6