Skip to content

Commit 2e4ed87

Browse files
BaseX 12.1
1 parent 58fa275 commit 2e4ed87

File tree

9 files changed

+30
-8
lines changed

9 files changed

+30
-8
lines changed

CHANGELOG

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
VERSION 12.1 (December 23, 2025) ---------------------------------------
2+
3+
RESTXQ
4+
- improved local locking for resources supplied via arguments
5+
6+
Storage
7+
- PUT operations: replace or ignore existing resources
8+
9+
XQuery
10+
- Cache Functions: Store transient data in main-memory LRU caches
11+
- Key/Value Store: All opened stores are now kept in main memory
12+
- faster generation and conversion of sequences and arrays
13+
- fn:load-xquery-module: retrieve module only once at runtime
14+
15+
XQuery 4.0
16+
- Function declarations: The 'local' prefix can now be omitted
17+
- Destructuring: let $($head, $tail) := ...
18+
- Map construction generalized: { 1: 2, $map-entries }
19+
- Pseudo path function: $xml/get($node-name)
20+
- New node comparators (is-not, precedes, follows, ...)
21+
- %method annotation replace by =?> operator
22+
123
VERSION 12.0 (June 26, 2025) -------------------------------------------
224

325
🔧 Core Upgrades

basex-api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.basex</groupId>
99
<artifactId>basex-parent</artifactId>
10-
<version>12.1-SNAPSHOT</version>
10+
<version>12.1</version>
1111
<relativePath>..</relativePath>
1212
</parent>
1313

basex-api/src/main/webapp/dba/editor/editor.xqm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function dba:editor(
4646
<td colspan='2'>
4747
<form autocomplete='off' action='javascript:void(0);'>{
4848
<datalist id='files'>{ config:editor-files() ! element option { . } }</datalist>,
49-
sequence-join((
49+
insert-separator((
5050
<input type='text' id='file' name='file' placeholder='Name of file'
5151
list='files' oninput='checkButtons()' onpropertychange='checkButtons()'/>,
5252
<button type='submit' name='open' id='open' disabled=''

basex-api/src/main/webapp/dba/files/files.xqm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ function dba:files(
100100
'date': $modified,
101101
'bytes': $size,
102102
'action': fn() {
103-
sequence-join(
103+
insert-separator(
104104
if (not($dir)) {
105105
html:link('Download', 'file/' || encode-for-uri($name)),
106106
if ($size <= $limit) {

basex-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.basex</groupId>
99
<artifactId>basex-parent</artifactId>
10-
<version>12.1-SNAPSHOT</version>
10+
<version>12.1</version>
1111
<relativePath>..</relativePath>
1212
</parent>
1313

basex-core/src/main/java/org/basex/util/Prop.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public final class Prop {
2424
/** Project name. */
2525
public static final String NAME = "BaseX";
2626
/** Current version (major and minor number, optionally followed by development tag). */
27-
private static final String CURRENT_VERSION = "12.1 RC1";
27+
private static final String CURRENT_VERSION = "12.1";
2828

2929
/** Name of project in lower case. */
3030
public static final String PROJECT = NAME.toLowerCase(Locale.ENGLISH);

basex-examples/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.basex</groupId>
99
<artifactId>basex-parent</artifactId>
10-
<version>12.1-SNAPSHOT</version>
10+
<version>12.1</version>
1111
<relativePath>..</relativePath>
1212
</parent>
1313

basex-tests/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.basex</groupId>
99
<artifactId>basex-parent</artifactId>
10-
<version>12.1-SNAPSHOT</version>
10+
<version>12.1</version>
1111
<relativePath>..</relativePath>
1212
</parent>
1313

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<!-- Artifact information -->
66
<groupId>org.basex</groupId>
77
<artifactId>basex-parent</artifactId>
8-
<version>12.1-SNAPSHOT</version>
8+
<version>12.1</version>
99
<packaging>pom</packaging>
1010

1111
<modules>

0 commit comments

Comments
 (0)