Release Notes for XWiki 18.10.0-rc-1

Last modified by Michael Hamann on 2026/11/24 18:25

This is the release notes for XWiki Commons, XWiki Rendering and XWiki Platform. They share the same release notes as they are released together and have the same version.

This release contains many new features as well as bug fixes and performance improvements. In this release, image and attachment support for the experimental BlockNote editor integration has been greatly improved. XWiki now also supports modern image formats like WebP natively. A new records macro makes listing structured entries much easier and adding new structured entries in Live Data (on which the new records macro is based) has also been improved with support for templates and user-provided titles. Every released artifact is now accompanied by an SBOM that lists all its dependencies. This release contains security fixes, with the highest severity being 9.3/10.

New and Noteworthy (since XWiki 18.9.0)

Full list of issues fixed and Dashboard for 18.10.0RC1.

For Users

Image suggestions when inserting an image with BlockNote

Selecting "Image" in the slash menu of the BlockNote editor now opens a menu suggesting up to five of the images most recently attached in the wiki, and searches the images as you type. The same menu lets you upload a new image, or browse the images in the "Select Image" modal of the WYSIWYG editor. See Insert an Image with the BlockNote Editor.

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.

Pickers for the parameters of the Notifications macro

In the macro editor, the wikis, spaces, pages, users and tags parameters of the Notifications macro are now edited with pickers that suggest existing values as you type, instead of plain text fields. Wiki macros can use the same pickers for their own list parameters.

WebP, AVIF and JPEG XL images open in the browser and are inserted as images

Opening a WebP, AVIF or JPEG XL attachment now displays the image in the browser, like a PNG or JPEG one, instead of downloading it: their mimetypes were added to the default whitelist of attachments displayed inline. The WYSIWYG editor also inserts these images as images rather than as links when they are dropped, pasted or uploaded with the "Upload Image" quick action.

A browser that cannot decode JPEG XL still downloads such an image instead of displaying it.

You can now choose a WebP, AVIF or JPEG XL image as your avatar, and administrators can use one as the logo of a color theme or of a skin, whose logo selectors now accept the .jpeg extension too.

A browser that cannot decode JPEG XL does not display a JPEG XL avatar or logo.

Miscellaneous

  • 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.

  • Open quick search results in a new tab with Ctrl+click:

    Clicking a quick search suggestion result that points to a page now behaves like clicking a regular link: hold Ctrl while clicking it to open the page in a new tab and stay on the current one.

For Admins

Users shown by their name in the users administration and the likers list

The User column of the users administration and the list of people who liked a page now show each user's name, built from the first and last name of their profile, or the username when both are empty. See the user account documentation.

Redesigned administration home page with new icons

The categories and sections of the wiki administration now use a new set of SVG icons. Each one is shown as a card with its name and description, and you can click anywhere on the card to open it. See Administer Your Wiki.

Miscellaneous

  • S3 blob store with services that do not support conditional writes:

    The S3 blob store can now be used with S3-compatible object stores that do not implement conditional requests, such as OVHcloud Object Storage: two new properties, store.s3.conditionalWrites and store.s3.conditionalCopies, disable the conditions XWiki sends with uploads and copies, as described in Configure S3 as Blob Store.
    When a service rejects a condition with 501, the error message names the property to change.
    Without the conditions, a write that must only create an absent object checks its existence first, which is not atomic.

  • java.util.logging logs now follow the XWiki logging configuration:

    Some libraries used by XWiki, like Lucene (the search engine behind Solr), produce their logs with java.util.logging. These logs now go through Logback like the other XWiki logs: they use the same format and destinations, and their levels can be configured in the logback.xml file (see Logging). For example, on Java 21 or later, the Lucene message starting with Using MemorySegmentIndexInput is not displayed anymore when the embedded Solr opens its indexes, since it's below the default warn level.

  • HTML sanitizer aligned with current browsers:

    The HTML sanitizer that cleans user-generated HTML follows the latest version of DOMPurify, the library it is adapted from, more closely:

    • More safe elements and attributes are allowed, such as search, slot, popover, inert, the SVG filter feDropShadow and the MathML element mprescripts. The sms: and matrix: protocols are also part of the default xml.htmlElementSanitizer.allowedUriRegexp.
    • SVG elements with camel case names like linearGradient or clipPath, and the MathML attribute columnalign, are no longer removed.
    • The for attribute is only allowed on label and output, and HTML content inside the SVG elements desc and title is removed, as browsers would otherwise treat it differently from the sanitizer.

