Skip to content

Releases: palantirnet/drupal-rector

0.20.3

10 Jun 19:19
50c742a
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.19.0...0.19.1

0.19.0

11 Jan 21:14
Compare
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
Compare
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

0.18.5

28 Dec 08:21
1d85602
Compare
Choose a tag to compare

New rector

  • New rector (9.3): Support FILE_STATUS_PERMANENT deprecation by @bbrala in #278
  • New rector (9.1): \Drupal\Component\Utility\Bytes::toInt() is deprecated by @bbrala in #279

Full Changelog: 0.18.4...0.18.5

0.18.4

18 Dec 09:12
Compare
Choose a tag to compare

New rector

  • New rector: Support for module_load_include deprecation (Drupal 9) by @bbrala in #277

Full Changelog: 0.18.3...0.18.4