1 |
efrain |
1 |
# CHANGELOG
|
|
|
2 |
|
|
|
3 |
## 2.6.0 - 2020-07-31
|
|
|
4 |
|
|
|
5 |
* Support for PHP 8.0.
|
|
|
6 |
|
|
|
7 |
## 2.5.0 - 2019-12-30
|
|
|
8 |
|
|
|
9 |
* Full support for PHP 7.0-7.4.
|
|
|
10 |
* Fixed autoloading when run from within vendor folder.
|
|
|
11 |
* Full multibyte (UTF-8) string support.
|
|
|
12 |
|
|
|
13 |
## 2.4.0 - 2016-12-03
|
|
|
14 |
|
|
|
15 |
* Added support for floats when interpreting data.
|
|
|
16 |
* Added a function_exists check to work around redeclaration issues.
|
|
|
17 |
|
|
|
18 |
## 2.3.0 - 2016-01-05
|
|
|
19 |
|
|
|
20 |
* Added support for [JEP-9](https://github.com/jmespath/jmespath.site/blob/master/docs/proposals/improved-filters.rst),
|
|
|
21 |
including unary filter expressions, and `&&` filter expressions.
|
|
|
22 |
* Fixed various parsing issues, including not removing escaped single quotes
|
|
|
23 |
from raw string literals.
|
|
|
24 |
* Added support for the `map` function.
|
|
|
25 |
* Fixed several issues with code generation.
|
|
|
26 |
|
|
|
27 |
## 2.2.0 - 2015-05-27
|
|
|
28 |
|
|
|
29 |
* Added support for [JEP-12](https://github.com/jmespath/jmespath.site/blob/master/docs/proposals/raw-string-literals.rst)
|
|
|
30 |
and raw string literals (e.g., `'foo'`).
|
|
|
31 |
|
|
|
32 |
## 2.1.0 - 2014-01-13
|
|
|
33 |
|
|
|
34 |
* Added `JmesPath\Env::cleanCompileDir()` to delete any previously compiled
|
|
|
35 |
JMESPath expressions.
|
|
|
36 |
|
|
|
37 |
## 2.0.0 - 2014-01-11
|
|
|
38 |
|
|
|
39 |
* Moving to a flattened namespace structure.
|
|
|
40 |
* Runtimes are now only PHP callables.
|
|
|
41 |
* Fixed an error in the way empty JSON literals are parsed so that they now
|
|
|
42 |
return an empty string to match the Python and JavaScript implementations.
|
|
|
43 |
* Removed functions from runtimes. Instead there is now a function dispatcher
|
|
|
44 |
class, FnDispatcher, that provides function implementations behind a single
|
|
|
45 |
dispatch function.
|
|
|
46 |
* Removed ExprNode in lieu of just using a PHP callable with bound variables.
|
|
|
47 |
* Removed debug methods from runtimes and instead into a new Debugger class.
|
|
|
48 |
* Heavily cleaned up function argument validation.
|
|
|
49 |
* Slice syntax is now properly validated (i.e., colons are followed by the
|
|
|
50 |
appropriate value).
|
|
|
51 |
* Lots of code cleanup and performance improvements.
|
|
|
52 |
* Added a convenient `JmesPath\search()` function.
|
|
|
53 |
* **IMPORTANT**: Relocating the project to https://github.com/jmespath/jmespath.php
|
|
|
54 |
|
|
|
55 |
## 1.1.1 - 2014-10-08
|
|
|
56 |
|
|
|
57 |
* Added support for using ArrayAccess and Countable as arrays and objects.
|
|
|
58 |
|
|
|
59 |
## 1.1.0 - 2014-08-06
|
|
|
60 |
|
|
|
61 |
* Added the ability to search data returned from json_decode() where JSON
|
|
|
62 |
objects are returned as stdClass objects.
|