Install
Works with Drupal: 8.xUsing Composer to manage Drupal site dependencies
Alternative installation files
Release notes
In this release lots of bugs have been fixed, including ones that did cause fatal errors!
Database update for setting field dependencies
One of the bugs that were fixed was that deleting a field used in mapping caused the mapping page and the import to crash. This is fixed by declaring dependencies on fields that are used in mapping. There is a database update to resave all feed types so these dependencies get calculated for all your feed types. Now when you delete a field, the feed type will be automatically updated: the mapping to that field is removed.
New features
There are also two big new features in this release:
-
A generic content entity processor
This allows you to import content for a whole lot more content entity types! Please note that for some exotic entity types you could run into errors, despite that testing has been done with various entity types.
Details: #2958150: Create custom ECK entities via Feeds -
FeedsSource plugins
With this type of plugin you can add in additional sources, above the "main" source. Feeds provides one source plugin that allows you to use feed type fields as mapping sources.
There is one issue with this feature and that is that applying Tamper plugins on these sources don't have effect yet.
Details: #2911491: Provide feeds type fields as mapping sources
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.
Missing features
The most notable missing features are:
- #2867761: Multilingual support
- An UI for edit/remove custom sources: #2938505: Add UI for editing and removing custom (CSV) sources
- Drush commands
- Feeds import preview
- An option to only update existing items (not creating new items)
- Targets for several field types: language, media field, path alias, user password, user roles
Changes since 8.x-3.0-alpha1:
Bug
- #2820548 by MegaChriz: Fixed fatal error when triggering Feeds via cron that was caused by having a task of a deleted feed type still in the queue.
- #2977927 by MegaChriz: Added a database update to calculate field dependencies for each feed type (follow-up to #2854914).
- #2787565 by MegaChriz, mikran: Fixed missing config dependency to the bundle of the entity type created.
- #2854914 by MegaChriz, wolffereast, vijay.mayilsamy: Fixed deleting field results into a fatal error by adding a dependency on each target field.
- #2973836 by MegaChriz: Fixed TypeError when leaving source empty for a target.
- #2951965 by wolffereast, MegaChriz, mikran, HongPong, andypost: Fixed fatal error during import: FormattableMarkup::__toString() must not throw an exception.
- #2772595 by MegaChriz, wolffereast, veronicaSeveryn: Fixed importing empty value for file or image fields.
- #2803057 by MegaChriz, cgmonroe: Fixed expire feature deletes all imported items.
- #2956930 by mikran, MegaChriz: Fixed assert() warning: Calling assert() with a string argument is deprecated.
Feature
- #2958150 by MegaChriz: Added generic entity processor.
- #2911491 by MegaChriz, PunamShelke, andypost: Fixed provide feeds type fields as mapping sources.
- #2968559 by MegaChriz: Added admin links for admin toolbar.
- #2967631 by MegaChriz: Added a "Mapping" operation to the feed type overview.
- #2962725 by Anybody, MegaChriz: Added Feeds target for Telephone field.
Other
- #2939688 by MegaChriz: Fixed more coding standards.
- #2978407 by MegaChriz: Fixed risky test Feeds.Drupal\Tests\feeds\Unit\Feeds\Target\UriTest.
- by MegaChriz: updated phpunit.xml.dist for running unit tests with test coverage report.
- #2977935 by MegaChriz: Fixed tests for PHP 5.5 D8.6.
- #2940280 by MegaChriz: Added test coverage for the file target's 'target_id'.
- by MegaChriz: added assets for issues #2772595 and #2940280.
- #2967641 by MegaChriz: Created trait for certain mocking methods from FeedsUnitTestCase.
- #2966684 by MegaChriz: Implemented FeedImportHandler::startCronImport().
- #2966515 by MegaChriz: Added test coverage for display a field validation error.
- #2960318 by mikran, MegaChriz: Added docs for \Drupal\feeds\Plugin\Type\Target\TargetInterface.