BaseX 12: The Summer Edition

Thursday, 26 June 2025 · 6 messages
CG
Christian Grün26 Jun 2025 14:54 #
Dear all, Version 12 marks a major leap forward for BaseX – our open-source XML framework, database engine, and XQuery 4.0 processor. This release introduces powerful new features, essential upgrades, and expanded standards support that will elevate how you build, query, and manage XML-driven applications. This is what you get: 🔧 Core Upgrades - Java 17: better performance, long-term support - Jetty 12: better compatibility, future-proofing ✨ XQuery features, 4.0 - Order-Preserving Maps: more intuitive & predictable data structures - Map performance: significantly leaner & faster, close to native Java - Arrays & sequences: Wrapping as arrays in constant time & vice versa - Pipeline Operator: clean, expressive queries with the -> operator - Typed constructs: structured data with item and record constructors - Stack Traces, finally block: better debugging, robust error-handling - While Clauses: better control flow in functional logic - Standardized CSV, JSON, and HTML Parsing, support for Validator.nu - Scripting: launch XQuery expressions as independent jobs - Profiler Optimizations: aggregation of profiled results 🔐 Security & Admin Enhancements - Automatic Admin Password Generation (first startup) - Log Filtering, Masking & Truncation: better control over logging Get the new version and check out our documentation for more details: https://basex.org https://docs.basex.org/main/Changelog Have fun, Your BaseX Team
BD
Bridger Dyson-Smith26 Jun 2025 15:42 #
Hi Christian and team - Congratulations and many, many thanks! Best, Bridger
Quoted text · Christian Grün · 41 lines
On Thu, Jun 26, 2025, 8:54 AM Christian Grün <christian.gruen at gmail.com> wrote: > Dear all, > > Version 12 marks a major leap forward for BaseX – our open-source XML > framework, database engine, and XQuery 4.0 processor. This release > introduces powerful new features, essential upgrades, and expanded > standards support that will elevate how you build, query, and manage > XML-driven applications. > > This is what you get: > > 🔧 Core Upgrades > - Java 17: better performance, long-term support > - Jetty 12: better compatibility, future-proofing > > ✨ XQuery features, 4.0 > - Order-Preserving Maps: more intuitive & predictable data structures > - Map performance: significantly leaner & faster, close to native Java > - Arrays & sequences: Wrapping as arrays in constant time & vice versa > - Pipeline Operator: clean, expressive queries with the -> operator > - Typed constructs: structured data with item and record constructors > - Stack Traces, finally block: better debugging, robust error-handling > - While Clauses: better control flow in functional logic > - Standardized CSV, JSON, and HTML Parsing, support for Validator.nu > - Scripting: launch XQuery expressions as independent jobs > - Profiler Optimizations: aggregation of profiled results > > 🔐 Security & Admin Enhancements > - Automatic Admin Password Generation (first startup) > - Log Filtering, Masking & Truncation: better control over logging > > Get the new version and check out our documentation for more details: > > https://basex.org > https://docs.basex.org/main/Changelog > > Have fun, > Your BaseX Team > >
GS
Graydon Saundersin reply to Christian Grün, 26 Jun 2025, 14:5426 Jun 2025 16:06 #
Excellent news! I notice that the
Quoted text · Christian Grün · 2 lines
> # Options for virtual machine (can be extended by global options) > BASEX_JVM="-Xmx16g $BASEX_JVM"
line is gone, it seems generally, from the* *startup scripts. https://docs.basex.org/main/Start_Scripts continues to reference setting -Xmx. Is there a new place to do this or is it expected to not be required with 12? Thanks! Graydon
Quoted text · Christian Grün · 35 lines
On Thu, Jun 26, 2025, at 08:54, Christian Grün wrote: > Dear all, > > Version 12 marks a major leap forward for BaseX – our open-source XML framework, database engine, and XQuery 4.0 processor. This release introduces powerful new features, essential upgrades, and expanded standards support that will elevate how you build, query, and manage XML-driven applications. > > This is what you get: > > 🔧 Core Upgrades > - Java 17: better performance, long-term support > - Jetty 12: better compatibility, future-proofing > > ✨ XQuery features, 4.0 > - Order-Preserving Maps: more intuitive & predictable data structures > - Map performance: significantly leaner & faster, close to native Java > - Arrays & sequences: Wrapping as arrays in constant time & vice versa > - Pipeline Operator: clean, expressive queries with the -> operator > - Typed constructs: structured data with item and record constructors > - Stack Traces, finally block: better debugging, robust error-handling > - While Clauses: better control flow in functional logic > - Standardized CSV, JSON, and HTML Parsing, support for Validator.nu > - Scripting: launch XQuery expressions as independent jobs > - Profiler Optimizations: aggregation of profiled results > > 🔐 Security & Admin Enhancements > - Automatic Admin Password Generation (first startup) > - Log Filtering, Masking & Truncation: better control over logging > > Get the new version and check out our documentation for more details: > > https://basex.org > https://docs.basex.org/main/Changelog > > Have fun, > Your BaseX Team >
CG
Christian Grün26 Jun 2025 16:11 #
Thanks, Graydon. You are right, we have finally removed the static -Xmx setting to let the JRE decide how much RAM to assign (in many cases, it will now be more than 2GB – usually 25% of the available main memory). As described in the documentation, it is still possible to assign Java flags to the BASEX_JVM variable. Cheers, Christian Graydon Saunders <graydonish at fastmail.com> schrieb am Do., 26. Juni 2025, 16:05:
Quoted text · Graydon Saunders · 61 lines
> Excellent news! > > I notice that the > > # Options for virtual machine (can be extended by global options) > > BASEX_JVM="-Xmx16g $BASEX_JVM" > > line is gone, it seems generally, from the startup scripts. > > https://docs.basex.org/main/Start_Scripts continues to reference setting > -Xmx. > > Is there a new place to do this or is it expected to not be required with > 12? > > Thanks! > Graydon > > On Thu, Jun 26, 2025, at 08:54, Christian Grün wrote: > > Dear all, > > Version 12 marks a major leap forward for BaseX – our open-source XML > framework, database engine, and XQuery 4.0 processor. This release > introduces powerful new features, essential upgrades, and expanded > standards support that will elevate how you build, query, and manage > XML-driven applications. > > This is what you get: > > 🔧 Core Upgrades > - Java 17: better performance, long-term support > - Jetty 12: better compatibility, future-proofing > > ✨ XQuery features, 4.0 > - Order-Preserving Maps: more intuitive & predictable data structures > - Map performance: significantly leaner & faster, close to native Java > - Arrays & sequences: Wrapping as arrays in constant time & vice versa > - Pipeline Operator: clean, expressive queries with the -> operator > - Typed constructs: structured data with item and record constructors > - Stack Traces, finally block: better debugging, robust error-handling > - While Clauses: better control flow in functional logic > - Standardized CSV, JSON, and HTML Parsing, support for Validator.nu > - Scripting: launch XQuery expressions as independent jobs > - Profiler Optimizations: aggregation of profiled results > > 🔐 Security & Admin Enhancements > - Automatic Admin Password Generation (first startup) > - Log Filtering, Masking & Truncation: better control over logging > > Get the new version and check out our documentation for more details: > > https://basex.org > https://docs.basex.org/main/Changelog > > Have fun, > Your BaseX Team > > >
ML
Marco Letterein reply to Christian Grün, 26 Jun 2025, 14:5426 Jun 2025 16:29 #
Ok, nice. Now I can start planning for the Summer vacation! :-D Thank you BaseX! M.
Quoted text · Christian Grün · 39 lines
On 26/06/25 14:54, Christian Grün wrote: > Dear all, > > Version 12 marks a major leap forward for BaseX – our open-source XML > framework, database engine, and XQuery 4.0 processor. This release > introduces powerful new features, essential upgrades, and expanded > standards support that will elevate how you build, query, and manage > XML-driven applications. > > This is what you get: > > 🔧 Core Upgrades > - Java 17: better performance, long-term support > - Jetty 12: better compatibility, future-proofing > > ✨ XQuery features, 4.0 > - Order-Preserving Maps: more intuitive & predictable data structures > - Map performance: significantly leaner & faster, close to native Java > - Arrays & sequences: Wrapping as arrays in constant time & vice versa > - Pipeline Operator: clean, expressive queries with the -> operator > - Typed constructs: structured data with item and record constructors > - Stack Traces, finally block: better debugging, robust error-handling > - While Clauses: better control flow in functional logic > - Standardized CSV, JSON, and HTML Parsing, support for Validator.nu > - Scripting: launch XQuery expressions as independent jobs > - Profiler Optimizations: aggregation of profiled results > > 🔐 Security & Admin Enhancements > - Automatic Admin Password Generation (first startup) > - Log Filtering, Masking & Truncation: better control over logging > > Get the new version and check out our documentation for more details: > > https://basex.org > https://docs.basex.org/main/Changelog > > Have fun, > Your BaseX Team >
GS
Graydon Saundersin reply to Christian Grün, 26 Jun 2025, 16:1126 Jun 2025 18:33 #
I will not miss manually setting Xmx for each new install even a little bit. Thank you! Graydon
Quoted text · Christian Grün · 63 lines
On Thu, Jun 26, 2025, at 10:11, Christian Grün wrote: > Thanks, Graydon. > > You are right, we have finally removed the static -Xmx setting to let the JRE decide how much RAM to assign (in many cases, it will now be more than 2GB – usually 25% of the available main memory). > > As described in the documentation, it is still possible to assign Java flags to the BASEX_JVM variable. > > Cheers, > Christian > > > Graydon Saunders <graydonish at fastmail.com> schrieb am Do., 26. Juni 2025, 16:05: >> __ >> Excellent news! >> >> I notice that the >>> # Options for virtual machine (can be extended by global options) >>> BASEX_JVM="-Xmx16g $BASEX_JVM" >> line is gone, it seems generally, from the* *startup scripts. >> >> https://docs.basex.org/main/Start_Scripts continues to reference setting -Xmx. >> >> Is there a new place to do this or is it expected to not be required with 12? >> >> Thanks! >> Graydon >> >> On Thu, Jun 26, 2025, at 08:54, Christian Grün wrote: >>> Dear all, >>> >>> Version 12 marks a major leap forward for BaseX – our open-source XML framework, database engine, and XQuery 4.0 processor. This release introduces powerful new features, essential upgrades, and expanded standards support that will elevate how you build, query, and manage XML-driven applications. >>> >>> This is what you get: >>> >>> 🔧 Core Upgrades >>> - Java 17: better performance, long-term support >>> - Jetty 12: better compatibility, future-proofing >>> >>> ✨ XQuery features, 4.0 >>> - Order-Preserving Maps: more intuitive & predictable data structures >>> - Map performance: significantly leaner & faster, close to native Java >>> - Arrays & sequences: Wrapping as arrays in constant time & vice versa >>> - Pipeline Operator: clean, expressive queries with the -> operator >>> - Typed constructs: structured data with item and record constructors >>> - Stack Traces, finally block: better debugging, robust error-handling >>> - While Clauses: better control flow in functional logic >>> - Standardized CSV, JSON, and HTML Parsing, support for Validator.nu >>> - Scripting: launch XQuery expressions as independent jobs >>> - Profiler Optimizations: aggregation of profiled results >>> >>> 🔐 Security & Admin Enhancements >>> - Automatic Admin Password Generation (first startup) >>> - Log Filtering, Masking & Truncation: better control over logging >>> >>> Get the new version and check out our documentation for more details: >>> >>> https://basex.org >>> https://docs.basex.org/main/Changelog >>> >>> Have fun, >>> Your BaseX Team >>> >>

⚡Generated with XQuery