Install

Works with Drupal: ^10 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 15.57 KB
MD5: 40d62f255355c067bfa6d98225764f86
SHA-1: 5278f5ca8bd6a0532724b7b9b260b132d6261a2c
SHA-256: c56fc98ae0d8e654d22b1ac2e916a8491ff77fdc94bbf6182d7ef268261fc6da
Download zip 21.54 KB
MD5: 5086f1793ee49cc0e3c9be4fe30b2102
SHA-1: 2f6bf0c3f35c7f906da22f667121bc55f5704d28
SHA-256: 97da74d6cbd77f280026831697e7274515eb98cc6fce4a9442bee1487b8f77a0

Release notes

This release fixes sanitizing on SQLite sites, corrects the module's declared Drush compatibility, and tidies up the codebase ahead of security advisory coverage review.

Changes in this release

  • SQLite support: subscriber email addresses are now anonymized using SQL that works on every SQLite version. Previously the module relied on CONCAT(), which SQLite only added in 3.44, so drush sql:sanitize could fail on sites using an older SQLite.
  • Drush 13 is now the declared requirement: earlier releases claimed Drush 11, 12, and 13, but the module uses Drush 13's sanitize API and has never worked on Drush 11 or 12. composer.json and the README now say Drush 13. Future Drush 14 support is tracked in #3.
  • Translatable messages: the success messages logged after sanitizing now pass literal strings to dt(), so they can be translated. The message text itself is unchanged.
  • LICENSE.txt is back in the repository, matching Drupal core's copy.
  • README follows the standard README template, with new Installation and Configuration sections.
  • Tests: the kernel tests now run against whichever database the test environment uses, rather than assuming MySQL.

Upgrading

No database updates or configuration changes are needed. Update with:
composer update drupal/simplenews_sql_sanitize

Sites on Drush 11 or 12 can't install this release, because Drush won't load the module's sanitize commands on those versions. The module never worked on them, so no site that had it running loses anything.

Issues resolved

  • #5: Correct supported Drush versions, add SQLite support, and restore LICENSE.txt ahead of security coverage review
Created by: matthand
Created on: 27 Sep 2026 at 18:31 UTC
Last updated: 27 Sep 2026 at 18:32 UTC
Bug fixes
New features

Other releases