Changes Report
Design System CSS Variables
![]()
The Flamingo Design System now declares the CSS variables of the Abstract Design System, deriving them from the style variables of the skin. Code styled with them follows the Color Theme, and stays portable to the other implementations of the Design System.
Improvements to panel titles and navigation items

News styles for panel titles
Panel titles now have a more compact view by default
Pages featured in the navigation panel now span 100% of the width of the panel. This should make easier to navigate to pages with short names using the navigation panel
BlockNote realtime sessions save automatically
![]()
Content edited with the BlockNote editor in a realtime collaboration session is now saved automatically, about once a minute while there are unsaved changes. This closes the "there is no auto-save" limitation announced when BlockNote realtime collaboration was introduced.
Only one of the collaborators' browsers performs each save, so the session adds a single version per save instead of one version per participant. That version records the summary "Auto-saved during real-time collaboration", the same summary a CKEditor realtime session uses. Saving by hand keeps working and takes precedence over the automatic save.
The save status ("Unsaved", "Saving", "Saved") that the realtime toolbar displays is not shown in the BlockNote action bar yet, so there is currently no on-screen indication of when the automatic save happens. We plan to add it in the next version.
CSRF tokens shared by all cluster nodes
![]()
The CSRF token of a user is now derived from the authentication validation key instead of being kept in memory: it survives a restart, and all the nodes of a cluster accept the same token as long as they share the same xwiki.authentication.validationKey (see Clustering). Tokens now rotate every 24 hours by default (a token stays valid 24 to 48 hours), which can be changed with the new csrf.tokenLifetime property of xwiki.properties.
Pickers for one or more locations

The new spacePicker Velocity macro displays a suggest input to pick one or more locations as you type. The new compactLocationPicker Velocity macro adds a button next to it, which opens a page tree in a drop down to browse for the locations as an alternative. A wiki macro parameter of type java.util.List<org.xwiki.model.reference.SpaceReference> is now edited with the compact location picker. Learn how to use them.
Confirm an export opened from a link

Following a link to an export, such as a bookmarked /bin/export/ URL, now opens the "Confirm the Export" page instead of exporting right away. The page lists the requested export parameters, and a click on "Export" resubmits the export: see Confirm an Export Started From a Link. Exports started from the Export modal are not affected, and a script exports directly by sending the export URL as a POST request.
Export format handlers
![]()
An extension can now add an export format to the export action, or replace a native one, by providing an org.xwiki.export.ExportFormatHandler component whose hint is the value of the format request parameter: see Export Format Handler API.
Live Data UX improvements


Edit mode is now turned on and off with an "Edit mode" button, showing a pencil icon next to the Live Data menu (instead of the previous checkbox inside that menu). The button stays pressed while edit mode is on.
Any Live Data can also be maximized from its menu, to cover the whole window and focus on its entries. "Minimize" in the same menu, or the "Escape" key, brings it back to its normal state.
Automatic save for Live Data entries


In edit mode, a new entry no longer needs to be manually validated: it is now created as soon as one of its cells gets a value. A new row with no value yet can still be dropped with its "Cancel" button.
Entries can also be deleted from edit mode, with the "Delete" button on their right.
Live Data APIs to fetch and delete single entries
![]()
LiveDataEntryStore has a new get(Object entryId, List<String> properties) method, fetching one entry with at least the given properties, and the REST resource of one entry now accepts the matching properties query parameter. The Live Table source now implements remove, so its entries can be deleted. LiveTableNewRowNamingStrategy has a new getNewEntryLocation method telling where new entries are created: a custom strategy should implement it, so that edit rights can be properly checked for cells of a new row (i.e., before its creation). See Live Data Extension Points.
On the JavaScript side, LiveDataSource has the new getEntry and removeEntry methods, and addEntry now returns the values of the created entry. Logic has the new deleteEntry, getEntryKey, getEntryKeys, isMaximized and toggleMaximized methods, as described in the Live Data API.
Edit Code Macros in place with BlockNote
The BlockNote editor now displays the standalone Code Macro calls (as opposed to the inline ones) as code blocks, styled like in view mode. Edit the code in place, and pick its language from the selector shown when hovering the block, which highlights the code accordingly. The other parameters of the macro are kept on save.
Code blocks inserted from the slash menu are now saved as Code Macro calls instead of verbatim blocks. Inline Code Macro calls, or calls taking their code from the source parameter, are still edited through the Macro edit modal.
Realtime edit actions in the BlockNote editor

When editing with the BlockNote editor, the usual edit buttons are replaced by the same realtime edit actions as in the realtime WYSIWYG editor. They show who is editing the Page with you, warn you when the connection is lost, and display the save status ("Unsaved", "Saving", "Saved"), so you now know when the automatic save happens. You can also summarize your changes and browse the versions created during the session.
The "Leave Collaboration" action is not available with BlockNote yet, and clicking a collaborator opens their profile instead of scrolling to where they are typing.
Configure Syntaxes


It's now possible to easily configure the markup syntaxes that you wish to be made available to your users when writing pages, directly from the Admin UI.
Blog Post Template

You now have the option to create a blog post from anywhere inside the Blog page (or one of its children) by simply using the + (create page) button and selecting Blog Post as your new page's type
Temporary Resource API
![]()
A new API is available to create temporary resources. Here's an example of how you can use it:
// (1) Create the temporary resource reference.
String moduleName = "chart";
List<String> resourcePath = Arrays.asList("pie", "issuesByReporter.png");
EntityReference owningEntityReference = new DocumentReference("wiki", Arrays.asList("Path", "To"), "Page");
TemporaryResourceReference temporaryResourceReference =
new TemporaryResourceReference(moduleName, resourcePath, owningEntityReference);
// (2) Create the temporary file.
InputStream content = new ByteArrayInputStream("content".getBytes());
File tempFile = this.temporaryResourceStore.createTemporaryFile(temporaryResourceReference, content);
// (3) Obtain the URL that can be used to access the above temporary file.
String temporaryResourceURL =
this.urlTemporaryResourceReferenceSerializer.serialize(temporaryResourceReference).serialize();Ratings on Extensions Repository home page

Rating is now displayed in the Repository App's home page livetable.
Active Installs for Extensions

The number of active installs is displayed for each extension in the Repository App's home page livetable and in the extension page.
Global Color Themes


It's now possible, on a subwiki, to use a color theme coming from the main wiki (global themes).
Not Found Suggestions


We have added suggestions for the "document not found" and "attachment not found" error screens. The suggestions address minor typos and misspelling (including lower case vs upper case), but also bad location requests.
Velocity and ScriptContext synchronization
![]()
VelocityContext and ScriptContext are now fully in sync (and if you find a use case where it's not true create a BUG on https://jira.xwiki.org) and VelocityContext is now close to internal detail. This allows for example defining a variable in Velocity and accessing it from a Groovy script:
{{velocity}}
## Setting some script binding in Velocity
#set($myvar = "toto")
{{/velocity}}
{{groovy}}
// Lets use the script binding that has been set in previous script
print myvar
{{/groovy}}