For Developers

An SBOM for every released artifact

Every released artifact (except test modules) now comes with a CycloneDX SBOM (Software Bill of Materials), deployed next to it, which lists its dependencies, including the npm packages bundled in the webjars, so that the SBOM of the XWiki WAR lists everything it ships. Extensions using a parent POM of at least 18.10.0 get one too. See Using Profiles for the details. The download page links to the SBOMs of the WAR and of the Standard Flavor of each version, for example the SBOM of the 18.10.0RC1 WAR.

The parent POM now names its license with its SPDX identifier, LGPL-2.1-or-later. XWiki instances older than 18.10.0 may display it without the license text.

Miscellaneous

  • XWiki.makeRenderingErrorsExpandable is deprecated:

    Rendering errors are now made expandable automatically, including in content inserted after the page is loaded, so the XWiki.makeRenderingErrorsExpandable JavaScript function is deprecated. Scripts that insert content containing rendering errors should trigger the xwiki:dom:updated event on it instead, as described in the JavaScript API.

  • XAR format version check:

    mvn xar:verify now fails a page whose declared XAR format version (the version attribute of xwikidoc) is:

    • invalid
    • higher than 1.7, the highest one known by the targeted XWiki version
    • lower than the one introducing an element the page uses:
      • an attachment's revisions: 1.4
      • originalMetadataAuthor: 1.5
      • enforceRequiredRights: 1.6
      • the type attribute of an object property: 1.7

    mvn xar:format raises a version that is too low to the required one; an invalid version or one above 1.7 must be fixed by hand. See the XAR Maven plugin documentation.

  • Proxy support for Docker-based integration tests:

    The Docker-based integration test framework gained partial support for running integration tests when internet connectivity is only provided through a proxy.

  • Build check for the macros declared in xwiki.extension.components:

    The build now fails when the macros a module provides don't match the ones declared in its xwiki.extension.components Maven property, which lets the Extension Manager find the extension providing an unknown macro. A new Spoon check verifies Java macros, and mvn xar:verify verifies wiki macros. Extensions using a parent POM of at least 18.10.0 get the check too. The error gives the line to add, e.g. org.xwiki.rendering.macro.Macro/toc. Internal macros go in xwiki.extension.components.macros.check.excluded, and xwiki.extension.components.macros.check.skip disables the check. See Automatic Checks and the XAR Maven plugin documentation.

  • Check group membership with isMember:

    The new GroupManager#isMember(member, group, recurse) API and the matching $services.user.group.isMember script service check whether a user or group is a member of a group, without listing the members of the group. They replace User#isUserInGroup, which is now deprecated. See the User API documentation.

  • SBOM of the npm packages bundled in webjar-node modules:

    A webjar-node module now embeds an SBOM of the npm packages it bundles, which requires them to be declared in dependencies rather than devDependencies. With a pnpm version that doesn't support pnpm sbom, skip it with -Dxwiki.sbom.npm.skip=true, and release despite a missing SBOM with -Dxwiki.sbom.failOnMissingEmbeddedSBOM=false. See WebJar Node Maven Handler.

  • Spacing scale available as CSS properties in Flamingo:

    The Flamingo skin now provides a spacing scale for margins, paddings and gaps. It is available both as CSS properties and as LESS variables, from --spacing-small (2px) to --spacing-xxxlarge (32px), and every step is a multiple of --spacing-base (4px). See the CSS Properties reference.

  • Engine script bindings take precedence over global ones in Velocity:

    In Velocity, a binding of the engine scope of the ScriptContext, which holds the variables set by Velocity scripts, now hides a binding of the global scope with the same name, as in JSR-223. Before, a global binding replaced the Velocity variable or engine binding with the same name each time a Velocity script was executed. Code setting a global binding to override a script variable should set it in the engine scope instead. See Share variable between languages.

  • Version comment for object changes made through REST:

    The REST endpoints that add, update or delete an object, or update an object property, accept a new comment query parameter, which becomes the comment of the page version created by the change. Deleting an object also accepts minorRevision now, like the other object endpoints. See the object resources.

  • Scripts dropped from asynchronous rendering results:

    When the result of an asynchronous rendering is inserted in the page, its JavaScript <script> elements are now removed instead of being executed, whether inline or loaded with a src attribute. Data blocks such as <script type="application/json"> are kept. The JavaScript that asynchronous content needs should be loaded through skin extensions, which keep being loaded with the result, after it is inserted: such a script should initialize the matching elements already in the page when it runs, and listen to the xwiki:dom:updated event for content inserted later. This event now targets the inserted elements instead of the placeholder they replace. See the DOM events of the JavaScript API.

  • Front-end macros render UniAst content:

    The render function of a front-end macro now returns UniAst nodes (Block[] or InlineContent[] from @xwiki/platform-uniast-api), and the rendering AST types of @xwiki/platform-macros-api (MacroBlock, MacroInlineContent, MacroText, ...) are removed. The UniAst gains rawHtml, macroBlockEditableArea and inlineMacroEditableArea nodes. The @xwiki/platform-macros-ast-react-jsx package is renamed @xwiki/platform-uniast-react-jsx, and its MacrosAstToReactJsxConverter class is now UniAstToReactJsxConverter, whose constructor no longer takes a RemoteURLParser. See the front-end macros API for how to migrate a macro.

  • Single options object for the BlockNote editor npm packages:

    The BlocknoteEditor component of @xwiki/platform-editors-blocknote-headless and the React editor of @xwiki/platform-editors-blocknote-react now take a single options object (plus the initial content): the options of each editor feature are grouped under features (false disables a feature), and the services the editor needs, such as the macro, image and link editors, are taken from the service container instead of being passed as callbacks. The previous properties, including editorProps, are no longer supported, and integrations have to bind the editor features in the service container, e.g. with the ComponentInit of @xwiki/platform-editors-blocknote-react. It is also the first step toward editor features contributed by extensions: see the Headless BlockNote Editor reference.

  • Link types contributed to the BlockNote link modal:

    The link types offered by the link modal of the BlockNote npm packages are link target types bound in the service container, provided by the new @xwiki/platform-link-type-api, @xwiki/platform-link-type-default and @xwiki/platform-link-type-ui packages: an integration of the headless editor has to bind them, and can add its own. @xwiki/platform-link-modal-ui no longer exports parseLinkTarget, linkTargetToResourceReference and resourceReferenceToLinkTarget: use the LinkTargetTypeManager of @xwiki/platform-link-type-api instead, where LinkData and LinkTarget moved (without newTab). The XWiki model reference serializer no longer prefixes a reference with its type (space:, doc:, attach:). See Link Target Types.

  • Introduce a Page Templates API:

    The "Page Templates" administration section and the template provider sheets moved from the Administration Application to a new Page Templates Application (org.xwiki.platform:xwiki-platform-pagetemplate-ui), which upgrades will install automatically. XWiki.TemplateProviderClass is now created by Java code, with the same properties as before.

    The new Page Templates API can read template providers as typed TemplateProvider objects, including the properties of template providers written for older versions, through the TemplateProviderManager component or the script service $services.templateProvider.getTemplateProviders(). Functional tests using the page objects of the section now access them from org.xwiki.platform:xwiki-platform-pagetemplate-test-pageobjects, under org.xwiki.pagetemplate.test.po.

  • Live Data row naming strategies get the values of the new entry:

    LiveTableNewRowNamingStrategy#generate now also receives the values the entry is created with, allowing a naming strategy use them when generating the entry: generate(Map) is replaced by generate(Map, Map), which custom strategies must implement. A strategy declares the properties it needs a value for with the new getMandatoryProperties method, flagged mandatory in the property descriptors, and describes itself to authors with getDescription. The new LiveTableNewRowNamingStrategyManager component and $services.liveData.liveTable.getNewRowNamingStrategies() list the installed strategies. When new entries start from a template, its reference is sent as the template parameter of the addEntry action. See Live Data Extension Points.

