Install

Works with Drupal: ^11.4 || ^12

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 173.35 KB
MD5: eb7bcdd6cce0b28927465dfa8645e3b0
SHA-1: 31d0ea51e96e5f566402c3d8757e3188036df5da
SHA-256: 0f3cb98bdad1bb5cc585ce47c2a0a552d64da72fb6d4a05b8a7dc7123b2afb67
Download zip 247.73 KB
MD5: 3675b379a2c9716441cfa9dc0874efa2
SHA-1: df79ecc28b68c7788cdfce87c94d9ecad1eff16b
SHA-256: 115e9446234a57df81addc49a2ec065aedbe7ae867cc8290665cfae749165633

Release notes

First release of the 4.x branch, for Domain 4.x on Drupal 11.4 and Drupal 12. It has the same features as 3.1, without the code 3.1 deprecated and without the Drupal 7 migration submodules.

Alpha releases are not covered by the Drupal security advisory policy. Sites that need that coverage should stay on 3.0.x.

Requirements

  • Drupal ^11.4 || ^12.
  • Domain 4.x. Sites on Domain 3.x should stay on Domain Extras 3.0.x or 3.1.x.

Upgrading from 3.x

Update Domain to 4.x and Domain Extras to 4.x together. Before you update, make sure your custom code runs on Domain Extras 3.1.0-beta1 without deprecation warnings from it: everything 3.1 marked as deprecated for removal in 4.0.0 is gone.

What changed from 3.1

  • Removed the Drupal 7 migration submodules, domain_migrate and domain_access_migrate (#3618606). Drupal 12 deletes core's Drupal 6 and 7 migrate source plugins, so they cannot work there. Migrate from Drupal 7 with the 3.x branch first.
  • Removed the methods 3.1 deprecated in domain_render_context: use executeInDomain() instead of inDomain() and enterDomain() instead of enter() (#3619281).
  • Hooks are object-oriented only: the procedural #[LegacyHook] copies kept for older cores are gone (#3618606).
  • Drupal 12 compatibility (#3618606, #3619328, #3619331), including replacing the APIs Drupal 11.5 deprecates: domain_access_linkit no longer uses drupal_static(), and domain_sso logs users in through core's LoginFinalizer on Drupal 11.5 and later.
  • Every bug fix released in 3.1.0-beta1 is also in this release.

Contributors (1)

mably

Full list of changes: 4.x commit history.

Created by: mably
Created on: 21 Oct 2026 at 21:37 UTC
Last updated: 21 Oct 2026 at 22:00 UTC
Bug fixes
New features

Other releases