Releases: jmespath/jmespath.rb
Release v1.6.2 - 2022-11-25
Release v1.6.1 - 2022-03-07
- Issue - Use
JSON.parse
instead ofJSON.load
.
Release v1.6.0 - 2022-02-14
- Feature - Add support for string comparissons.
Release v1.5.0 - 2022-01-10
-
Support implicitly convertible objects/duck-type values responding to
to_hash
andto_ary
.
Release v1.4.0 - 2018-04-04
References: #40, #41, #42, #44
-
Update the bundled compliance tests. Fix the 6 failing test cases that result
from updating the test suite. Test failures included parsing errors and
returning nil when comparing non-nil values. -
Fix typo of a license name in gemspec.
-
Test against Ruby 2.4 in Travis.
-
Add support for floating point comparisons.
Release v1.3.1 - 2016-07-18
References: #36
- Bug fix for users that have a 2.0.1+ version of the
json_pure
gem loaded
in their environment prior to requiringjmespath
.
Release v1.3.0 - 2016-07-07
References: #24, #29, #31, #35
-
Restored support for legacy unquoted string literals.
-
Improved error handling for invalid JSON values.
-
Optimised false checks.
-
Removed depdendency on
pure_json
gem. Necessary code changes have been
made to ensure things work properly with Ruby 1.9.3 and JSON 1.5.5. -
Bug-fix for Ruby 2.3. JMESPath requires sort and sort_by functions to be stable.
There was a persistent test failure in Ruby 2.3 due to an unstable sort.
Release v1.2.4 - 2016-04-06
References: #23
-
Will no longer require json_pure if the json gem has already been loaded.
This will result in a warning and a degraded experience if json < 1.8.1
has already been loaded.Mixing json/pure with json/ext results in json errors, for example:
some_hash = { 'jsonrpc' => 'abc', 'jsonversion' => 1 } some_hash.to_json #=> raises a JSON::Pure::Generator::State TypeError
Release v1.2.3 - 2016-04-01
-
Will no longer require json_pure if the json gem has already been loaded.
This will result in a warning and a degraded experience if json < 1.8.1
has already been loaded.Mixing json/pure with json/ext results in json errors, for example:
some_hash = { 'jsonrpc' => 'abc', 'jsonversion' => 1 } some_hash.to_json #=> raises a JSON::Pure::Generator::State TypeError
Release v1.2.2 - 2016-03-31
-
Removed hard dependency on
json >= 1.8.1
. Replaced withjson_pure >= 1.8.1
.
The runtime will still attempt to load the faster gem, if availble and will fall
back onjson_pure
for compatability. Ruby 2.0+ ships with 1.8.1 by default,
so only Ruby 1.9.3 will default to the slower version.