CMS Drupal 11.2 brings improved performance, OOP support of hooks, JSON Schema, and more
Drupal 11.2 introduces major performance improvements, with installation of Drupal core and extensions now three to four times faster due to optimizations in container rebuilding and the installer. Alongside this, the default CSS delivered to every page has been drastically reduced, dropping from approximately 7 KB to just 1 KB, thanks to component-based CSS organization and conditional loading. These changes improve bandwidth use and page rendering times for all users working with this popular content management system (CMS).
While performance sees the biggest gains, Drupal 11.2 also increases flexibility for developers. The last remaining APIs that required .module files may now be implemented using object-oriented hooks, marking the culmination of Drupal's transition to object-oriented programming for its APIs. Additionally, Drupal core can now generate JSON Schemas for content entity types. The typed data, serialization, and field APIs now support creation of field-level schemas customized to their storage configuration, supporting improved API integrations.
On the media front, Drupal 11.2 adds support for AVIF images with fallback to WebP format, offering modern and bandwidth-efficient image options. Following these enhancements, the release also provides navigation improvements, unpacked recipe dependencies, updated workflow support in the Update Status module, cache efficiency improvements, and compatibility with PHPUnit 11. Drupal 10.5 has also been released as the next maintenance update for those still using the Drupal 10 series.