Changes Report

Last modified by Vincent Massol on 2026/09/10 13:54

Macro output is no longer shared in BlockNote realtime sessions

When several users edit the same content with the BlockNote editor, only the Macro calls are now synchronized, not their output. Macros are rendered with the rights of the user who loads the content, so their output can show information that only this user is allowed to view, and it used to be shared with every collaborator joining the session. This closes the "macro output is included in the synchronization" limitation announced when BlockNote realtime collaboration was introduced.

For now, a collaborator who joins a session already in progress sees Macro placeholders instead of the Macro output.

Page and attachment suggestions when inserting a link with BlockNote

Selecting "Link" in the slash menu of the BlockNote editor now opens a menu suggesting the Pages and the Attachments to link to, and searches them as you type. Typing [[ followed by some text opens the same menu. Picking a suggestion inserts a link to it, whose text is generated from its target. The menu also lets you upload a file and link to it, or open the link modal for any other link. See Insert a Link with the BlockNote Editor.

Redesigned link modal in BlockNote

The link modal of the BlockNote editor opens in a dialog over the page, which no longer scrolls the page to the bottom, and starts with the link type and the target, the display text moving to the "Options". The target is filled in from the selected text, or from the text typed in the link menu, an empty Page reference links to the current Page (or, with an anchor, to one of its sections), and a URL typed without https:// is completed. A link whose display text is left empty is saved without one, so that its text is generated from the target, and the references of Pages and Attachments are saved relative to the edited Page. The "Open in a new tab" option, which had no effect, is removed. See BlockNote Link Options.

Paste or drop files in the BlockNote editor

Files pasted or dropped over the BlockNote editor are now uploaded as attachments of the edited page. An image, such as a pasted screenshot, is inserted as an image block, below the block holding the cursor when pasted, or next to the block it is dropped on; any other file is linked from where you paste or drop it. See Insert an Image with the BlockNote Editor and Insert a Link with the BlockNote Editor.

New Live Data entries can use a user-inputted title, and be started from a template

In Edit mode, a Live Data can now name the Page of a new entry after the title typed in the "title" row instead of a random identifier, through the new title and templateProvider row naming strategies. The title column is then marked "(Required)", and the entry is delayed until each required column has a value.

New entries can also start from the template of a template provider, set with the new newRowTemplateProvider source parameter. By default, it is the template provider named after the Class of the entries, if any exists. With the templateProvider strategy, the template provider also decides where the Page is created and whether it is terminal.

Records macro to list structured entries without writing code

The new Records Macro lists the entries of an object type, such as the books of a library, as a Live Data table that readers can sort and filter. Its columns, filters, sort, layout and description are set from the Macro dialog, with pickers listing the fields of the object type, and the table keeps working when those fields change. The author can also let readers edit the entries and add new ones from the table: Build a Book Library with the Records Macro creates a whole application this way.

The Macro is currently not bundled in XWiki Standard: an administrator needs to install the "Records Macro" extension with the Extension Manager.

Shared eslint configuration

A shared eslint configuration is now available, allowing for a consistent linting for all npm packages across xwiki-platform and contrib projects.

Page REST endpoint supports checking user rights

A new checkRight query parameter has been added to the REST API endpoint for pages. When fetching a page through the REST API, you can now check if you also have other rights on it, e.g., comment and edit by appending the checkRight=comment&checkRight=edit query string parameter.

Kebab-case Page Naming

The "Preformatted Name Strategy" has been renamed to "Kebab-case Name Strategy" since it's easier to understand what it's about.

Several new optional features have been added:

  • Convert letters to lowercase
  • Allow dots when used between digits (to represent versions or numbers)
  • Remove configured forbidden words (e.g. stop words)

Environment path traversal protections

The Servlet implementation of the Environment API now include path traversal protection for all application servers. That means you don't need to take care of that anymore before calling it.

Tomcat 11 based Debian packages

Debian packages relying on Tomcat 11 (which started to be introduced in Debian 13) are now available.

Change to DocumentService's API

A new method has been added to DocumentService's API: removeDocumentChangeListener. This should be called whenever a component is unmounted after having registered a document change listener through registerDocumentChangeListener.

Page REST endpoint supports content rendering as fallback

A new supportedSyntax query parameter has been added to the REST API endpoint for pages.

A client can use it to list all the syntaxes it supports. If the page is using a syntax that was not part of the list in the request, the response will now include a renderedContent property that the client will be able to use as a fallback instead of the raw content it can't handle.
If this parameter is omitted, no rendered content will be added to the response.

New user REST endpoints

Two new REST endpoints have been added to fetch user information, and optionally user preferences. One of them takes a parameter and will attempt to resolve it to an actual wiki user, while the other provides information on the currently logged-in user.

Warning

These endpoints are not bundled in the default flavor, and the package xwiki-platform-user-rest-default needs to be installed manually to use them. This will be fixed in version 18.3.0.

Live Data modularization

As a first step to allow the Live Data UI to be reusable outside XWiki, its implementation has been split into several npm packages: Live Data API (@xwiki/platform-livedata-api), Live Data UI (@xwiki/platform-livedata-ui), Live Data Component Store (@xwiki/platform-livedata-componentstore), and Live Data XWiki (@xwiki/platform-livedata-xwiki)

 

Introduction of a Dropdown element in the Abstract Design System

The Abstract Design System now contains a Dropdown element. A Dropdown displays a button that toggles another UI element (e.g., a Menu).

Example:

<x-dropdown>
  <template #activator>Toggle Button</template>
  <x-menu>
    <x-menu-label>menu label</x-menu-label>
    <x-menu-item>menu content</x-menu-item>
  </x-menu>
</x-dropdown>

Flamingo Design System

An implementation of the Abstract Design System is now available for Flamingo. This allows to implement portable applications in XWiki Standard while preserving the possibility to reuse them later on other contexts.

Use Icon Theme From JavaScript

We simplified the usage of icons from the current Icon Theme from JavaScript code:

// 1. Declare the icons you want to load:
define('my-module-icons', {
  icons: ['cross', ...]
});

// 2. Load the icons.
define('my-module', [
  'xwiki-icon!my-module-icons',
], function(icons) {
  // 3. Display the icon.
  document.querySelector('.my-icon-wrapper').append(icons.cross.render());
});

See the Icon Theme Application documentation for more information.

Extension Rights at Page Level

It's now possible to set Extension Rights at the Page level only (it used to be possible to set Extension Rights only for "Page and Children"). In addition, the Administration Menu items and the content pages related to Extension Rights have been improved to show clearly the differences between the two options.

Link Target Picker Improvements

The link target picker from the WYSIWYG (CKEditor) link dialog has received a few improvements:

  • the link target type dropdown is now using icons from the current icon theme
  • the page and attachment suggest input is now using the same widget (Tom Select) as the rest of the wiki, bringing consistency
  • the selected link target (page, attachment) is now displayed inline, inside the suggest input, making the picker more compact

See the CKEditor Integration documentation for more information.

Get Connected