Upgrades

The following runtime dependencies have been upgraded (they have a different release cycle than XWiki Commons, XWiki Rendering and XWiki Platform):

Translations

The following translations have been updated: 

Tested Browsers & Databases

Automated Testing

XWiki executes a lot of automated tests during its build, testing all supported configurations.

Security Issues

Security issues are not listed in issue lists or dashboards to avoid disclosing ways to use them, but they will appear automatically in them once they're disclosed. See the XWiki Security Policy for more details.

Known issues

Backward Compatibility and Migration Notes

General Notes

  • When upgrading make sure you compare and merge the following XWiki configuration files since some parameters may have been modified, removed or added:
    • xwiki.cfg
    • xwiki.properties
    • web.xml
    • hibernate.cfg.xml
  • Add xwiki.store.migration=1 in xwiki.cfg so that XWiki will attempt to automatically migrate your current database to any new schema. Make sure you backup your Database before doing anything.

Issues specific to XWiki 18.10.0-rc-1

Upgrade to Solr 9.11.0

XWiki now bundles Solr 9.11.0 and Lucene 9.12.3 (previously Solr 9.4.1 and Lucene 9.8.0), see XWIKI-21954. It has the following consequences:

  • Embedded Solr: as with previous Solr upgrades, the search core is recreated at the first startup and filled again by the synchronization with the database, so search results are incomplete until the indexing is finished. The other cores (events, extension index, ratings, etc.) keep their data.
  • Remote Solr: the new configuration of the search core requires Solr 9.11 or later (a Solr 9.4.1 server, for example, fails to load it). You can either keep the current configuration of your search core as is, or upgrade your Solr server to 9.11 or later first and then install the new configuration (see Setup a remote Solr server). In particular:
  • Remote Solr: when the new configuration of the search core is installed on a core which already contains data, XWiki detects at startup that the indexed data is not compatible with it anymore, deletes the index, and it's filled again by the synchronization with the database (if solr.synchronizeAtStartup is disabled, you need to trigger the synchronization manually). If several XWiki instances share the same remote Solr server, each of them might delete the index when starting, but the synchronization at startup takes care of filling it again.
  • The search core now uses the Solr schema version 1.7, in which fields don't support "uninverting" anymore by default. This means that a custom Solr query (in a script or an extension) which sorts or facets on a tokenized text field (like title_en or doccontent_fr) will now fail. All the fields provided by XWiki for sorting and faceting (like title_sort, the *_sort* fields, wiki, space_facet, locale, date, etc.) are not impacted.
  • The stopwords of several languages (Danish, German, Spanish, Finnish, French, Hungarian, Italian, Dutch, Norwegian, Portuguese, Russian, Swedish) were updated to the latest Solr version. In particular, for French, several words which are also homonyms of meaningful words (like "son", "été", "est", "sommes", "as") are not stopwords anymore and are now indexed and searchable.
  • Since Solr 9.5, Solr uses Jersey 3 (JAX-RS 3.1, jakarta.* packages), while XWiki uses Jersey 2. To avoid any conflict, the solr-core JAR is now replaced by xwiki-platform-search-solr-core-shaded, which contains solr-core and its own private (relocated) copy of Jersey 3 and HK2 3. The Solr classes keep their package, so this should be transparent for extensions using Solr.
  • On Java 21 or later, Lucene now logs a warning at startup about its use of the Java Vector API (see XWIKI-25453). It does not have any functional impact.

