BaseX 13.1

November 25, 2026

24F675D5: That’s the CRC-32C checksum of BaseX 13.1. The latest version hashes, signs, verifies, unfolds and compiles while you type.

Four weeks after BaseX 13, here is what’s new:

🧮 XQuery 4.0

  • switch and typeswitch: the default branch is now optional
  • Regular expressions: Unicode scripts and script extensions
  • New Bit Module, CRC-32C for fn:hash, admin:close-sessions

🔐 Security

  • Digital signatures, key generation and derivation, Argon2id passwords
  • Encryption with JWK and X.509 keys, Web Cryptography algorithms
  • Sandboxed functions; untrusted modules cannot import other modules
  • Mail Module: Jakarta Mail with stricter TLS; SFTP: key-based login

🖥️ GUI & Web

  • Real-time compilation: compile-time errors are reported as you type
  • Static servlet: precompressed .br and .gz files are served directly

🚀 Performance

  • Folds and recursive functions are unfolded into plain loops
  • Sharper static types, precise types for all built-in functions
  • Faster parsing and formatting of dates, durations and numbers
  • Lazy filter, for-each and remove; linear sibling axes and fn:path

🛠️ Fixes & Tweaks

  • More robust query rewrites, collations and string functions
  • Dates with and without timezone are now grouped consistently

Enjoy!