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.

One of the main focus of XWiki 10.7 was bug fixing thus this release starts by reducing the bug count by 33, in important areas such as as Notifications, Skin or the core. This version also contains autocomplete of links when using the WYSIWYG editor, Macro content prefill when inserting a Macro from the WYSIWYG editor, and the beginning of replacing the old XWiki Confirmation boxes with Bootstrap modals with a focus on the comments action box to start with.

An important bug has been discovered since XWiki 10.7 has been released:

You should wait for the next version of XWiki that will be released soon!

This release contains a bug that can affect the scalability of the service. Until the proper fix, it is highly recommended to make sure that the "autowatch" feature of the notifications is turned off. Note that starting with XWiki 10.7 (10.7RC1 to be precise), "autowatch" is turned off by default.
 
You can do that by adding in the xwiki.properties file the following lines:

# Disable autowatch until the following issue is fixed:
# https://jira.xwiki.org/browse/XWIKI-15445
xwiki.plugin.watchlist.automaticwatch=none

New and Noteworthy (since XWiki 10.6)

Full list of issues fixed and Dashboard for 10.7.

Bug Fixes

Since this release was about bug fixing, here's the full list of bugs fixed:

  • Bug Closed XWIKI-15526 The page picker doesn't obey the hidden page user preference
  • Bug Closed XWIKI-15525 User first name and last name containing apostrophes are badly displayed in the groups livetables
  • Bug Closed XWIKI-15510 Deleting a wiki macro document can unregister the current component even if it's not the macro itself anymore
  • Bug Closed XWIKI-15508 Missing translation when creating a new wiki with errors in the log.
  • Bug Closed XWIKI-15507 Typo in hibernate mapping for Derby and DB2
  • Bug Closed XWIKI-15502 Notification classes use the wrong form type for booleans
  • Bug Closed XWIKI-15497 Incorrect port sometimes in external URL generated from a scheduler job
  • Bug Closed XWIKI-15494 The number of comments is not updated in More actions menu
  • Bug Closed XWIKI-15492 XWiki.ClassSheet generates sheets which double escape the special characters in the document titles upon usage of the sheet
  • Bug Closed XWIKI-15491 Can't install custom flavor from local repository in the Distribution Wizard
  • Bug Closed XWIKI-15487 Wrong MIME icon for CSS and HTML files
  • Bug Closed XWIKI-15486 Broken less code when saving FlamingoThemesCode.ThemeClass
  • Bug Closed XWIKI-15475 Website field type is wrong in the extension template
  • Bug Closed XWIKI-15474 Toggles aren't saved in the UI when changing the page of the Filters
  • Bug Closed XWIKI-15472 showInstalledCount is not taken into account
  • Bug Closed XWIKI-15467 Loading icon remains stuck when you Share a page by email using an email address
  • Bug Closed XWIKI-15464 Missing Velocity classes in XWiki Standard
  • Bug Closed XWIKI-15462 Messages sent to multiple users are received only by the first added user
  • Bug Closed XWIKI-15454 Wrong suggest input size in object edition
  • Bug Closed XWIKI-15449 Notifications dropdown activator's tooltip is called "Watchlist"
  • Bug Closed XWIKI-15441 Fallback to xwiki.plugin.watchlist.automaticwatch does not work
  • Bug Closed XWIKI-15435 CTRL+V in the Goto Modal (CTRL+G) doesn't work
  • Bug Closed XWIKI-15429 Installs count is displayed only for extensions that come from maven
  • Bug Closed XWIKI-15396 Imported extension with feature having higher version produce a page with wrong verison order
  • Bug Closed XWIKI-15262 Scheduler jobs of deleted (sub)wikis remain scheduled when the wiki is deleted
  • Bug Closed XWIKI-14959 Flavors list retrieval doesn't work along with shortUrls
  • Bug Closed XWIKI-13609 Possible java.nio.file.FileAlreadyExistsException when trying to save a job status
  • Bug Closed XWIKI-10234 Can't access attachment after removing latest version of page
  • Bug Closed XCOMMONS-1481 Potential memory leak in org.xwiki.properties.internal.DefaultBeanManager
  • Bug Closed XCOMMONS-1456 resolveVersions is broken when there is only one found version in local repository
  • Bug Closed XCOMMONS-1455 FilterStreamType#equals does not take the version into account
  • Bug Closed XCOMMONS-1451 Cross dependencies between extensions cause a StackOverflowError in the install plan job
  • Bug Closed XCOMMONS-1450 Impossible to install an extension depending on groovy-all
  • Bug Closed XCOMMONS-1420 Flickering test DefaultJobExecutorTest.testMatchingGroupPathAreBlocked

For Users

Link Autocomplete in WYSIWYG Editor


You can now create links to existing wiki pages and attachments directly from the editing area using the link auto-complete feature. Just type [ (open square bracket) followed by at least 2 characters and you will get link suggestions based on the typed text. Checkout the CKEditor Integration documentation for more information.

Macro Content Prefill in WYSIWYG Editor


When inserting a macro, the macro content text area is prefilled with the text selected within the editing area. This means you can for instance transform a paragraph into an error message by selecting the paragraph text, click the Insert Macro button from the tool bar, select the Error Message macro and insert it. Checkout the CKEditor Integration documentation for more information.

Updated the comments modals


The comments pop-ups that are displayed for deleting a comment and for permalink are now bootstrap modals, having the same functionality as before.

Miscellaneous

  • Removed misleading shortcut: Removed the META+V shortcut used in the jump dialog as it was preventing users from pasting.

For Admins

External URL generation improvements


It's now possible to set the port to use when generating an URL for a wiki in the each wiki descriptor. When the port is not set for a wiki, XWiki fallback on the main wiki descriptor.

Subwiki secure property (which indicate if HTTPS should be used instead of HTTP when generating a URL for the wiki) now inherit main wiki value if not explicitly set.

The first time XWiki is accessed the main wiki descriptor is generated using what can be found in the request's URL. For example if you access your wiki using https:mydomain:9898/xwiki/ you will end up with the following main wiki descriptor:

  • alias: mydomain
  • secure: true
  • port: 9898

Also XWiki now supports the Forwarded (RFC7239) standard HTTP header when extracting information from the URL used by the client.

Miscellaneous

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):

