title: Neo4j 2.0.0.M05 - Cypher changes in function predicates by labels
body: <p>Today, I tried updating <code>Neo4j</code> to <code>2.0.0.M05</code>. After running my application's tests, what failed for me is filtering nodes by (multiple) labels.</p>
  
  <p>Before, I tried doing this with (source: <a href="http://docs.neo4j.org/chunked/2.0.0-M05/query-where.html#where-filter-on-node-label" rel="nofollow">http://docs.neo4j.org/chunked/2.0.0-M05/query-where.html#where-filter-on-node-label</a>): </p>
  
  <pre><code>START node=node(*) WHERE node LABEL [:mylabel] RETURN node
  </code></pre>
  
  <p>Which fails with error you can see here: <a href="http://console-test.neo4j.org/r/irh886" rel="nofollow">http://console-test.neo4j.org/r/irh886</a></p>
  
  <p>As a workaround, I used function predicates and created query:</p>
  
  <pre><code>START node=node(*) 
  WHERE ANY (label in labels(node) WHERE label IN ['mylabel'])
  RETURN node
  </code></pre>
  
  <p>This worked in <code>2.0.0.M03</code> and <code>2.0.0.M04</code>, but doesn't work in <code>2.0.0.M05</code> with error you can see here: <a href="http://console-test.neo4j.org/r/scx0j4" rel="nofollow">http://console-test.neo4j.org/r/scx0j4</a></p>
  
  <p>Any breaking change in <code>2.0.0.M05</code> I'm missing from changelog? I've been looking at <a href="http://blog.neo4j.org/2013/09/neo4j-200m05-released.html" rel="nofollow">http://blog.neo4j.org/2013/09/neo4j-200m05-released.html</a>, but can't notice any change connected with this.</p>
  
  <p>Thanks!</p>