You should now be ready to update to Drupal 10. Though that is EOL before 2024, so you'll need a plan for this in the near future. If you've got a lot of custom editor integration, you might consider using the CKEditor 4 contrib module. The upgrade path should be smooth if your site uses a fairly standard editor configuration. Going forward, as you update your module with Drupal 11+ compatibility, you shouldn't need to change this again: core_version_requirement: '>=10' CKEditorĬKEditor in Drupal 10 has received a lot of work and is built on CKEditor 5. You can then specify your custom modules are compatible with Drupal 10 and above. protected function setUp(): void, and test $modules visibility should be protected (i.e. Test setUp() methods need a void return type (i.e.The jquery dependency on once has been removed and is now core/once.->accessCheck() must now be specified on all content entity queries. If you're uncomfortable with the command line, the Upgrade Status module should help. It's a great idea to run this on your CI environment to catch deprecations as they're added. Using Matt Glaman's excellent phpstan-drupal will ensure your custom code isn't using any deprecated code. Matt Glaman's composer-drupal-lenient is a useful tool that lets you use Drupal 9 compatible modules, then use cweagans/composer-patches to patch them to add Drupal 10 compatibility. Handling contrib modules that aren't readyĬontrib modules that aren't yet compatible with Drupal 10 will need special handling. Helping to get contrib modules ready for Drupal 10 is also a great opportunity to contribute to Drupal. In preparation for Drupal 10 an easy way to see which modules and their dependencies will hold you back is to use: composer why-not drupal/core ^10Īn alternative to this is to use Acquia's Drupal 10 Deprecation Status site or the Upgrade Status module. Make sure all contributed modules are on their latest Drupal 9 compatible releases. Upgrade Drupal core to 9.5Įnsuring you're on the latest Drupal 9 core release (currently 9.5.5) before updating to 10 will help smooth the process. You'll need to take a few steps to prepare your site before the Drupal 10 upgrade. Under the hood, Drupal 10 has bumped to Symfony 6.2, Guzzle 7.5, and Twig 3, among many others.Īdditionally, Drupal 10 requires Drush 11 or later. You should make these platform updates before starting the Drupal 10 upgrade. However, it does include some new features. Organizations are encouraged to embrace the improvements and advancements offered by Drupal 9, ensuring a future-proof and optimized digital presence.Like the jump from Drupal 8 to Drupal 9, there is no need to rebuild and migrate your data. Molly Duggan's blog post emphasizes the urgency and benefits of upgrading from Drupal 7 to Drupal 9. By partnering with a skilled project management team, organizations can streamline the upgrade process and ensure the preservation of valuable site data. To mitigate these challenges, Molly Duggan advises organizations to transition to Drupal 9 proactively. However, Drupal 7 is now considered outdated and clunky by modern standards, making the upgrade to Drupal 9 crucial for maintaining optimal website performance.Ĭontinuing to run websites on Drupal 7 poses risks of deteriorating performance, broken pages, and compatibility issues with outdated plugins and code. It's important to note that Drupal 9 was not designed to completely overhaul Drupal 7, which has been trusted for years to power websites. Although the process may require significant effort, it provides an opportunity to reimagine and improve the Drupal model. While migrating directly from Drupal 7 to Drupal 9 may present challenges, it is a necessary step that can significantly enhance the performance and efficiency of websites. Focusing on Drupal 9, the article provides valuable insights for organizations considering transitioning from Drupal 7.Ĭochran emphasizes that the time is ripe for those who haven't upgraded to Drupal 8 or 9 to seriously consider doing so before Drupal 7 reaches its official end-of-life in November 2023.Īpparently, the blog post was written before DrupalCon Pittsburgh, where it was announced that the EoL for D7 has been extended to January 05, 2025. Renowned digital agency Molly Duggan recently shared an informative blog post titled "When Should You Upgrade From Drupal 7" by Erik Cochran, shedding light on the significance of upgrading to Drupal 9.
0 Comments
Leave a Reply. |