Last modified by Thomas Mortagne on 2017/03/24

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 milestone improves some performance and caching issues of the LESS module and continues improving and fixing usability aspects of Nested Pages.
9 = New and Noteworthy (since XWiki 8.0 Milestone 1) =
11 [[Full list of issues fixed and Dashboard for 8.0>>]].
13 == LESS Module ==
15 * For performances reasons, we have set a limit for the number of LESS CSS compilations that can be done simultaneously.
16 * For the same reason, the LESS cache is not cleared anymore at XWiki launch.
18 For more informations about this, please see [[extensions:Extension.LESS Module||anchor="Cache"]].
20 == Miscellaneous ==
22 * The "Create Page" Panel now supports creating Nested Spaces (i.e. you can use references in the Space input field and you now need to escape special characters if you wish to have a space containing '.' or ':' characters for example).
23 * The [[Active Installs>>extensions:Extension.Active Installs Server Application]] Dashboard now displays the Java versions in an aggregated format, displaying only major + minor (e.g. "1.7", "1.8"). This makes it simpler to analyze the versions of Java used for XWiki.
24 * When deleting a non-terminal page and the only child of that page is the 'WebPreferences' terminal page, the 'Affect children' checkbox will be checked by default. Normally, it would be unchecked, but in this case we`ve noticed that it`s very easy to forget about that document (since it's hidden and automatically created when going into 'Page Administration') and your deleted page might still show up in some places because of that leftover. You can still uncheck it if you know what you are doing.
25 * The [[Link Label Generator>>platform:AdminGuide.Configuration||anchor="HLinkLabelGeneration"]] nows supports Nested Pages by default and several new configuration formats have been introduced:
26 ** ##%s## now uses the full space name (e.g. space1.space2). Note: Prior to 7.4.2/8.0M2 this was only displaying the last space name
27 ** New ##%ls## option: displays the last space name.
28 ** New ##%np## option: displays the nested page name (i.e. will display the space name for Nested Pages).
29 ** New ##%NP## option: displays the nested page name with spaces between camel case words, i.e. "My Page" if the page name is "MyPage".
31 See the [[full list of JIRA issues>>]] fixed in this release.
33 = For Developers =
35 == Upgrades ==
37 The following dependencies have been upgraded:
39 * [[slf4j 1.7.16>>]]
40 * [[Logback 1.1.5>>]]
41 * [[Doxia 1.17>>]]
42 * [[Aether 1.1.0>>]]
43 * [[Less4j 1.16.0>>]]
45 == Miscellaneous ==
47 * Added [[new binding>>extensions:Extension.Watchlist Application||anchor="HAdministrators:CustomizingtheWatchListemailtemplate"]] in the WatchList email template: subscriberReference. For example, this can be used to create a URL to the subscriber (i.e. user receiving the message) profile, where the notifications can be disabled:(((
48 {{code}}
49 $xwiki.getURL($subscriberReference, 'view', 'category=notification')
50 {{/code}}
51 )))
52 * It's now possible to directly compare a ##org.xwiki.extension.version.Version## (at least its default implementation) to a String. Makes a lot easier to manipulate versions in Velocity for example. For example, before 8.0M2 you had to write:(((
53 {{code}}
54 #set ($supportsNS = $services.extension.core.getCoreExtension('org.xwiki.platform:xwiki-platform-model').id.version.compareTo($services.extension.parseVersion('7.2')) >= 0)
55 {{/code}}
57 You can now write:
59 {{code}}
60 #set ($supportsNS = $services.extension.core.getCoreExtension('org.xwiki.platform:xwiki-platform-model').id.version.compareTo('7.2') >= 0)
61 {{/code}}
62 )))
64 = Translations =
66 The following translations have been updated:
68 {{language codes="pt_BR"/}}
70 = Tested Browsers & Databases =
72 {{include reference="TestReports.ManualTestReportSummaryXWiki80M2"/}}
74 {{comment}}
75 = Performances tests compared to <last super stable version> =
77 <a summary of the comparison with latest super stable version>
79 More details on <link to the test report>.
80 {{/comment}}
82 = Known issues =
84 * [[Bugs we know about>>]]
86 = Backward Compatibility and Migration Notes =
88 == General Notes ==
90 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.
92 == Issues specific to XWiki 8.0 Milestone 2 ==
94 * If you wish to use '.' or ':' characters in the "Create Page" Panel you'll now need to escape them. For example: ##My\.Space\:name##
95 * If, in your application/custom code, you were using ##XWiki.EntityReferenceTree## in the JavaScript API, you will need to update your code to the new structure of the ##children## property of an ##XWiki.EntityReferenceTreeNode##. Previously, the ##children## property was a map of ##<nameString, XWiki.EntityReferenceTreeNode>##. Now, it was changed to a map of ##<nameString, <XWiki.EntityType, XWiki.EntityReferenceTreeNode>>## because, at each level, you can have both a ##XWiki.EntityType.DOCUMENT## and a ##XWiki.EntityType.SPACE## node with the same name (i.e. siblings) and the old implementation did not consider this case, thus creating a bug. Using the new structure, the bug is fixed, but old code had/has to be updated.
97 == API Breakages ==
99 The following APIs were modified since XWiki 7.4.1:
101 * Allow associating a version different from the extension version to the features and allow indicating namespace constraint in an extension(((
102 {{code language="none"}}
103 org.xwiki.extension.Extension: Method 'public java.util.Collection getAllowedNamespaces()' has been added to an interface
104 org.xwiki.extension.Extension: Method 'public org.xwiki.extension.ExtensionId getExtensionFeature(java.lang.String)' has been added to an interface
105 org.xwiki.extension.Extension: Method 'public java.util.Collection getExtensionFeatures()' has been added to an interface
106 {{/code}}
107 )))
109 * Deprecating this class in favor of the standard library class with the same name(((
110 {{code language="none"}}
111 org.xwiki.velocity.introspection.AbstractChainableUberspector: Removed field inner
112 org.xwiki.velocity.introspection.DeprecatedCheckUberspector: Removed org.xwiki.velocity.introspection.ChainableUberspector from the set of implemented interface
113 org.xwiki.velocity.introspection.DeprecatedCheckUberspector: Removed org.xwiki.velocity.introspection.AbstractChainableUberspector from the list of superclasse
114 org.xwiki.velocity.introspection.MethodArgumentsUberspector: Removed org.xwiki.velocity.introspection.ChainableUberspector from the set of implemented interface
115 org.xwiki.velocity.introspection.MethodArgumentsUberspector: Removed org.xwiki.velocity.introspection.AbstractChainableUberspector from the list of superclasse
116 {{/code}}
117 )))

Get Connected