Skip to content

Releases: jg-rp/python-jsonpath-rfc9535

Version 0.1.5

17 Mar 15:59
Compare
Choose a tag to compare

Fixes

  • Fixed "unbalanced parentheses" errors for queries that do have balanced brackets. See #13.

Version 0.1.4

04 Feb 08:57
Compare
Choose a tag to compare

Fixes

  • Fixed normalized paths produced by JSONPathNode.path(). Previously we were not handling some escape sequences correctly in name selectors.
  • Fixed serialization of JSONPathQuery instances. JSONPathQuery.__str__() now serialized name selectors and string literals to the canonical format, similar to normalized paths. We're also now minimizing the use of parentheses when serializing logical expressions.
  • Fixed parsing of filter queries with multiple bracketed segments.

Version 0.1.3

05 Aug 06:51
Compare
Choose a tag to compare

Fixes

  • Fixed decoding of escape sequences in quoted name selectors and string literals. We now raise a JSONPathSyntaxError for invalid code points.
  • Fixed parsing of number literals with an exponent. We now allow 'e' to be upper case.
  • Fixed handling of trailing commas in bracketed segments. We now raise a JSONPathSyntaxError in such cases.
  • Fixed handling of invalid number literals. We now raise a syntax error for invalid leading zeros and extra negative signs.

Version 0.1.2

14 May 15:14
Compare
Choose a tag to compare

Fixes

  • Handle end of query when lexing inside a filter expression.
  • Check patterns passed to search and match are valid I-Regexp patterns. Both of these functions now return LogicalFalse if the pattern is not valid according to RFC 9485.

Version 0.1.1

17 Mar 19:03
Compare
Choose a tag to compare

Initial release.