• 2.0.2 c73e6b6e58

    v2.0.2 Stable

    javier released this 2026-06-05 11:33:01 +00:00 | 0 commits to main since this release

    2.0.2

    Release date: 2026-06-05

    Highlights

    • Translations added for Spanish (Spain) and Catalan.
    • WordPress minimum version corrected to 3.6 based on actual function usage.

    Changed

    • Minimum WordPress version updated from 4.1 to 3.6 (real minimum per wp-compat analysis: wp_unslash since WP 3.6).
    • Tested up to WordPress 7.1.
    • POT file regenerated via WP-CLI i18n — removed dead strings, corrected line references.
    • Deploy script no longer includes docs/ in the distributable ZIP.
    • Deploy script skips empty vendor/ directory when no production Composer dependencies exist.

    Added

    • Spanish (Spain) translation (es_ES).
    • Catalan translation (ca).

    Compatibility

    • WordPress: 3.6 - 7.1
    • PHP: 5.6 - 8.5

    Tests

    • PHP Coding Standards: 3.13.5
    • WordPress Coding Standards: 3.3.0
    • PHPStan: 2.2.2 (level 9)
    • PHPUnit: 9.6.34

    2.0.1

    Release date: 2026-06-05

    Highlights

    • Major bugfix release addressing three critical issues found during pre-deploy audit.

    Fixed

    • Context cache not resetting between emails in the same PHP process (affected WP-Cron and REST batch sends).
    • Duplicate Reply-To header injected when an existing Reply-To was present in the email.
    • Migration hook only running on admin_init — missed WP-CLI activations and automated deployments.
    • RFC 5322 display name quoting now applied only when the name contains special characters.

    Added

    • Developer filter wp_mail_replyto_context — override the detected email context.
    • Developer filter wp_mail_replyto_header — override or suppress the Reply-To header per email.
    • load_plugin_textdomain() registration for translation support on WordPress < 4.6.
    • DNS domain validation per context with user-friendly warning messages.
    • PHPUnit test suite (27 tests).
    • bin/deploy.sh build script.

    Changed

    • Admin CSS now registered via wp_register_style() + wp_add_inline_style().
    • enabled flag now handles boolean true in addition to string '1'.
    • Multibyte-safe name length truncation (mb_strlen/mb_substr).
    • CR-only header normalization added alongside CRLF.

    Security

    • sanitize_callback added to legacy option registrations (wp_mail_replyto_email, wp_mail_replyto_name).

    Compatibility

    • WordPress: 4.1 - 6.9
    • PHP: 5.6 - 8.5

    Tests

    • PHP Coding Standards: 3.13.5
    • WordPress Coding Standards: 3.3.0
    • PHPStan: 2.2.2 (level 9)
    • PHPUnit: 9.6.34
    Downloads