Install
Works with Drupal: ^8.8 || ^9Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
Drush support; targets for entity ID, user role, password
Drush support
Feeds now supports several drush commands:
- feeds:import - for running an import for a single feed
- feeds:list-feeds - for displaying all feed entities
- feeds:enable - for enabling a feed for periodic import
- feeds:disable - for disabling a feed for periodic import
- feeds:lock - for locking a feed, disallowing to run any imports
- feeds:unlock - for unlocking a feed, use only when the import abruptly ended
Target for entity ID (and other read-only fields)
You can now map to the entity's ID, like node ID or user ID. Since for most entities this is a read-only field, you cannot change the ID for existing entities. But you can use it as the unique field when updating entities.
As a result, other fields marked as read-only now also are available as targets. Just as for the ID target, you can only set a value for them upon creation of an entity.
User role target / config entity reference target
When importing users, you can now import roles for these users. By default, roles that the source did not specify are not revoked. For security reasons, you can also configure which roles the source may provide. It would for example be a good idea to not allow the source to set the administrator role for users, unless you are sure that the source can be trusted.
Since user roles are config entities, targets for fields referencing other config entities are now also available.
Next release
The next release is expected to be the first beta release, because there is only one beta blocker left:
#2938505: Add UI for editing and removing custom (CSV) sources
We're aiming to release it in April/May 2021.
Contributors (38)
MegaChriz, Anas_maw, Yasser Samman, mikhailkrainiuk, dariogcode, drupalisme, fmueller_previon, moshe weitzman, andypost, thedrupalkid, afagioli, andyrigby, PierreRicci, tyler-durden, afireintheattic, icampana, vijay.mayilsamy, rcodina, saranya ashokkumar, boabjohn, kierduros, Taiger, kclarkson, nevergone, liquidcms, irinaz, adityasingh, damondt, lobodacyril, alayham, Anybody, jamesdixon, tanubansal, govind.maloo, djdevin, glynster, miroslav-lee
Changelog
Issues: 16 issues resolved.
Changes since 8.x-3.0-alpha9:
Bug
- #3193092 by MegaChriz: Partly restored the Expire feature (only when running imports through the UI).
- #2977565 by MegaChriz, andyrigby, PierreRicci, tyler-durden, afireintheattic, icampana: Unable to download image from RSS feed when it contains a query string.
- #3171339 by MegaChriz, liquidcms, irinaz: Allow to delete a feed that has imported items.
- #3173942 by MegaChriz, adityasingh, damondt, lobodacyril: FieldTargetDefinition should respect a custom set property label and description.
- #2969617 by MegaChriz, Anybody: Throw a more detailed error when a target plugin is not found in FeedType::getTargetPlugin().
- #3155046 by MegaChriz, djdevin, glynster: Fixed single value importing for non-translatable fields.
Feature
- #3060930 by MegaChriz, fmueller_previon, moshe weitzman, andypost: Added Drush commands.
- #2950836 by Anas_maw, Yasser Samman, MegaChriz, mikhailkrainiuk, dariogcode, drupalisme: Added a mapping target for user password.
- #2933361 by MegaChriz, vijay.mayilsamy, rcodina, saranya ashokkumar, boabjohn, kierduros, Taiger, kclarkson, nevergone: Added a mapping target to user role.
- #3178855 by MegaChriz: Added support for parsing "updated" timestamp from an atom feed.
- #3181304 by alayham: Improved status message for sites that have many feeds.
- #3181081 by alayham: Added theme template suggestions for feeds_feed entities.
- #2989279 by MegaChriz, jamesdixon, tanubansal, govind.maloo: Added a target to entity ID (and added support for other read-only fields too).
- #3163927 by MegaChriz, miroslav-lee: Added support for Pathauto.
Task
- #3195717 by MegaChriz: Fixed failing tests for PHP 7.4/D9.2.
- #3166674 by thedrupalkid, afagioli, MegaChriz: Added description for "Active" checkbox on the feed form.
Missing features
This being an alpha release means that not all features from the D7 version of Feeds have been ported yet. You may also run into some bugs.
The most notable missing features are:
- #2938505: Add UI for editing and removing custom (CSV) sources
- Feeds import preview
- #3116987: Don't create new items, only update existing (D8)
- Targets for several field types: media field