Thanks all for the valuable feedback on our latest major release. BaseX 12.1 is now available, with more new and revised features than planned. Highlights include:
RESTXQ • improved local locking for resources supplied via arguments
Storage • PUT operations: replace or ignore existing resources
XQuery • Cache Functions: Store transient data in main-memory LRU caches • Key/Value Store: All opened stores are now kept in main memory • faster generation and conversion of sequences and arrays • fn:load-xquery-module: retrieve module only once at runtime
XQuery 4.0 • Function declarations: The 'local' prefix can now be omitted • Destructuring: let $($head, $tail) := ... • Map construction generalized: { 1: 2, $map-entries } • Pseudo path function: $xml/get($node-name) • New node comparators (is-not, precedes, follows, ...) • %method annotation replace by =?> operator
For a more complete list of added features, visit our documentation:
You can try the new XQuery 4.0 features online using the BaseX fiddle:
Download the latest version from our homepage:
Have a good time, Your BaseX Team