WebP, AVIF and JPEG XL in a custom attachment whitelist

image/avif, image/jxl and image/webp were added to the default value of attachment.download.whitelist, so these images are now displayed in the browser instead of being downloaded (see XWIKI-25319). If your xwiki.properties sets attachment.download.whitelist, it replaces the default list: add these three mimetypes to it to get the same behaviour. An xwiki.properties kept from an earlier version also still holds the old default as a commented-out attachment.download.whitelist line: uncommenting it would bring back the old list, so start from the new default list instead.

Attachments and skin files are served with X-Content-Type-Options: nosniff

Attachments (from their download URL and from the REST API), skin files and the files served from inside attachments by the VFS are now sent with the X-Content-Type-Options: nosniff header, so browsers no longer guess their type from their content (see XWIKI-25323). A script or style sheet loaded from such a URL now needs a JavaScript or CSS mimetype: an attachment stored as text/plain or application/octet-stream and loaded by a page with a <script> or <link rel="stylesheet"> tag stops working. Check the custom pages and skins that load attachments that way. See Inline Display and Forced Download of Attachments.

DefaultAuthorizationManager moved to internal package

The DefaultAuthorizationManager class was located in an API package while it should never have been an API. A vote was conducted to move it to an internal package so we applied that decision.

Infinispan caches now use the ProtoStream marshaller by default

