Releases: webmozart/expression
Releases · webmozart/expression
1.0.0
1.0.0-beta5
- added
method()
selector - added
property()
selector - removed optional
$key
arguments. Use thekey()
/method()
/property()
selectors instead - added
isInstanceOf()
- removed class
NotEmpty
and usedNot
withIsEmpty
instead - renamed
Webmozart\Expression\Comparison
namespace toWebmozart\Expression\Constraint
- fixed type juggling in
equivalentTo()
1.0.0-beta4
- fixed return types in
Expr::true()
andExpr::false()
- fixed minimum versions in composer.json
1.0.0-beta3
- optimized
Valid::andX()
andValid::orX()
- optimized
Invalid::andX()
andInvalid::orX()
- removed
true()
andfalse()
. Usesame()
instead - renamed
valid()
totrue()
andinvalid()
tofalse()
- added
contains()
- added brackets around string output of nested conjunctions/disjunctions
1.0.0-beta2
- added
Selector
- removed
key*()
methods - renamed argument
$field
to$key
, moved it to end of the method arguments
and made it optional for all test methods - removed argument
$field
fromkey()
- removed argument
$strict
fromtrue()
,false()
andoneOf()
- added
atLeast()
selector - added
exactly()
selector - added
all()
selector - added
atMost()
selector - added
count()
selector - renamed
oneOf()
toin()
- added
valid()
- added
invalid()
- optimized
andValid()
,andInvalid()
,orValid()
andorInvalid()
1.0.0-beta
Released version "1.0.0-beta"