Translations

The following translations have been updated: 

  • German
  • Czech
  • Danish
  • Spanish
  • French
  • Croatian
  • Italian
  • Latvian
  • Dutch
  • Portuguese (Brazil)
  • Russian
  • Slovak
  • Swedish
  • Turkish
  • Ukrainian
  • Traditional Chinese
  • Simplified Chinese

Tested Browsers & Databases

Here is the list of browsers we support and how they have been tested for this release:

 BrowserTests performed and results
Chrome30.pngGoogle Chrome 68Jira Tickets Marked as Fixed in the Release Notes + New and Noteworthy Features
Full tests on product/Smoke tests on extensions
Firefox30.pngMozilla Firefox 61Smoke tests on product
Edge30.pngMicrosoft Edge 17Full tests on product/Smoke tests on extensions
IE30.pngInternet Explorer 11Smoke tests on product
Safari30.pngSafari 11.1Not Tested

Here is the list of databases we support and how they have been tested for this release:

 DatabaseTests performed and results
hypersql.pngHyperSQL 2.4.1Not Tested
mysql.pngMySQL 5.7Jira Tickets Marked as Fixed in the Release Notes + New and Noteworthy Features
Full tests on product/Smoke tests on extensions
oracle.pngOracle 11.2Not Tested
postgresql.pngPostgreSQL 10Full tests on product/Smoke tests on extensions

Here is the list of Servlet Containers we support and how they have been tested for this release:

 Servlet ContainerTests performed and results
tomcat-icon.pngTomcatNot Tested
jetty-icon.pngJetty (XWiki Standalone packaging)Jira Tickets Marked as Fixed in the Release Notes + New and Noteworthy Features
Full tests on product/Smoke tests on extensions
jetty-icon.pngJettyNot Tested

Known issues

Backward Compatibility and Migration Notes

General Notes

When upgrading make sure you compare your xwiki.cfg, xwiki.properties and web.xml files with the newest version since some configuration parameters may have been modified or added. Note that you should add xwiki.store.migration=1 so that XWiki will attempt to automatically migrate your current database to the new schema. Make sure you backup your Database before doing anything.

Issues specific to XWiki 10.7

API Breakages

The following APIs were modified since XWiki 10.6:

  • Not a breakage.
    • Violation type:
      java.annotation.attributeValueChanged
    • Code:
      ## Old:
      @interface org.xwiki.stability.Unstable

      ## New:
      @interface org.xwiki.stability.Unstable
  • Not a breakage: class moved to a legacy module
    • Violation type:
      java.class.removed
    • Code:
      ## Old:
      class org.xwiki.velocity.introspection.AbstractChainableUberspector
  • Not a breakage: class moved to a legacy module
    • Violation type:
      java.class.removed
    • Code:
      ## Old:
      interface org.xwiki.velocity.introspection.ChainableUberspector
  • Not a breakage: class moved to a legacy module
    • Violation type:
      java.class.removed
    • Code:
      ## Old:
      class org.xwiki.velocity.introspection.ChainingUberspector
  • Not a breakage: class moved to a legacy module
    • Violation type:
      java.class.removed
    • Code:
      ## Old:
      class org.xwiki.velocity.introspection.LinkingUberspector
  • Adding a REST endpoint is actually not an API breakage.
    • Violation type:
      java.method.addedToInterface
    • Code:
      ## Old:
      null

      ## New:
      method java.lang.String org.xwiki.notifications.rest.NotificationsResource::getNotificationsRSS(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) throws java.lang.Exception
  • Not a breake: the REST endpoint is the same.
    • Violation type:
      java.method.returnTypeChanged
    • Code:
      ## Old:
      method org.xwiki.notifications.rest.model.Notifications org.xwiki.notifications.rest.NotificationsResource::getNotifications(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) throws java.lang.Exception

      ## New:
      method javax.ws.rs.core.Response org.xwiki.notifications.rest.NotificationsResource::getNotifications(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) throws java.lang.Exception
  • Young API
    • Violation type:
      java.method.addedToInterface
    • Code:
      ## Old:
      null

      ## New:
      method org.xwiki.notifications.filters.watch.AutomaticWatchMode org.xwiki.notifications.filters.watch.WatchedEntitiesConfiguration::getDefaultAutomaticWatchMode(org.xwiki.model.reference.WikiReference)

Credits

The following people have contributed code and translations to this release (sorted alphabetically):

Adel Atallah
Alex Cotiugă
Andrei C
anonymous
Clément Aubin
CostiChD
Ecaterina Moraru (Valica)
Guillaume Delhumeau
Marius Dumitru Florea
oanalavinia
oana.lavinia
Thomas Mortagne
Valdis Vitolins
Vincent Massol
XWiki
吴国凯

Tags:
Created by Marius Dumitru Florea on 2018/08/22
   

Get Connected