Release v1.2.1 - 2016-03-31
- Minor change in require order.
1.2 (2016-03-30)
-
Errors caused by invalid function arguments normally raise
an arity or argument error. You can now preventJMESPath.search
from raising these errors by passingdisable_visit_error: true
.JMESPath.search(expression, data, disable_visit_errors: true)
This will cause these functions to return a null/nil value instead.
-
Fix for Ruby 1.9.3. Older versions of Ruby ship with a version of the json
gem that can not perform the following:JSON.load('1')
This results in the JMESPath library in assuming is parsing an unknown or
invalid token. This works fine newer versions of Ruby. To resolve this issue
the library is forcing a newer version of thejson
gem. -
Fix for boolean truthy checks.
See related GitHub issue #15. -
Updated code to pass the latest shared compliance tests.
-
Added support for the
map
function. -
Added support for JEP-9,
including unary filter expressions, and&&
filter expressions.