Version 0.10.3
Breaking Changes
- Changed the exception raised when attempting to compare a non-singular filter query from
JSONPathSyntaxError
toJSONPathTypeError
.
Fixes
- Fixed handling of relative and root queries when used as arguments to filter functions. Previously, when those queries resulted in an empty node list, we were converting them to an empty regular list before passing it to functions that accept ValueType arguments. Now, in such cases, we convert empty node lists to the special result Nothing, which is required by the spec.
- Fixed well-typedness checks on JSONPath logical expressions (those that involve
&&
or||
) and non-singular filter queries. Previously we were erroneously applying the checks for comparison expressions to logical expressions too. Now non-singular queries in logical expressions act as an existence test. See #45.