data_center/vendor/mtdowling/jmespath.php/CHANGELOG.md

63 lines
2.2 KiB
Markdown
Raw Permalink Normal View History

2023-09-18 09:11:13 +08:00
# CHANGELOG
## 2.6.0 - 2020-07-31
* Support for PHP 8.0.
## 2.5.0 - 2019-12-30
* Full support for PHP 7.0-7.4.
* Fixed autoloading when run from within vendor folder.
* Full multibyte (UTF-8) string support.
## 2.4.0 - 2016-12-03
* Added support for floats when interpreting data.
* Added a function_exists check to work around redeclaration issues.
## 2.3.0 - 2016-01-05
* Added support for [JEP-9](https://github.com/jmespath/jmespath.site/blob/master/docs/proposals/improved-filters.rst),
including unary filter expressions, and `&&` filter expressions.
* Fixed various parsing issues, including not removing escaped single quotes
from raw string literals.
* Added support for the `map` function.
* Fixed several issues with code generation.
## 2.2.0 - 2015-05-27
* Added support for [JEP-12](https://github.com/jmespath/jmespath.site/blob/master/docs/proposals/raw-string-literals.rst)
and raw string literals (e.g., `'foo'`).
## 2.1.0 - 2014-01-13
* Added `JmesPath\Env::cleanCompileDir()` to delete any previously compiled
JMESPath expressions.
## 2.0.0 - 2014-01-11
* Moving to a flattened namespace structure.
* Runtimes are now only PHP callables.
* Fixed an error in the way empty JSON literals are parsed so that they now
return an empty string to match the Python and JavaScript implementations.
* Removed functions from runtimes. Instead there is now a function dispatcher
class, FnDispatcher, that provides function implementations behind a single
dispatch function.
* Removed ExprNode in lieu of just using a PHP callable with bound variables.
* Removed debug methods from runtimes and instead into a new Debugger class.
* Heavily cleaned up function argument validation.
* Slice syntax is now properly validated (i.e., colons are followed by the
appropriate value).
* Lots of code cleanup and performance improvements.
* Added a convenient `JmesPath\search()` function.
* **IMPORTANT**: Relocating the project to https://github.com/jmespath/jmespath.php
## 1.1.1 - 2014-10-08
* Added support for using ArrayAccess and Countable as arrays and objects.
## 1.1.0 - 2014-08-06
* Added the ability to search data returned from json_decode() where JSON
objects are returned as stdClass objects.