1.5 KiB
1.5 KiB
CHANGELOG
7.1
- Add support for PHP
min
andmax
functions - Add
Parser::IGNORE_UNKNOWN_VARIABLES
andParser::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 toExpressionLanguage::lint()
andParser::lint()
, pass theIGNORE_UNKNOWN_VARIABLES
flag instead to ignore unknown variables during linting
7.0
- The
in
andnot 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
andends with
- Support lexing numbers with the numeric literal separator
_
- Support lexing decimals with no leading zero
5.1.0
- added
lint
method toExpressionLanguage
class - added
lint
method toParser
class
4.0.0
- the first argument of the
ExpressionLanguage
constructor must be an instance ofCacheItemPoolInterface
- removed the
ArrayParserCache
andParserCacheAdapter
classes - removed the
ParserCacheInterface
2.6.0
- Added ExpressionFunction and ExpressionFunctionProviderInterface
2.4.0
- added the component