Version 19.2 by Manuel Smeria on 2013/10/21

Hide last authors
Thomas Mortagne 1.1 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 5.2) =
10
11 [[Full list of issues fixed and Dashboard for 5.3>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=11698]].
12
13 == <feature N> ==
14
15 <description of feature N>
16
17 == Miscellaneous ==
18
Vincent Massol 18.1 19 * Some XSS fixes.
20 * By default only results from XE instance pings and for non-snapshot versions are counted in Active Installs.
Thomas Mortagne 1.1 21
22 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%2C+XEM%29+and+status+%3D+Closed+and+resolution+%3D+Fixed+and+fixVersion+%3D+%22<version>%22&tempMax=1000]] fixed in this release.
23
24 = For Developers =
25
Thomas Mortagne 7.1 26 == DocumentReference Locale now taken into account in XWiki#exists and XWiki#getDocument ==
Thomas Mortagne 1.1 27
Vincent Massol 9.1 28 You can now use ##XWiki#exist## method to check for some translation existence too, before that the only way was to either load the XWikiDocument or write your own XWQL or HQL query.
Thomas Mortagne 1.1 29
Vincent Massol 9.1 30 ##XWiki#getDocument## has been modified accordingly too to be consistent so you don't need to go through ##XWikiDocument#getTranslatedDocument## anymore.
Thomas Mortagne 7.1 31
32 It also mean that you need to be careful of what Locale is in the DocumentReference with those APIs now.
33
Manuel Smeria 19.2 34 == New Extension Manager APIs ==
Thomas Mortagne 15.1 35
Manuel Smeria 19.2 36 === Extension sub script services ===
Thomas Mortagne 15.1 37
38 The ##extension## service now expose an extension point for extension related script service so that it's used as entry point for all of them.
39
40 By default the following are provided:
Manuel Smeria 19.2 41
Thomas Mortagne 15.1 42 * $services.extension.core (for core extensions APIs)
43 * $services.extension.local (for local extensions APIs)
44 * $services.extension.installed (for installed extensions APIs)
45 * $services.extension.xar (for XAR extension APIS)
46
Manuel Smeria 19.2 47 === Search for installed extension in a specific namespace ===
Thomas Mortagne 16.1 48
49 The following method has been added ##org.xwiki.extension.repository.InstalledExtensionRepository##:
50
51 {{code language="java"}}
52 /**
53 * Search installed extensions based of the provided pattern and only in the passed namespace.
54 * <p>
55 * The pattern is a simple character chain.
56 *
57 * @param pattern the pattern to search
58 * @param namespace the namespace where to search
59 * @param offset the offset from where to start returning search results
60 * @param nb the maximum number of search results to return
61 * @return the found extensions descriptors, empty list if nothing could be found
62 * @throws SearchException error when trying to search provided pattern
63 * @since 5.3M1
64 */
Thomas Mortagne 17.1 65 IterableResult<Extension> searchInstalledExtensions(String pattern, String namespace, int offset, int nb) throws SearchException;
Thomas Mortagne 16.1 66 {{/code}}
67
Vincent Massol 9.1 68 == XWiki Enterprise Archetype ==
69
70 A new archetype is now available to easily create your own product based on XWiki Enterprise. To use:
71
72 {{code}}
73 mvn archetype:generate \
74 -DarchetypeArtifactId=xwiki-enterprise-archetype \
75 -DarchetypeGroupId=org.xwiki.enterprise \
76 -DarchetypeVersion=5.3-milestone-1
77 {{/code}}
78
Vincent Massol 10.1 79 == XAR plugin improvements ==
80
81 The XAR plugin now provides the ability to change values in the XML pages. For example:
82
83 {{code}}
84 <plugin>
85 <groupId>org.xwiki.commons</groupId>
86 <artifactId>xwiki-commons-tool-xar-plugin</artifactId>
87 <configuration>
88 <transformations>
89 <transformation>
90 <file>Blog/WebHome.xml</file>
91 <xpath>/xwikidoc/object/property/itemsPerPage</xpath>
92 <value>100</value>
93 </transformation>
94 <transformation>
95 <artifact>org.xwiki.platform:xwiki-platform-administration-ui</artifact>
96 <file>XWiki/XWikiPreferences.xml</file>
97 <xpath>/xwikidoc/object/property/colorTheme</xpath>
98 <value>ColorThemes.Mint</value>
99 </transformation>
100 </transformations>
101 </configuration>
102 </plugin>
103 {{/code}}
104
Vincent Massol 11.1 105 == Miscellaneous ==
106
107 * [[Script Services implementations have been moved outside of the ##internal## package>>dev:Community.JavaCodeStyle||anchor="HPackagenames"]] in order for CLIRR to check them for backward incompatibilities and so that their API are made available in generated Javadoc.
108
Thomas Mortagne 1.1 109 == Deprecated and Retired projects ==
110
111 <description of deprecated and retired projects>
112
113 == Upgrades ==
114
115 The following dependencies have been upgraded:
116
117 * [[commons-fileupload 1.3>>http://jira.xwiki.org/browse/XCOMMONS-458]]
Thomas Mortagne 2.1 118 * [[cssparser 0.9.10>>http://jira.xwiki.org/browse/XCOMMONS-459]]
Thomas Mortagne 3.1 119 * [[XStream 1.4.5>>http://jira.xwiki.org/browse/XCOMMONS-462]]
Thomas Mortagne 13.1 120 * [[HttpClient 4.3>>http://jira.xwiki.org/browse/XCOMMONS-460]]
Thomas Mortagne 14.1 121 * [[Bean Validation 1.1>>http://jira.xwiki.org/browse/XCOMMONS-461]] (and [[Hibernate Validator 5.0.1>>http://jira.xwiki.org/browse/XWIKI-9548]])
Vincent Massol 19.1 122 * [[Struts 1.3.10>>http://jira.xwiki.org/browse/XWIKI-9582]]
Thomas Mortagne 1.1 123
124 = Translations =
125
126 The following translations have been updated:
127
128 {{language codes="none, none"/}}
129
130 = Tested Browsers & Databases =
131
Manuel Smeria 19.2 132 {{include reference="TestReports.ManualTestReportXWiki53M1Summary"/}}
Thomas Mortagne 1.1 133
134 = Known issues =
135
136 * [[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]]
137
138 = Backward Compatibility and Migration Notes =
139
140 == General Notes ==
141
142 You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from all the improvements listed above.
143
144 {{warning}}
145 Always make sure you compare your ##xwiki.cfg## and ##xwiki.properties## files with the newest version since some configuration parameters were 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.
146 {{/warning}}
147
148 == Issues specific to XWiki <version> ==
149
150 <issues specific to the project>
151
152 == API Breakages ==
153
154 The following APIs were modified since <project> <version - 1>:
155
156 {{code language="none"}}
157 <clirr output here>
158 {{/code}}

Get Connected