Skip to content

Release v1.2 - 2016-03-31

Compare
Choose a tag to compare
@trevorrowe trevorrowe released this 31 Mar 06:36
· 90 commits to main since this release

References: #11

  • Errors caused by invalid function arguments normally raise
    an arity or argument error. You can now prevent JMESPath.search
    from raising these errors by passing disable_visit_error: true.

    JMESPath.search(expression, data, disable_visit_errors: true)
    

    This will cause these functions to return a null/nil value instead.

    See related GitHub issue #10.

  • 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 the json gem.

    Fixes GitHub issue #11.

  • 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.