Drupal Rector: Progress Update
How the 0.13.0 release fixes the most common Drupal 10 depreciations
Update -- 15 July 2022
The newest release is 0.13.0 and available at https://github.com/palantirnet/drupal-rector/releases/tag/0.13.0.
If you update your project, be sure to copy the new configuration file, as shown in the original post.
With Drupal 10 scheduled for December 14, 2022, we’ve been working with Matt Glaman, Gábor Hojtsy, and the Drupal 10 Readiness team to ensure that Drupal Rector can help upgrade modules for Drupal 10.
As part of that work, we recently released Drupal Rector 0.12.4. The 0.12.4 release is a stable release pinned to Rector 0.12.21. The 0.12.4 and 0.13.0 releases includes fixes for the 5 most common Drupal 10 deprecations:
Developers should be aware that Rector 0.12.22 includes breaking changes to how we handle Drupal configuration.
Luckily, it should be a simple matter of re-copying the configuration file. When upgrading to 0.13.0, run the following command from your project root:
- cp vendor/palantirnet/drupal-rector.php .
[Note the trailing dot - it matters!]
Developers can continue to use the pinned 0.12.4 release, though new update rules will not be available to that release.