Install
Works with Drupal: ^8 || ^9Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
JMESPath parser support + replaced abandoned flow/jsonpath with softcreatr/jsonpath
In this release the JMESPath parsers are finally working! The dependency flow/jsonpath, required for the JSONPath parsers, has been replaced with the library softcreatr/jsonpath. If you don't use Composer for managing dependencies (but use the module Ludwig instead), be sure to replace the library yourself.
Other changes include porting a few fixes that had been added to the 7.x-1.x version after the port to D8 had started.
Why this is an alpha release?
This is an alpha release because there's one thing missing in the UI: the ability to configure options for parser sources. For example, the option to interpret a XML source as raw XML. We hope to get this part of the UI done as soon as is possible.
There's a workaround available that adds these missing UI elements: #3019481: Keep html tags of inner element. The only issue is that it lets you configure the options for predefined sources as well, so just make sure you only set the options for XML sources.
In #2938505: Add UI for editing and removing custom (CSV) sources and #3209655: Integration with feeds custom source UI we're working on a definitive solution.
Contributors (7)
MegaChriz, irinaz, devad, tormi, Pooja Ganjage, novchuk.v, noahott
Changelog
Issues: 13 issues resolved.
Changes since 8.x-1.0-alpha4:
Bug
Support
- #3025848 by MegaChriz, irinaz: Added link to documentation that explains the Context field.
- #3139619 by MegaChriz: Fixed accepting JMESPath function expressions like "sort_by()" and "length()".
Task
- #3182058 by devad: Added support for Ludwig 8.x-1.6 - 8.x-1.8.
- #3222436 by MegaChriz: ParserBase class should extend \Drupal\feeds\Feeds\Parser\ParserBase
- #3219183 by MegaChriz: Simplify DOMDocument creation in XML Utility
- #3215299 by MegaChriz: JMESpath exceptions should be exposed to the user.
- #3215233: Add expression validation for JSONPath
- #3181642 by tormi, Pooja Ganjage, MegaChriz: Replaced abandoned flow/jsonpath with softcreatr/jsonpath.
- #3215298: Allow "empty" context "@" for JMESPath parser
- #2997320 by MegaChriz: Added JS tests for JMESPath and QueryPath parsers.
- #2997316 by MegaChriz: Added basic mapping tests for all parsers and added JS tests for the JSON Lines JSONPath parser.
- #3154763 by novchuk.v: Replace assertEqual() or assertSame() on two calls to count() with assertCount().