Last modified by Thomas Mortagne on 2023/10/13

Show last authors
1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
5 This is the release notes for [[XWiki Commons>>]], [[XWiki Rendering>>]], [[XWiki Platform>>]] and [[XWiki Enterprise>>]]. They share the same release notes as they are released together and have the same version.
7 This release candidate brings many Flamingo skin improvements to better present Nested Documents on top of the Nested Spaces concept. Similar improvements were made in applications like Solr Search, AWM, FAQ, Activity Stream and the Skin editor in order to be compatible with Nested Spaces. On the developers side, a new Select widget and a document picker were added to allow richer UIs to be created. Last but not least, 41 bugs were fixed in this release on the road towards the coming final 7.2 release.
9 = New and Noteworthy (since XWiki 7.2M3) =
11 [[Full list of issues fixed and Dashboard for 7.2>>]].
13 == Flamingo ==
15 Following the introduction of the Nested Documents feature, we have made some modifications to the Flamingo skin:
17 * The welcome message from the main wiki home page has been updated.
18 * The "Spaces" widget from the wiki dashboard has been replaced with "Pages" which shows the hierarchy of nested pages from that wiki.
19 * For non terminal documents, we have introduced a "Page Administration", where you will find settings that concern the document and its children (it's actually the old space administration behind the scene). But we have also introduced 2 sections for setting rights on these pages:
20 ** a section to set rights for the document only.
21 ** a section to set rights for the document and its children.
22 * For terminal documents, nothing changes, you can change the access rights of the page in the "edit" menu. The only addition is a "Administer Parent" link in the "More actions" menu to administer the parent page (which again is the space administration behind the scene).
23 * The create action has been relooked (with the introduction of the "page type" field) and proposes to import an office document.
24 * A new "children" viewer is now accessible in the "more actions" menu, along with the other viewers.
25 * For Terminal Pages, a new "siblings" viewer is present, which replaces the old "space index" feature.
27 {{gallery}}
28 image:flamingo.png
29 image:AdministerPageMenu.png
30 image:AdminPageAndChildrenRights.png
31 image:AdminPageRights.png
32 image:AdministerParentMenu.png
33 image:create.png
34 image:CreatePopUp.png
35 image:menu-children.png
36 image:menu-siblings.png
37 {{/gallery}}
39 == Solr Search ==
41 You can now search for nested documents using the [[Solr Search Application>>extensions:Extension.Solr Search Application]]. The display of the search result location has been updated to support nested documents.
43 {{image reference="searchResultLocation.png"/}}
45 The "Space" facet has been replaced with a "Location" facet that supports nested documents. This allows you to search in a specific location in the page hierarchy.
47 {{image reference="searchLocationFacet.png"/}}
49 The "Page" facet has been removed by default because it doesn't bring value in the context of the nested documents: all non-terminal documents have the same name 'WebHome'. The "Wiki" facet is displayed by default only on the main wiki and only if you have multiple wikis.
51 == Miscellaneous ==
53 * When [[creating, copying or renaming a page>>Documentation.UserGuide.Features.DocumentLifecycle]] you can now select a top level location from the tree picker (e.g. copy as top level page) even if you have a single wiki (i.e. only the main wiki). You do this by selecting the root of the tree (i.e. the wiki node).
54 * The [[Document Tree Macro>>extensions:Extension.Document Tree Macro]] is now displaying a message when the tree is empty.(((
55 {{image reference="emptyDocTree.png"/}}
57 With the new ##showRoot## parameter you can force the document tree to show the actual root node (either the one specified by the ##root## parameter or the default root node).
58 )))
59 * A couple of bugs in the [[App Within Minutes Application>>extensions:Extension.App Within Minutes Application]], that were caused by the introduction of the Nested Documents feature, have been fixed.
60 * It's now possible create new FAQs in Nested Spaces.
61 * When using the XWiki Jetty distribution, a memory dump is automatically created in XWiki's ##data/## folder when an ##Out Of Memory## error occurs.
62 * The Activity Stream now also displays activity for Nested Spaces.
63 * Skin editor now properly works for a nested skin document
65 See the [[full list of JIRA issues>>]] fixed in this release.
67 = For Developers =
69 == XWiki Select Widget ==
71 A [[new widget has been introduced>>Documentation.DevGuide.XWikiSelect]], to have a rich select box:
73 {{image reference="xwiki-select.png"/}}
75 == Document Picker ==
77 Two new Velocity macros has been added to allow selecting a document from a tree picker and to display the path (breadcrumbs) to the selected document.
79 {{image reference="locationPicker.png"/}}
81 Check the [[Document Picker documentation>>extensions:Extension.Document Picker]] for more details.
83 == Deprecated and Retired projects ==
85 <description of deprecated and retired projects>
87 == Upgrades ==
89 The following dependencies have been upgraded:
91 * [[JGroups 3.6.6>>]]
92 * [[httpcore 4.4.3>>]]
93 * [[Infinispan 7.2.5>>]]
95 == Miscellaneous ==
97 * The URL parameters ##?viewer=children## and ##?viewer=backlinks## have been added.
98 * A new "siblings" viewer has been added, accessible both with ##?viewer=siblings## and ##?xpage=siblings##.
99 * For ##?viewer=children##, ##?xpage=children##, ##?viewer=siblings## and ##?xpage=siblings## a new ##displayHidden## parameter has been added. By default, the hidden documents are not displayed unless the user's configuration overwrites this.
101 = Tested Browsers & Databases =
103 {{include reference="TestReports.ManualTestReportSummaryXWiki72RC1"/}}
105 = Known issues =
107 * [[Bugs we know about>>]]
109 = Backward Compatibility and Migration Notes =
111 == General Notes ==
113 When upgrading make sure you compare your ##xwiki.cfg##, and ##web.xml## files with the newest version since some configuration parameters may have been modified or added. Note that you should add so that XWiki will attempt to automatically migrate your current database to the new schema. Make sure you backup your Database before doing anything.
115 == API Breakages ==
117 The following APIs were modified since XWiki 7.1.2:
119 * New configuration option to change the size of the Job statuses cache:(((
120 {{code language="none"}}
121 org.xwiki.job.JobManagerConfiguration: Method 'public int getJobStatusCacheSize()' has been added to an interface
122 {{/code}}
123 )))
125 * Added missing methods to the ##DocumentModelBridge## class, which are already implemented by XWikiDocument:(((
126 {{code language="none"}}
127 org.xwiki.bridge.DocumentModelBridge: Method 'public org.xwiki.model.reference.DocumentReference getContentAuthorReference()' has been added to an interface
128 {{/code}}
129 )))
131 * AbstractWrappingObject, AbstractSafeObject and ScriptSafeProvider have been moved to xwiki-commons-script:(((
132 {{code language="none"}}
133 org.xwiki.extension.wrap.WrappingIterableResult: Removed from the list of superclasses
134 org.xwiki.extension.wrap.WrappingIterableResult: Removed org.xwiki.extension.wrap.AbstractWrappingObject from the list of superclasses
135 org.xwiki.extension.wrap.WrappingIterableResult: Parameter 2 of 'public WrappingIterableResult(org.xwiki.extension.repository.result.IterableResult,' has changed its type to
136 org.xwiki.filter.script.AbstractFilterScriptService: Changed type of field scriptProvider from to
137 org.xwiki.extension.script.AbstractExtensionScriptService: Changed type of field scriptProvider from to
138 {{/code}}
139 )))
141 * com.xpn.xwiki.XWiki#localStringEntityReferenceSerializer now exists in oldcore, we do not need it in the aspect anymore:(((
142 {{code language="none"}}
143 com.xpn.xwiki.XWikiCompatibilityAspect: Method 'public org.xwiki.model.reference.EntityReferenceSerializer ajc$interFieldGetDispatch$com_xpn_xwiki_XWikiCompatibilityAspect$com_xpn_xwiki_XWiki$localStringEntityReferenceSerializer(com.xpn.xwiki.XWiki)' has been removed
144 com.xpn.xwiki.XWikiCompatibilityAspect: Method 'public void ajc$interFieldInit$com_xpn_xwiki_XWikiCompatibilityAspect$com_xpn_xwiki_XWiki$localStringEntityReferenceSerializer(com.xpn.xwiki.XWiki)' has been removed
145 com.xpn.xwiki.XWikiCompatibilityAspect: Method 'public void ajc$interFieldSetDispatch$com_xpn_xwiki_XWikiCompatibilityAspect$com_xpn_xwiki_XWiki$localStringEntityReferenceSerializer(com.xpn.xwiki.XWiki, org.xwiki.model.reference.EntityReferenceSerializer)' has been removed
146 {{/code}}
147 )))
149 * Not a breakage. The legacy method was not in the right place (which mean that it was not available so it actually fix a breakage):(((
150 {{code language="none"}}
151 com.xpn.xwiki.XWikiCompatibilityAspect: Method 'public java.lang.Object getRenderingEngine()' has been removed
152 {{/code}}
153 )))
155 * Young API. ExportURLFactoryContext been renamed to FilesystemExportContext and moved to the Filesystem URL scheme module
156 {{comment}}Eduard @ 7.2RC1:
157 I have found 3 differences in xwiki-platform that have not generated a clirr error, maybe they are leftovers or the clirr report did not catch them for some reason. See{{/comment}}

Get Connected