Release Notes for XWiki 14.3
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 introduces a new (experimental) image dialog for the WYSIWYG editor and a new administration section to define image styles, with the goal to simplify the insertion and editing of images. On the same topic, the image popover now provides an image permalink and the image lightbox added the ability to copy the image identifier to clipboard to be used as link anchor or to be referenced by wiki macros. Finally, the images (or any files) uploaded through the WYSIWYG editor are not saved right away anymore but, instead, they create temporary attachments that are saved only when the edited content is saved. All these image related improvements, along with a lot of bug fixes, make this release worth trying.
New and Noteworthy (since XWiki 14.2.1)
Full list of issues fixed and Dashboard for 14.3.
For Users
New Experimental Image Dialog
The WYSIWYG editor has a new (experimental) image dialog that simplifies the insertion and edition of images. The new dialog is currently disabled by default but you can enable it from the WYSIWYG Editor section in the Wiki Administration: look for 'xwiki-image' in the drop down of disabled CKEditor plugins and uncheck it then save.
The new image dialog is integrated with the Image Style Administration section so users can apply image styles defined by an administrator. Checkout the CKEditor Integration documentation for more information.
Display image popover at cursor location
The image popover will be now displayed at cursor location, to make it more visible and accessible.
Display image ids in the Lightbox
Users can now copy to the image ID (which is either manually added using the Id Macro, or automatically generated) to clipboard from the lightbox menu or from the image toolbar, without the need to open the lightbox. From the image toolbar, users can also get the direct link to the image, which can then be shared easily.
Miscellaneous
Temporary Attachments: Starting with this release the files uploaded through the WYSIWYG editor (e.g. when inserting an image or when dropping a file on the editing area) are not saved right away as page attachments. Instead, they become temporary attachments that are saved (linked to the edited page) only when the content of the WYSIWYG editor is saved by the user. This means for instance that when creating a new page, uploading a file doesn't create the page anymore. The user needs to click on the Save button to create the page. Of course, the Cancel button is now behaving as expected: any file uploaded since the last save is discarded along with all the unsaved content changes.
For Admins
Image Style Administration
An Image Style Administration is now available. This interface allows to define standardized image styles that will later be used by the New Experimental Image Dialog to quickly define the appearance of images.
Miscellaneous
Change the default font size used by the Formula macro: It is now possible to set the default font size to be used by the formula macro using the configuration key macro.formula.defaultFontSize. See the formula macro documentation to learn more.
For Developers
No changes!
Upgrades
The following runtime dependencies have been upgraded (they have a different release cycle than XWiki Commons, XWiki Rendering and XWiki Platform):
- ASM 9.3
- AspectJ 1.9.9.1
- Byte Buddy 1.12.9
- Checker Qual 3.21.4
- CKEditor Integration 1.62
- Closure Compiler v20220405
- Error Prone annotations 2.12.1
- Goovy 3.0.10
- Guava 31.1-jre
- Hibernate 5.6.7
- Infinispan 13.0.8.Final
- Jackson 2.13.2
- JNA 5.11.0
- JNR FFI 2.2.12
- Joda-Time 2.10.14
- Liquibase 4.9.1
- MariaDB connector 3.0.4
- Maven 3.8.5
- Netty 4.1.76.Final
- node 16.3.2
- Protobuf Java 3.20.0
- Protostream 4.4.2.Final
Translations
The following translations have been updated:
Tested Browsers & Databases
Here is the list of browsers we support and how they have been tested for this release:
Browser | Tested on: | |
---|---|---|
Microsoft Edge 100 | ||
Google Chrome 100 | ||
Mozilla Firefox 99 | Not Tested | |
Safari 15 | Not Tested |
Here is the list of databases we support and how they have been tested for this release:
Database | Tested on: | |
---|---|---|
HyperSQL 2.6.1 | Not Tested | |
PostgreSQL 14 | Not Tested | |
MySQL 8 | ||
MariaDB 10.6 | ||
Oracle 19c | Not Tested |
Here is the list of Servlet Containers we support and how they have been tested for this release:
Servlet Container | Tested on: | |
---|---|---|
Tomcat 9.0.62 | ||
Jetty 10.0.7 (XWiki Standalone packaging) | ||
Jetty 10.0.7 | Not Tested |
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 14.3
The long deprecated inline action has been moved to legacy. It is still bundled in XWiki Standard for now but we encourage all extension developers to update their code to use the edit action instead:
+ $doc.getURL('edit')
API Breakages
The following APIs were modified since XWiki 14.2.1:
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).
- This class should have been marked as unstable on 14.1RC1. Moved to the package 'org.xwiki.doc.tasks' since it was not located in the right package.
- Violation type:java.class.removed
- Code:## Old:
class com.xpn.xwiki.doc.tasks.XWikiDocumentIndexingTask
- Violation type:
- This class should have been marked as unstable on 14.1RC1. The accessors are moved to 'org.xwiki.doc.tasks.XWikiDocumentIndexingTask' since we are not relying on a composite id anymore.
- Violation type:java.class.removed
- Code:## Old:
class com.xpn.xwiki.doc.tasks.XWikiDocumentIndexingTaskId
- Violation type:
Credits
The following people have contributed code and translations to this release (sorted alphabetically):
- Clemens Klein-Robbenhaar
- Clément Aubin
- DenisF
- Eduard Moraru
- Jaeseop So
- Manuel Leduc
- Marius Dumitru Florea
- Michael Hamann
- Oana-Lavinia Florean
- ParkHK
- Prosenjit Mondal
- Simon Urli
- Simpel
- Thomas Mortagne
- Vincent Massol
- xrichard