- Add support for Python 3.11 (issue #285)
- Fix boolean correctness for floats (issue #281)
- Fix Python 3.9 warning about random sampling used in parser cache. (issue #216)
- Fix Python 3.8 warning for type comparisons (issue #210)
- Drop support for Python versions less than 3.7 (including Python 2). (issue 268)
- Python 2.6 and 3.3 have reached end-of-life and have been deprecated. (issue 175)
- Fix race condition when clearing cached parsed expressions. (issue 197)
- Fix syntax warnings on python 3.8 (issue 187)
- Fix issue where long types in py2 and
Decimal
types were not being evaluated as numbers (issue 125) - Handle numbers in scientific notation in
to_number()
function (issue 120) - Fix issue where custom functions would override the function table of the builtin function class (issue 133)
- Fix regression when using ordering comparators on strings (issue 124)
- Raise LexerError on invalid numbers (issue 98)
- Add support for custom functions (#100) (issue 100)
- Fix ZeroDivisionError for built-in function avg() on empty lists (#115) (issue 115)
- Properly handle non numerical ordering operators (#117) (issue 117)
Add support for new lines with tokens in an expression
Add support for JEP 9, which introduces "and" expressions, "unary" expressions, "not" expressions, and "paren" expressions
Fix issue with hardcoded path in
jp.py
executable (issue 90,
- Improve lexing performance (issue 84)
- Fix parsing error for multiselect lists (issue 86)
- Fix issue with escaping single quotes in literal strings (issue 85)
- Add support for providing your own dict cls to support ordered dictionaries (issue 94)
- Add map() function (issue 95)
- Rename
bin/jp
tobin/jp.py
- Fix issue with precedence when parsing wildcard projections
- Remove ordereddict and simplejson as py2.6 dependencies. These were never actually used in the jmespath code base, only in the unit tests. Unittests requirements are handled via requirements26.txt.
- Add support for JEP-12, raw string literals
- Support .whl files
- Implement JEP-10, slice projections
- Fix bug with filter projection parsing
- Add
to_array
function - Add
merge
function - Fix error messages for function argument type errors