Hi all,

We’ve released BaseX 12.4. It comes a bunch of new built-in XQuery functions for running queries in parallel (for-each, fork-any, reduce), for improved string similarity operations (ngrams, token set/sort ratio), new binary functions for counting & settings bits, atomic creation of databases with binary & value resources, improved encoding detection and streaming when creating ZIP archives and numerous more tweaks. Some more details:

XQUERY FUNCTIONS
- XQuery Module, parallelization: for-each, fork-any, reduce
- String Module: new functions for ngrams & token set/sort ratio
- Binary Module: bin:rotate, functions for counting & settings bits
- Database Module, DB creation: support for binary & value resources
- Archive Module: improved encoding detection, better streaming

XQUERY PERFORMANCE
- index rewritings for numeric predicates: //city[@code = 12763]
- evaluate loop-invariant predicates only once
- faster sorting of primitive value sequences
- callback functions: improved type propagation

FIXES & TWEAKS
- command-line: newline added after the result of a query
- error feedback: improved 'did you mean' suggestions
- parsing of CSV files with empty lines
- GUI: higher trace output limits

For a preview of the added features, please visit the following page:

https://docs.basex.org/13

Visit our homepage to download the latest version:

https://basex.org

Christian
BaseX Team