Drupal 10.0.0-beta1 is Now Available

A computer terminal running code
Unsplash

Drupal 10.0.0-beta1 was released on 17th September 2022 for you to test compatibility and upgrade paths for Drupal 10.0. This release is not intended for production. According to the release notes, the 10.0.x branch also includes all the latest commits that will be backported to 9.5.x and earlier branches. 10.0.x will be nearly identical to 9.5.x except that deprecated code will be removed, including entire deprecated modules and dependencies will be updated to new major versions as appropriate.

It is important that you update to the latest release of 9.4 prior to updating to Drupal 10. The changes include:

  • Platform Requirement Changes
    • PHP 8.1 or higher is recommended.
    • Drupal 10's PostgreSQL database driver requires PostgreSQL12 with the pg_trgm extension enabled.
    • Drupal 10's SQLite database driver requires SQLite 3.26 with the json1 extension.
    • Internet Explorer 11 is no longer supported.
    • Older versions of UC browser are no longer supported.
    • Composer 2.3.6 is required.
  • Multiple core modules and themes have been removed from core and moved to contributed projects.
    • The Aggregator module has been removed from Drupal 10 and is available as the Aggregator contributed module.
    • The old CKEditor module has been removed from core in Drupal 10 and is replaced by a new "CKEditor 5" module that integrates with CKEditor 5.
    • The Color module has been removed from Drupal 10 and is available as a contributed module.
    • HAL has been removed from Drupal 10.0 and moved to a contributed project.
    • The Quick Edit module has been removed from Drupal 10 and moved to a contributed project.
    • The RDF module has been removed from Drupal 10 and moved to a contributed project.
    • It is suggested to uninstall Entity Reference and Migrate Drupal Multilingual module.
    • Bartik, Seven, Classy and Stable have been removed from the Drupal core and are now available as a contributed theme.
  • Composer 2.2 requires Composer projects to authorize individual plugins.
  • API changes:
    • hook_entity_view_mode_alter() no longer receives the $context argument, which was always an empty array.
    • Code that extends Symfony's Serializer component has been updated with stricter typehints and an additional argument for compatibility with Symfony 6.1 and future releases.
    • Per-table prefixing has been removed.
    • SimpleTest support has been removed from the core test runner.
    • Ajax commands can now return promises when they need to ensure some code has been executed before executing the next Ajax command in the list.
    • The off-canvas dialog’s CSS has been completely refactored in Drupal 10.0.0.
    • JavaScript errors in tests are now caught and raised as test failures.
    • _serviceId property no longer added to container services.
  • Backend (PHP) dependency changes:
    • Drupal core now has a direct dependency on the guzzlehttp/psr7 package since it is used for the default implementation of several core services for PSR-17.
    • The following dependencies have been removed from Drupal core:
      • Diactoros: PSR-7, PSR-17, and PSR-18 functionality is now provided by guzzlehttp/psr7.
      • Laminas Feed
      • symfony-cmf/routing
      • EasyRDF
      • symfony/translation
      • TYPO3/phar-stream-wrapper: this library is only needed for PHP 7.3 and earlier.
      • doctrine/reflection: Relevant APIs were previously moved to Drupal core.
      • stack/builder: The functionality is now provided by a core API. The http_kernel service's functionality is unaffected by this change.
    • Twig has been updated from 2.x to 3.x.
    • psr/log has been updated to version 3.
    • guzzlehttp/guzzle 7.5 and guzzlehttp/psr7 2.4 are now required.
    • egulias/email-validator has been upgraded to 3.2.1. Support for 2.1 is removed as the version is no longer supported by the upstream project.
    • asm89/stack-cors has been updated from version 1.3.0 to 2.1.1.
    • psr/cache has been updated from 1.0.1 to 3.0.0, and psr/container has been updated from 1.1.1 to 2.0.2.
    • Drupal core's pinned Composer dependency versions have been updated for the latest minor and patch releases and, where appropriate, constraints have been increased to require the latest minor versions.
  • Frontend (CSS and JavaScript) dependency changes:
    • The public Backbone and Underscore core libraries have been removed, and the JavaScript dependencies are deprecated and for internal use only.
    • Drupal 10 deprecates all polyfill libraries in Drupal 10 and removes the files.
    • The Farbtastic library has been removed from Drupal core with no replacements.
    • The jQuery Joyride third-party JavaScript library has been removed as a core dependency.
    • The third-party PopperJS JavaScript library has been removed as a core dependency. It was used only by Quick Edit, which has been removed from core. If you need to use it, you should define the library in a custom module.
    • tabbable has been updated to 6.0.0.
    • The Shepherd.js JavaScript package has been updated to 10.0.1.
    • jQuery has been updated from 3.6.0 to 3.6.1.
    • The internal version of Underscore has been updated from 1.13.3 to 1.13.4.
  • Development dependencies:
    • The JavaScript ES6 build process has been removed.
    • Node.js is a required development dependency for Drupal core.
    • The PHPStan static analysis tool has been added to Drupal core's development dependencies and is run against all core patches and merge requests.
    • PHPUnit has been upgraded from 8.5.21 to 9.5.24, and all its sub-packages have been updated.
    • Drupal 10 development now requires composer/installers version 2.0 or higher (up from version 1.9).
    • Drupal core's JavaScript and PHP development dependencies have been updated to the latest versions.
    • Core developers should completely remove their node_modules directory and re-run yarn install from within the core/ directory.
    • The Nightwatch testing library has been updated to version 2.1.3.
    • The Stylelint development dependency has been updated to version 14, and minor changes have been made to whitespace and quoting in core CSS.
    • stylelint-config-standard, which enforces Drupal's CSS style, has been upgraded from 23.0.0 to 28.0.0.
    • cspell has been updated from version 5 to 6. This results in some slight changes to the dictionary for core development.
    • Chalk has been removed as a JavaScript development dependency.
    • glob has been updated from version 7.1.2 to 8.0.3.
    • PostCSS has been upgraded from 7.0.39 to 8.4.16.
    • eslint-plugin-yml, the YAML style checker for ESLint, has been upgraded from 0.14.0 to 1.2.0.
    • The jsdom development dependency has been updated from 18.1.1 to 20.0.0.
    • The ESLint JavaScript development dependency has been updated to version 8.9.0. core/.eslintrc.passing.json has been updated to reflect the new rules.
    • The Chromedriver JavaScript development dependency has been updated from 87.0.0 to 98.0.1.

For More Details and Source:

Note: The vision of this web portal is to help promote news and stories around the Drupal community and promote and celebrate the people and organizations in the community. We strive to create and distribute our content based on these content policy. If you see any omission/variation on this please let us know in the comments below and we will try to address the issue as best we can.

Advertisement Here

Upcoming Events

Latest Opportunities

Advertisement Here

Call for Support