Install
Works with Drupal: ^8 || ^9Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
peekmo/jsonpath replaced by flow/jsonpath - added Ludwig support
Fix for SA-CONTRIB-2019-083.
Due to a security issue in the peekmo/jsonpath library, this library has been replaced by the flow/jsonpath library. If you don't use the JSONPath parser in your Feeds importers, then there's nothing you need to do. If you manage your site with Composer, then the library should already be replaced for you. In this case you also don't have to take action.
If you don't use Composer to manage your site, you can install it in the following two ways:
- Require it with Composer:
composer require flow/jsonpath:~0.3 - Install the Ludwig module and go to /admin/reports/packages for further instructions.
See also the README.md file.
Support for the Ludwig module is added
If you can't use Composer for whatever reason, starting from this release you can install the libraries using the Ludwig module. The following libraries can be installed this way:
- flow/jsonpath for the JSONPath parsers;
- querypath/QueryPath for the QueryPath parsers;
- mtdowling/jmespath.php for the JMESPath parsers - do note that the JMESPath parsers are not fully ported yet.
Known issues
The JMESPath parsers are not fully ported yet. You may run into errors when using these parsers. To import JSON files, use the JSONPath parsers instead.
See #2995696: Runtime Error for JMESPath.
Contributors (9)
MegaChriz, Chandru Ranganathan, Deeksha B, jamesdixon, Thangaraj Moorthi, Roman Dyn, thalles, chipway, alonaoneill
Changelog
Issues: 14 issues resolved.
Changes since 8.x-1.0-alpha2:
Security
- by MegaChriz: replaced peekmo/jsonpath with flow/jsonpath.
Feature
- #2994744 by MegaChriz: Added support for Ludwig.
- #1998398 by Thangaraj Moorthi, MegaChriz: Added option to decode HTML entities in XML.
- #1517642 by Thangaraj Moorthi: Ported Strip ASCII characters below 32.
Task
- #2997318 by MegaChriz: Added UI test for the Html parser.
- #3023266 by MegaChriz: Hide empty parser config forms.
- #3097378 by MegaChriz: Replaced usage of deprecated FeedsAnnotationFactory with ContainerFactoryPluginInterface implementations.
- #3097368 by Chandru Ranganathan, MegaChriz, Deeksha B, jamesdixon: Fixed all deprecations up to D8.7.
- #3102905 by MegaChriz: Added Ludwig support for QueryPath library.
- #3035108 by Roman Dyn: Replaced deprecated SafeMarkup::checkPlain().
- #3027374 by thalles: Fixed use short array syntax.
- #3033525 by MegaChriz: Repaired unit tests caused by changes in Feeds issue #3015687.
- #3000334 by chipway, alonaoneill: Apply new {project}:{module} format for dependencies in info.yml.
- #3015786 by MegaChriz: Require dev version of Feeds for tests.