Skip to content

Releases: webmozart/expression

1.0.0

17 Dec 10:45
Compare
Choose a tag to compare
  • added Expr::filter() to filter collections
  • removed final keyword of expression classes to facilitate building
    domain expressions
  • renamed Conjunction to AndX
  • renamed Disjunction to OrX
  • added Expr::andX() and Expr::orX()

1.0.0-beta5

02 Oct 13:15
Compare
Choose a tag to compare
1.0.0-beta5 Pre-release
Pre-release
  • added method() selector
  • added property() selector
  • removed optional $key arguments. Use the key()/method()/property()
    selectors instead
  • added isInstanceOf()
  • removed class NotEmpty and used Not with IsEmpty instead
  • renamed Webmozart\Expression\Comparison namespace to Webmozart\Expression\Constraint
  • fixed type juggling in equivalentTo()

1.0.0-beta4

30 Sep 12:06
Compare
Choose a tag to compare
1.0.0-beta4 Pre-release
Pre-release
  • fixed return types in Expr::true() and Expr::false()
  • fixed minimum versions in composer.json

1.0.0-beta3

28 May 12:54
Compare
Choose a tag to compare
1.0.0-beta3 Pre-release
Pre-release
  • optimized Valid::andX() and Valid::orX()
  • optimized Invalid::andX() and Invalid::orX()
  • removed true() and false(). Use same() instead
  • renamed valid() to true() and invalid() to false()
  • added contains()
  • added brackets around string output of nested conjunctions/disjunctions

1.0.0-beta2

13 Apr 14:47
Compare
Choose a tag to compare
1.0.0-beta2 Pre-release
Pre-release
  • 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 from key()
  • removed argument $strict from true(), false() and oneOf()
  • added atLeast() selector
  • added exactly() selector
  • added all() selector
  • added atMost() selector
  • added count() selector
  • renamed oneOf() to in()
  • added valid()
  • added invalid()
  • optimized andValid(), andInvalid(), orValid() and orInvalid()

1.0.0-beta

19 Mar 11:12
Compare
Choose a tag to compare
1.0.0-beta Pre-release
Pre-release
Released version "1.0.0-beta"