Skip to content

v5.0.0-beta.3

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 28 Sep 15:01
· 31 commits to main since this release
45f1d64

Patch Changes

  • #439 b120400 Thanks @jsm1t! - Support the infix not in operator in query predicates.

    A predicate such as custom(fields(externalOrderType not in :hiddenOrderTypes))
    failed with Unexpected token: not, because not was only understood as a
    prefix (not (...)). Real commercetools documents age not in (42, 43, 44) as
    a membership check, so not in now matches every resource that in would not.

    The prefix not (...) form also forwards query variables to the negated
    expression now, so not (field in :values) no longer ignores :values.