Install
Works with Drupal: ^9.2 || ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
First stable release of User Update Notify. It fixes several bugs from the betas, adds config schema and automated tests, and prepares the code for Drupal 12.
Drupal 9 support
This is the last release that supports Drupal 9. It supports Drupal 9.2+, 10 and 11. The next release adds Drupal 12 support and requires Drupal 10.1 or later. Drupal 9 has been end-of-life since November 2023, so sites still on it should upgrade core before upgrading this module.
Upgrading from 1.0.0-beta4
No database updates are needed. After upgrading, clear caches. If you use Target all fields except for the following, review your settings: before this release that option was ignored, so the module only tracked the selected fields. Notifications now cover every field except the selected ones and the module's built-in list of system fields.
Bug fixes
- #3631667: "Target all fields except" option is ignored: "Target all fields except" option is ignored. Exclude mode now works. Content translation metadata fields (
content_translation_*) are never tracked, so saving a translatable user no longer sends a notification on every save. Unchanged values that a form submits in a different shape, such as missing orNULLproperties or extra keys likeremove_button, no longer count as changes. - #3634892: hook_entity_update() fatals when the current user's account cannot be loaded: hook_entity_update() fatals when the current user's account cannot be loaded.
- #3631663: Missing config schema: Missing config schema.
Tasks
- #3631702: Replace deprecated $entity->original with getOriginal(): Replace deprecated $entity->original with getOriginal(). Uses
getOriginal()on Drupal 11.2+ and falls back to$entity->originalon older versions. - #3634905: Fix phpcs and cspell issues reported by GitLab CI: Fix phpcs and cspell issues reported by GitLab CI.
New features
- #3631700: Add automated tests: Add automated tests. Kernel and functional tests cover field comparison, both targeting modes, notifications and the settings form. GitLab CI runs them on the current, previous and next major Drupal versions.