Version 42.2 by Marius Dumitru Florea on 2015/05/04

Show last authors
1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
4
5 This is the release notes for [[XWiki Commons>>http://commons.xwiki.org]], [[XWiki Rendering>>http://rendering.xwiki.org]], [[XWiki Platform>>http://platform.xwiki.org]] and [[XWiki Enterprise>>http://enterprise.xwiki.org]]. They share the same release notes as they are released together and have the same version.
6
7 <insert description of release here>
8
9 = New and Noteworthy (since XWiki 7.0) =
10
11 [[Full list of issues fixed and Dashboard for <version>>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=<fill id here>]].
12
13 == Extension Diff View Summary ==
14
15 Since [[XWiki 7.0RC1>>ReleaseNotes.ReleaseNotesXWiki70RC1||anchor="HExtensionDiffView"]] you can view the local changes that have been made to the wiki pages of an installed extension. In this release we have improved the diff view by adding a summary that will help you navigate the changes.
16
17 {{image reference="extensionDiffViewSummary.png" /}}
18
19 == Miscellaneous ==
20
21 * The Script Macro has been improved to [[return any type of value even no binding is used to output content>>extensions:Extension.Script Macro||anchor="HReturn"]].
22 * The default Java version triggered as dependency for the Debian packages is not Java 8
23 * In the [[extensions:Extension.Administration Application]], when you change the space you are administrating, you don't lose the current section anymore (if the current section exists in that space).(((
24 {{image reference="administration-change-space.png" width="50%"/}}
25 )))
26 * In edit mode, Password fields do not display the obfuscation placholder () anymore when the password value is empty. For example this removes the confusion when editing the Mail Admin UI and users were thinking that the SMTP Server password was set.
27 * Not existing document won't end up in the document cache anymore. That mean request lots of not existing document won't ditch "real" documents from the cache anymore.
28 * The WatchList application now uses the new Mail API instead of the old and deprecated Mail Plugin.
29 * The WatchList Realtime notification option has been reworked and the previous performance penalty has been removed.
30 * In [[extensions:Extension.App Within Minutes Application]], the newly created applications don't have 'App Within Minutes' as parent, but the webhome page of the current wiki and their homepage title doesn't contain the word 'Home' anymore.
31
32 See the [[full list of JIRA issues>>http://jira.xwiki.org/sr/jira.issueviews:searchrequest-printable/temp/SearchRequest.html?jqlQuery=project+in+%28XCOMMONS%2C+XRENDERING%2C+XWIKI%2C+XE%29+and+status+%3D+Closed+and+resolution+%3D+Fixed+and+fixVersion+%3D+%227.1-milestone-1%22&tempMax=1000]] fixed in this release.
33
34 = For Developers =
35
36 == Trigger Prototype Event Listeners from jQuery ==
37
38 The event listeners registered from Prototype are now notified when a custom XWiki event is fired using the jQuery API.
39
40 {{code language="js"}}
41 // Prototype (old code that you don't have time to rewrite)
42 document.observe('xwiki:dom:updated', function(event) {
43 event.memo.elements.each(function(element) {
44 // Do something.
45 });
46 });
47 ...
48 // jQuery (new code, in a different file/page)
49 require(['jquery', 'xwiki-events-bridge'], function($) {
50 $(document).trigger('xwiki:dom:updated', {'elements': $('.some-container').toArray()});
51 });
52 {{/code}}
53
54 See the [[developer's guide>>platform:DevGuide.JavaScriptAPI||anchor="HBridgingcustomXWikieventsbetweenPrototypeandjQuery"]] for more details.
55
56 == Deprecated and Retired projects ==
57
58 <description of deprecated and retired projects>
59
60 == Miscellaneous ==
61
62 * The XAR plugin's ##verify## mojo has been [[improved to allow passing a list of regexes to identify content and technical pages>>dev:Community.XARPlugin]]. For example:(((
63 {{code language="xml"}}
64 <plugin>
65 <groupId>org.xwiki.commons</groupId>
66 <artifactId>xwiki-commons-tool-xar-plugin</artifactId>
67 ...
68 <configuration>
69 ...
70 <!-- Consider all pages named *Translations as content pages by default -->
71 <contentPages>
72 <contentPage>.*Translations\.xml</contentPage>
73 </contentPages>
74 <!-- The EditTranslations page is not a Translation page and thus not a content page! -->
75 <technicalPages>
76 <technicalPage>EditTranslations\.xml</technicalPage>
77 </technicalPages>
78 </configuration>
79 </plugin>
80 {{/code}}
81 )))
82 * New ##$services.rendering.escape($content, $syntax)## method to escape XWiki syntax. See [[the documentation>>extensions:Extension.Rendering Module||anchor="HRenderingScriptService"]].
83 * The HTML5 renderer is now bundled in XWiki Enterprise.
84 * Added a new ##objectPolicy=updateOrCreate## parameter to the save action that allows editing and creating objects in one request. For more details, see [[the documentation>>platform:DevGuide.Standard URL Format||anchor="HParameter:objectPolicy"]].
85 * It is now possible to select the output syntax of a skin, in order to use the correct renderer.
86 * Ability to [[register a custom Resource Type>>extensions:Extension.Resource API||anchor="HAddinganewResourceTypeHandler"]].
87 * The WebJar integration now registers a ##webjar## URL type using a [[Resource Handler>>extensions:Extension.Resource API]] (it was reusing the ##bin## URL type before). The new WebJAR URL format is ##http:~/~/<server>/<context path>/webjars/<path/to/resource>[?version=<version>&evaluate=true|false]##. Note that you should use the [[exposed Script Service method to compute a WebJAR URL>>extensions:Extension.WebJars Integration]].
88 * The mime type of uploaded attachment is now automatically stored in the database and won't be recalculated each time it's asked. Also a new API has been introduced in ##com.xpn.xwiki.doc.XWikiAttachment## to change it if needed.
89 * The ConfigurableClass mechanism now supports adding field hints / descriptions. See the [[documentation>>extensions:Extension.Administration Application||anchor="HFieldsyoucandefine"]].
90 * The ##xwiki-platform-legacy-crypto-script## legacy module has been removed as it was conflicting with the Bouncy Castle 1.52 upgrade and we considered that there was little chance that this module was used anywhere in any extension. If by chance (so to speak) you were using it, you'd need to use the newer ##xwiki-platform-crypto-script## module and rebuild your extension with it.
91 * Added advanced search support to ##org.xwiki.extension.repository.ExtensionRepositoryManager##
92
93 == Upgrades ==
94
95 The following dependencies have been upgraded:
96
97 * [[httpclient and httpcore 4.4.1>>http://jira.xwiki.org/browse/XCOMMONS-778]]
98 * [[Groovy 2.4.3>>http://jira.xwiki.org/browse/XCOMMONS-779]]
99 * [[logback 1.1.3>>http://jira.xwiki.org/browse/XCOMMONS-781]]
100 * [[cssparser 0.9.15>>http://jira.xwiki.org/browse/XCOMMONS-782]]
101 * [[JGroups 3.6.3>>http://jira.xwiki.org/browse/XWIKI-11980]]
102 * [[slf4j 1.7.12>>http://jira.xwiki.org/browse/XCOMMONS-786]]
103 * [[Quartz 2.2.1>>http://jira.xwiki.org/browse/XWIKI-6465]]
104 * [[commons-lang3 3.4>>http://jira.xwiki.org/browse/XCOMMONS-789]]
105 * [[Maven 3.3.3>>http://jira.xwiki.org/browse/XCOMMONS-769]]
106 * [[Bouncy Castle 1.52>>http://jira.xwiki.org/browse/XCOMMONS-794]]
107 * [[Tika 1.8>>http://jira.xwiki.org/browse/XCOMMONS-793]]
108 * [[Infinispan 7.1.1>>http://jira.xwiki.org/browse/XWIKI-12042]]
109 * [[Jython 2.7.0>>http://jira.xwiki.org/browse/XWIKI-12040]]
110 * [[Lucene and Solr 4.10.4>>http://jira.xwiki.org/browse/XWIKI-12044]]
111 * [[sisu-guice 3.2.6>>http://jira.xwiki.org/browse/XCOMMONS-796]]
112 * [[org.eclipse.sisu.plexus to 0.3.1>>http://jira.xwiki.org/browse/XCOMMONS-795]]
113
114 = Translations =
115
116 The following translations have been updated:
117
118 {{language codes="none, none"/}}
119
120 = Tested Browsers & Databases =
121
122 {{include reference="TestReports.ManualTestReportSummaryXWiki71M1"/}}
123
124 = Known issues =
125
126 * [[Bugs we know about>>http://jira.xwiki.org/secure/IssueNavigator.jspa?reset=true&jqlQuery=category+%3D+%22Top+Level+Projects%22+AND+issuetype+%3D+Bug+AND+resolution+%3D+Unresolved+ORDER+BY+updated+DESC]]
127
128 = Backward Compatibility and Migration Notes =
129
130 == General Notes ==
131
132 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.
133
134 == Issues specific to XWiki <version> ==
135
136 <issues specific to the project>
137
138 == API Breakages ==
139
140 The following APIs were modified since <project> <version - 1>:
141
142 {{code language="none"}}
143 <clirr output here>
144 {{/code}}

Get Connected