BaseX 11.8: Lightning fast maps, new XQuery 4 features

Thursday, 20 March 2025 · 4 messages · last reply 30 Apr 2025
CG
Christian Grün20 Mar 2025 19:09 #
We are delighted to announce BaseX 11.8, one more important step to the next major version. Here are the most significant changes: - [MOD] Lightning fast construction of ordered maps of all types - [MOD] fn:distinct-values, fn:duplicate-values: faster comparisons - [MOD] Faster map comparison (ordered and unordered) - [ADD] New function util:values-except - [ADD] XQuery 4.0 functionality (functions, %method annotation) - [MOD] XQuery fold functions: more early exits - [MOD] XQuery, fn:parse-xml: options added - [MOD] prof:variables: Better capture of in-scope variables - [FIX] Stricter permission checks when calling built-in functions For a preview of the upcoming 12 features, please visit the following page… https://docs.basex.org/12 …and have a look at our homepage to download the latest version: https://basex.org Have fun, Your BaseX Team
ML
Marco Lettere21 Mar 2025 09:12 #
OMG thank you! We just managed to complete the migration to 11.7. :-D Migration to 11.8 should be transparent, U suppose. Right? M.
Quoted text · Christian Grün · 27 lines
On 20/03/25 19:09, Christian Grün wrote: > We are delighted to announce BaseX 11.8, one more important step to > the next major version. > > Here are the most significant changes: > > - [MOD] Lightning fast construction of ordered maps of all types > - [MOD] fn:distinct-values, fn:duplicate-values: faster comparisons > - [MOD] Faster map comparison (ordered and unordered) > - [ADD] New function util:values-except > - [ADD] XQuery 4.0 functionality (functions, %method annotation) > - [MOD] XQuery fold functions: more early exits > - [MOD] XQuery, fn:parse-xml: options added > - [MOD] prof:variables: Better capture of in-scope variables > - [FIX] Stricter permission checks when calling built-in functions > > For a preview of the upcoming 12 features, please visit the following > page… > > https://docs.basex.org/12 > > …and have a look at our homepage to download the latest version: > > https://basex.org > > Have fun, > Your BaseX Team
CG
Christian Grün21 Mar 2025 10:47 #
Quoted text · Marco Lettere · 3 lines
> > Migration to 11.8 should be transparent, U suppose. Right? >
I definitely think so. One change I should have mentioned: HTML is now serialized as HTML5 by default. Older versions can be enforced by specifying a version via the html-version serialization parameter.
CG
Christian Grün30 Apr 2025 18:52 #
Dear all, BaseX 11.9 is released, with many new XQuery 4.0 features and numerous performance tweaks. The new release will possibly be the last Java 11 release: Future relases will be based on Java 17. This is what you get: - [ADD] XQuery 4.0: %method annotation, try/finally - [ADD] XQFO 4.0: element-to-map(-plan), doc, function-identity - [ADD] Option LOGMASKIP: anonymize IP address - [ADD] prof:time, prof:memory: Aggregation performance measurements - [MOD] prof:variable: Complete listing of in-scope variables - [MOD] Arrays & maps, uniform data types: less memory consumption - [MOD] JSON, CSV, HTML representations: less memory consumption - [MOD] Records: Faster access to statically known entries - [MOD] Records: implicit record creation for statically parsed maps - [MOD] Sequences, arrays, maps: Unified low-level (un)boxing - [MOD] XQuery: faster 'instance of' type checks - [MOD] Arrays & maps: faster traversals and wildcard lookups - [MOD] GUI, Shift-ESC shortcut for stopping query - [FIX] Store is written again at shutdown time - [FIX] RESTXQ, %rest:single: null pointer exceptions - [FIX] html:doc: close stream For a preview of the upcoming 12 features, please visit the following page… https://docs.basex.org/12 …and have a look at our homepage to download the latest version: https://basex.org Have fun, Your BaseX Team

⚡Generated with XQuery