Install
Works with Drupal: ^11.4 || ^12Using 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_migrateanddomain_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: useexecuteInDomain()instead ofinDomain()andenterDomain()instead ofenter()(#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_linkitno longer usesdrupal_static(), anddomain_ssologs users in through core'sLoginFinalizeron Drupal 11.5 and later. - Every bug fix released in 3.1.0-beta1 is also in this release.
Contributors (1)
Full list of changes: 4.x commit history.