Install
Works with Drupal: ^8.9 || ^9Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
Drupal 9.3 compatibility; updating only existing content feature; temporary target; entity reference target refactored
This release adds compatibility with Drupal 9.3, replacing Zend components with Laminas components. This release is still compatible with Drupal 8, though the version requirement has been raised to Drupal 8.9 (the previous release required at least Drupal 8.8).
New features
There are also two new features visible in the user interface:
- A feature for only updating content, ignoring any new content
This feature already existed in the D7 version of Feeds for some time and has now been ported over to the D8/D9 version of Feeds. - A feature to map a source to a temporary target. This feature was part of Feeds Tamper in their D7 version. This is useful if you have a source field that you want to concatenate with another source field, but don't want to save the source field itself to a field target.
Refactoring in entity reference targets
A new service is added, called feeds.entity_finder, that takes over the responsibility for finding entities from the entity reference target. The reason that this service was added is that the upcoming Book target also needs the functionality for finding existing entities, so that functionality needs to be accessible outside of the entity reference target.
This refactoring could mean that FeedsTarget plugins that extend \Drupal\feeds\Feeds\Target\EntityReference need to be updated. For consistency with other methods, the parameters for its findEntity() method also have been swapped.
Next release (D8 support may be dropped)
The last beta blocker is close to completion, so the next release will hopefully be the first beta.
#2938505: Add UI for editing and removing custom (CSV) sources
In case it still takes a while to resolve the above issue, Drupal 8 support may be dropped in order to become compatible with Drupal 10. Drupal 10 is expected to be released in June next year.
Contributors (27)
MegaChriz, Odai Atieh, srilakshmier, darvanen, rkoller, irinaz, Webbeh, icampana, nireneko, jastraat, karishmaamin, sivamallareddy, Apnc, SocialNicheGuru, Chalk, thalles, Bahson, SpadXIII, jwilson3, diaodiallo, andileco, bsnodgrass, jcnventura, govind.maloo, dmundra, andypost, developerweeks
Changelog
Issues: 16 issues resolved.
Changes since 8.x-3.0-alpha10:
Bug
- #3224235 by MegaChriz: Fixed fatal error when trying to delete an orphaned feed (a feed whose feed type somehow no longer exists).
- #3159688 by dmundra, andypost, irinaz, MegaChriz: Send the default User-Agent witht the Http fetcher, if available.
- #3104727 by MegaChriz, developerweeks: Fixed cron import could fail with error "Call to a member function getPlugins() on null" when feed type no longer existed.
Feature
- #3241079 by Odai Atieh, MegaChriz, srilakshmier, darvanen: Added Drush command for importing all feeds: "feeds:import-all".
- #3049802 by icampana, MegaChriz, nireneko, jastraat, karishmaamin, sivamallareddy, Apnc, SocialNicheGuru, Chalk: Added support for Media RSS.
- #3022860 by thalles, srilakshmier, MegaChriz, darvanen: Show a message on how to get started with Feeds after installation.
- #3219744 by Bahson, MegaChriz: Make http fetch requests asynchronous.
- #3206138 by diaodiallo, MegaChriz, andileco, irinaz: Added a temporary target.
- #3206365 by MegaChriz, irinaz: Added an EntityFinder service and use it in entity reference targets.
- #3116987 by irinaz, MegaChriz, jcnventura, govind.maloo: Don't create new items, only update existing.
Task
- #3250611 by MegaChriz: Fixed tests for PHP 7.4 + D9.3.
- #2960836 by rkoller, irinaz, MegaChriz, Webbeh: Added a link to the documentation on the generic Feeds help page.
- #3152178 by SpadXIII, MegaChriz, jwilson3: Replaced Zend framework components with Laminas components.
- #3212289 by MegaChriz, bsnodgrass: Make "Please select a field to reference by." warning for an entity reference target stand out more.
- #3206367 by MegaChriz: Refactored entity reference unit tests: moved code for instantiating a target plugin to createTargetPluginInstance().
- #2919048 by MegaChriz: Don't mock procedural functions in FeedsUnitTestCase.php (and add wrapper methods in classes where these procedural functions are used).
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
- Targets for several field types: media field