Install

Works with Drupal: 8.x

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 1012.65 KB
MD5: 0ec914a4b717b3644979ccec6a0e0d2d
SHA-1: 898903450602201586876a86561917d2a15dfd51
SHA-256: 036cdd62df1a28638028ee4d1c524b673bf9e23237b1d5d80b3c254a4fbe5886
Download zip 1.21 MB
MD5: 4eb35bc06859f2778adb98f1fd65c07e
SHA-1: b12f18aa27e2aa8ef291b127f119065a62847ac5
SHA-256: 299c867d6f3391397188f11432f40dc967b3d1dfa16f74ab175c79ba54553378

Release notes

Content translation support - Small BC breaks - Refactored FeedImportHandler and FeedRefresh

This release requires at least Drupal 8.7.0. The next release will require at least Drupal 8.8.0. This release is not compatible with Drupal 9.

Content translation support

Support for importing content translations has finally be added! You can now either configure on the target or on the processor in which language you want to import values. Configure it on the processor if the language for all source values is the same, configure it on the target if the language differs per target. You can also configure the language on both, then the language configured on a target overrides the language configured on the processor.

Content translation imports has been tested for various cases, but since it was a complex thing to add, we do expect issues to arise in some cases. One issue has been noticed when using the target "Language (langcode)": #3126351: A translation already exists for the specified language. The question yet to answer is how this issue exactly occurs.

Small BC breaks

In order to fix all deprecations up to Drupal 8.7.0, there are some backwards compatibility breaks. These breaks were announced in the release notes of 8.x-3.0-alpha6 and are related to the removal of the usage of the deprecated @entity.query service. This service was used by Feeds processors and the file target. Pay extra attention if you've one of the following Feeds plugins in your modules:

  • Processor plugins that extend \Drupal\feeds\Feeds\Processor\EntityProcessorBase
  • Target plugins that extend\Drupal\feeds\Feeds\Target\File

The probably simplest solution is removing references to services in the plugin annotation:

 *   arguments = {
 *     "@entity_type.manager",
 *     "@entity.query",
 *     "@entity_type.bundle.info",
 *   },

In other cases you may also need to make changes to the plugin's constructor if you were overriding that.
See also the change record.

Refactored FeedImportHandler and FeedRefresh

In order to streamline the import process for all workflows (batch import, cron import, push import), FeedImportHandler and FeedRefresh have been refactored. If you were extending/overriding these classes then pay close attention. The module Feeds Dependency overrides FeedImportHandler, but after inspecting its code it looks like the module is not negatively affected by this refactoring.
See also the change record.

Other notable changes

  • Deprecated actions used by the 'Previously imported items' setting have been replaced. There's a database update to update this configuration.
  • A new database table called 'feeds_clean_list' is added, to (hopefully) fix the bug of entities getting removed/unpublished unexpectedly in some cases.
  • The getSummary() method in target plugins may now return an array. You may even need to call its parent because of the addition of content translation support.

Known issues

The Expire feature is broken since 8.x-3.0-alpha7.
#3193092: Expire functionality broken

Next release

The next release will focus on making the module Drupal 9 compatible by fixing deprecations that were introduced in Drupal 8.8.0. We aim to release it before June 3, 2020, when Drupal 9.0.0 is released.

Contributors (31)

MegaChriz, artematem, mistermoper, pvbergen, BarisW, arskiainen, FrancescoQ, matthieu_collet, inst, toprak, fbreckx, qdoscc, bibo, artis.bajars, le72, Flodevelop, yurg, westerix, mikran, thalles, karenann, boinkster, srinithya, andrey.troeglazov, Boardwalk30, Devendra Mishra, Thangaraj Moorthi, andypost, e.bogatyrev, sean_e_dietrich, Dropa

Changelog

Issues: 24 issues resolved.

Changes since 8.x-3.0-alpha6:

Bug

Feature

Task

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:

Beta blockers and beta targets

Created by: megachriz
Created on: 16 Apr 2020 at 12:34 UTC
Last updated: 22 Jan 2021 at 10:45 UTC
Bug fixes
New features

Other releases