The features of XQuery 3.1 are still subject to change, but we are planning to add the following enhancements in near future:
* Arrow operator (<code>=></code>): applies a function to an item, using the item as the first argument to the function. The expression <code>$i=>$f()</code> is equivalent to <code>$f($i)</code>, and <code>$i=>$f($j)</code> is equivalent to <code>$f($i, $j)</code>.
* Support for JSON: <code>fn:json-doc</code>, <code>fn:parse-json</code>
* New functions: <code>array:fold-left</code>, <code>array:fold-right</code>, <code>fn:collation-key</code>, <code>fn:load-module</code>, <code>fn:parse-ietf-date</code>, <code>fn:transform</code>, <code>map:for-each-entry</code>