Infinispan 16.3 deprecated JavaSerializationMarshaller, so XWiki now uses the default Infinispan marshaller (ProtoStream) for its caches: the serialization element was removed from the default WEB-INF/cache/infinispan/config.xml (see XCOMMONS-3874). With the default configuration, the only cache which is serialized is the LESS skin files cache (file store), which only contains strings.

If you customized your WEB-INF/cache/infinispan/config.xml to persist (or distribute) caches containing other types of values, you can switch back to the previous marshaller by adding the following to the cache-container element (it is deprecated and will be removed in a future version of Infinispan):

<serialization marshaller="org.infinispan.commons.marshall.JavaSerializationMarshaller"/>

API Breakages

The following APIs were modified since XWiki 18.9.0:

Real breakages

Real backward compatibility breakages that we have unwillingly accepted to do for the reasons mentioned in each violation below.

  • It's very unlikely for the Solr role to be implemented outside of XWiki Platform, and there is no way to provide an accurate default implementation of deleting the whole index of a core.
    • Violation type:
      java.method.addedToInterface
    • Code:
      ## Old:
      
      
      ## New:
      method void org.xwiki.search.solr.Solr::deleteIndex(org.xwiki.search.solr.XWikiSolrCore) throws org.xwiki.search.solr.SolrException
  • This class should have never been exposed as an API as it's an internal component implementation. It has been moved to an internal package following the vote performed on https://forum.xwiki.org/t/move-defaultauthorizationmanager-to-an-internal-package/15926.
    • Violation type:
      java.class.removed
    • Code:
      ## Old:
      class org.xwiki.security.authorization.DefaultAuthorizationManager

Unstable APIs

Not real backward compatibility breakages since they were done on APIs marked @Unstable (a.k.a Young APIs). Thus it's part of the contract that they can be broken until they become stable. They're listed purely for reference in case you decided to still use them (and thus agreed to be broken).

  • The live table new row naming strategies now receive the values the entry is created with, so that a strategy can name the entry after one of them. This API is still @Unstable.
    • Violation type:
      java.method.numberOfParametersChanged
    • Code:
      ## Old:
      method org.xwiki.model.reference.DocumentReference org.xwiki.livedata.livetable.LiveTableNewRowNamingStrategy::generate(java.util.Map<java.lang.String, java.lang.Object>) throws org.xwiki.livedata.LiveDataException, com.xpn.xwiki.XWikiException
      
      ## New:
      method org.xwiki.model.reference.DocumentReference org.xwiki.livedata.livetable.LiveTableNewRowNamingStrategy::generate(java.util.Map<java.lang.String, java.lang.Object>, java.util.Map<java.lang.String, java.lang.Object>) throws org.xwiki.livedata.LiveDataException, com.xpn.xwiki.XWikiException

Credits

The following people have contributed code to this release (sorted alphabetically):
  • Christian Koerner
  • ClementEXWiki
  • Clément Christiaens
  • Cédric LAMBLIN
  • DenisF
  • elenicojocariu
  • Jarle Sandmo
  • Jonas Gernot Steinke
  • LucasC
  • Manuel Leduc
  • Marius Dumitru Florea
  • Michael Hamann
  • Nicoleta Ciaușu
  • Nikita Petrenko
  • ParkHK
  • Pierre Jeanjean
  • Santiago W. Fernández Lorenzo
  • Simon Urli
  • Simpel
  • Suguru Hirahara
  • Thiago Krieck
  • Thomas Mortagne
  • u74a8 zhou
  • Valdis Vitolins
  • Vincent Massol
  • xrichard

 

Get Connected