Install
Works with Drupal: ^10.1 || ^11 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
64.17 KB
MD5: 63dab0a143f53282fde5df57c80b3189
SHA-1: b30f66dcc81ac4b2f51a6d199953356d6e043d4c
SHA-256: fb5cf6f8aa8ac510e0aff93ed61f348e47af31fc800050281bf4e59ef142a887
Download zip
119.19 KB
MD5: 7691bc5186fb8c9e7b54b2ea97e0c16d
SHA-1: 307e8b775926c45a501b800c233130beb1be7d10
SHA-256: cbfe33817372169decd7d765525eda8624d6f52b6159c9ed486b15b57e012c7d
Release notes
Bug fixes, Drupal 12 readiness and a stricter test setup since alpha3. Still supports Drupal 10.1 and up.
Bug fixes
- Clearing the owner of a campaign no longer throws an integrity constraint violation. Campaigns, conversions and clicks saved without an owner now belong to the anonymous user, the same way core handles nodes and media.
- #3571132: Throwing hook dispatcher error into the log: Fixed a TypeError when
hook_event_dispatcherdecorates the module handler. The config factory is now type-hinted to its interface for the same reason. - The approve and cancel operations on the conversion list now carry their cache metadata, so they vary by permission and update when a conversion is approved or canceled.
New
- Views reverse relationships from users to their affiliate clicks, conversions and campaigns.
- Config schema for the third party settings affiliate_commerce adds.
Drupal 12 readiness
- #3595232: Automated Drupal 12 compatibility fixes for affiliated 1.0.x-dev: Automated Drupal 12 compatibility fixes.
- Entity types and the parent entity views field have attributes next to their annotations. Drupal 11.1 and later read the attributes; Drupal 10 and 11.0 keep reading the annotations.
- Native return types on the methods core will type in Drupal 12, and the optional
$cacheabilityparameter ongetDefaultOperations(). - Removed
drupal_static(), which is deprecated in Drupal 11.5.
Testing
- Drupal 12 compatibility is now tested.
- Fixed the tests on Drupal 11.4.
- Added tests for the empty-owner fix.