Skip to content

v1.3.3

Choose a tag to compare

@github-actions github-actions released this 13 Sep 17:40
· 5 commits to master since this release
68491f2

Fixed

  • Reject unknown operators in direct OrConditionSpecification conditions
    instead of allowing SQL syntax to be injected through the operator position.
  • SpecificationBuilder::orWhere() now keeps ORDER BY, LIMIT and OFFSET
    outside OR branches, and nested orWhere() / notWhere() callbacks retain
    the builder returned by the callback.
  • BETWEEN values must be zero-based lists with exactly two elements, so
    malformed associative arrays fail during specification construction.
  • DateTimeInterface values are passed through yiisoft/db's timezone-aware
    DateTimeValue with six-digit fractional precision.
  • Update the test adapter dependency to rasuvaeff/property-testing-testo
    ^0.10.
  • Direct NOT specifications now preserve nested ORDER BY, LIMIT and
    OFFSET modifiers, matching the existing OR behavior.
  • Canonical three-element LIKE conditions in OrConditionSpecification now
    reject non-string patterns instead of passing malformed input to the query
    builder.
  • Track build/.gitkeep so coverage and other build outputs have a directory
    in fresh checkouts.
  • Document the public OrderBySpecification and LimitSpecification classes.