Drupal 10 will be released on December 14th, 2022. The upgrade process from Drupal 9 to Drupal10 will be even easier than Drupal 8 to 9 was. Making projects that are already compatible with Drupal 9 compatible with Drupal10 requires removing deprecated API uses, which means that you'll have to remove them from your code. There are usually only a few deprecated API uses per module, but when we consider upgrading over 8,200 Drupal 9 modules on drupal.org hundreds or thousands of hours from our community could be spent on this task.
The good news is that Drupal Rector is a tool developed by Palatir.net and Pronghorn Labs. that can be used by developers who want to make their modules compatible with Drupal 10. It can also be used to automatically fix deprecated API uses in existing projects. Using Drupal Rector is easy, but running it on all Drupal 9 projects could have taken hundreds of developer days to complete.
Drupal Rector is an automated tool that generates patches for contributed modules. These patches will be made available to the community through the Drupal Association which has partnered with Acquia and Palantir. This means that developers will not need to write any code to upgrade their modules to Drupal 10. Instead, they will simply apply the patch. However, for some modules, it may still be necessary to manually replace deprecated API uses.
This bot is not affiliated with any individual or company. It is a tool that will automatically post updates to issues created by the Project Update Bot. These updates will be posted to issues that were created during the Drupal 8 to 9 migration. Maintainers are encouraged to review the patches and provide feedback if they feel the patches are useful.
If the project maintainers decide to use these patches, then they can help speed up the update process for modules for Drupal 10 dramatically.
Related: Drupal 10 New Features and How to Prepare Your Migration.
Maintainer Options
There are several ways to deal with these issues when maintaining a project:
- Leave the issues open and apply the provided patches to remove some or all of the deprecated APIs. The Project Update Bot checks weekly if Drupal Rector can remove new deprecated APIs and posts a new patch if possible, so you don't need to worry about it.
- If you would like to use this issue as a starting point please remove the "ProjectUpdateBotD10" tag from the issue. The bot will not post any updates if this tag is present. You can add the tag back and the update bot will start posting updates again.
- If you see an issue that is closed, please don’t reopen it. Closing an issue stops the bot from posting new issues. You can also flag the issue if you think it should be reopened.
For more information and support regarding your Drupal migration, please contact us and get in touch with our team of Drupal experts.
Photo credit: Unsplash.
We do Web development
Go to our Web development page!