Repository navigation
Releases: BouyguesTelecom/spl-envelop-plugin
Releases · BouyguesTelecom/spl-envelop-plugin
Release list
0.3.0
Filters that silently did nothing now work. Released as a minor rather than a patch:
queries that were returning unfiltered lists will start returning filtered ones.
Behaviour changes
- A directive under a list is applied. The response path holds field names only, so the walk
never crossed a list and@SPLnested below one was dropped with a warning. It now spreads over
every element. @SPLisrepeatable. Only the first directive on a field used to be applied; all of them
are now composed, in the order written. Backward compatible for a single usage.- An
{ items: [...] }envelope is supported. Itsitemsare filtered, the envelope kept. - Only the executed operation is walked, with fragments resolved in place. Documents holding
several operations or named fragments previously produced wrong paths.
Other
- One log line per directive instead of one per element: a list of 200 rows produced 201 debug
lines for a single directive. - Requires
@bouygues-telecom/spl@^0.1.17, whose recursive conversion and null-operand handling
are what make filtering on a nested sub-node work. - The test suite runs on every pull request, and the published tarball is signed with provenance.
Test suite: 5 to 48 tests.