Main Page » Changelog

Changelog

The following features have been added, updated, or removed in BaseX 12:

Command-Line Options

  • Added: -O to set an option (standalone, client).

Options

  • Updated: LOG: Support for different log targets.
  • Added: LOGEXCLUDE: Filter out log entries.
  • Added: LOGCUT: Remove substrings from log messages.

XQuery 4.0

  • Added: Type declarations. Example: declare type person as element(person).
  • Added: Record types. Example: { 'a': 1 } instance of record(a).
  • Added: Record declarations. Example: declare record coord(x, y).
  • Added: While clause. Example: for $i in 1 to 5 while ($i * $i) < 10 return $i.
  • Added: Map and array filter. Example: [ 1, 2, 3 ]?[. != 2].
  • Added: Lookup arrow expression. Example: $vector-map =?> product().
  • Added: Multiple node tests can be specified after the axis specifier. Example: $node/child::(element()|text()).
  • Added: Retrieval of stack trace. Example: $err:stack-trace().

Array Functions

  • Updated: array:join

Database Functions

  • Added: db:option-map, db:property-map.

Job Functions

  • Added: job:execute

Process Functions

  • Updated: proc:system: environment option added.

Request Functions

  • Added: request:parameter-map, request:header-map, request:cookie-map, request:attribute-map.

Standard Functions

  • Added: fn:civil-timezone, fn:collation, fn:collation-available, fn:node-kind, fn:siblings.
  • Updated: fn:hash, fn:round, fn:sequence-join.

XQuery Extensions

RESTXQ

  • Added: HTTP Methods: Support for PATCH method added.

⚡Generated with XQuery