FestinHegre/vendor/symfony/expression-language/CHANGELOG.md
2024-09-26 17:26:04 +02:00

61 lines
1.5 KiB
Markdown

CHANGELOG
=========
7.1
---
* Add support for PHP `min` and `max` functions
* Add `Parser::IGNORE_UNKNOWN_VARIABLES` and `Parser::IGNORE_UNKNOWN_FUNCTIONS` flags to control whether
parsing and linting should check for unknown variables and functions.
* Deprecate passing `null` as the allowed variable names to `ExpressionLanguage::lint()` and `Parser::lint()`,
pass the `IGNORE_UNKNOWN_VARIABLES` flag instead to ignore unknown variables during linting
7.0
---
* The `in` and `not in` operators now use strict comparison
6.3
---
* Add `enum` expression function
* Deprecate loose comparisons when using the "in" operator; normalize the array parameter
so it only has the expected types or implement loose matching in your own expression function
6.2
---
* Add support for null-coalescing syntax
6.1
---
* Add support for null-safe syntax when parsing object's methods and properties
* Add new operators: `contains`, `starts with` and `ends with`
* Support lexing numbers with the numeric literal separator `_`
* Support lexing decimals with no leading zero
5.1.0
-----
* added `lint` method to `ExpressionLanguage` class
* added `lint` method to `Parser` class
4.0.0
-----
* the first argument of the `ExpressionLanguage` constructor must be an instance
of `CacheItemPoolInterface`
* removed the `ArrayParserCache` and `ParserCacheAdapter` classes
* removed the `ParserCacheInterface`
2.6.0
-----
* Added ExpressionFunction and ExpressionFunctionProviderInterface
2.4.0
-----
* added the component