Install

Works with Drupal: ^10 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 120.31 KB
MD5: 006d59fcac945006aaeae14501006992
SHA-1: 7f08f52bd18c49136d1474b1d79f1b71891e0853
SHA-256: 04a937816acf0833c40329fa12c9b765e115ff37fed0d6b0173095cd50bf13d8
Download zip 174.99 KB
MD5: 5a2a9b1936b6044576708c8a8688e1ef
SHA-1: f52a50c62036142a14ba18cd4d0447a30d741b3e
SHA-256: 9937a4554068576f1c1cdac6371f34e4bb4602aaa0aa83de6fca243721a6936d

Release notes

Version 1.0.2 is a security and bug fix release addressing issues found during post-release review of 1.0.1.

## Security Fixes

### Plan enable/disable CSRF vulnerability (P0 — Release blocker)
The plan enable and disable administrative routes previously accepted any HTTP method, including GET, without CSRF token protection. Both routes now require POST method and a valid CSRF token, matching the security pattern used by membership lifecycle routes.

## Bug Fixes

### Event subscriber not registered (P1)
The MembershipLifecycleMailSubscriber was missing from services.yml, meaning no email notifications were sent at runtime. The service is now properly registered with the event_subscriber tag.

### Incomplete event coverage (P2)
Email notifications now cover all 6 lifecycle events. Added handlers and templates for MembershipSuspendedEvent and MembershipAutoRenewedEvent, plus configuration settings (notify_on_suspension, notify_on_auto_renewal) with defaults of true.

## Upgrade Notes
Two new configuration settings are added with defaults of true: notify_on_suspension and notify_on_auto_renewal. No breaking changes.

## Files Changed
- membership_manager.routing.yml
- membership_manager.services.yml
- src/EventSubscriber/MembershipLifecycleMailSubscriber.php
- src/Service/MembershipMailer.php
- membership_manager.mail.inc
- config/schema/membership_manager.schema.yml
- config/install/membership_manager.settings.yml
- CHANGELOG.md

Created by: darkdim
Created on: 20 Nov 2026 at 09:26 UTC
Last updated: 20 Nov 2026 at 09:26 UTC
Bug fixes

Other releases