Version 18.1 by Guillaume Delhumeau on 2015/03/17

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 7.0 Milestone 2) =
10
11 [[Full list of issues fixed and Dashboard for 7.0>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=13092]].
12
13 == <feature N> ==
14
15 <description of feature N>
16
17 == Miscellaneous ==
18
Vincent Massol 9.1 19 * Rendering page performances have been improved when using the Flamingo skin (thanks to the usage of [[Less4j>>https://github.com/SomMeri/less4j]] for the integration of the LESS language).
Thomas Mortagne 10.1 20 * When deploying XWiki as ROOT [[you must now set the ##xwiki.webapppath## property to empty>>platform:Main.ShortURLs||anchor="HDeployingasROOT"]] as in:(((
Vincent Massol 9.1 21 {{code language="none"}}
22 xwiki.webapppath=
23 {{/code}}
Guillaume Delhumeau 6.1 24
Vincent Massol 9.1 25 The reason is that XWiki cannot guess the webapp context from the URL in this case. This seemed to work on previous versions but it was actually leading to errors from time to time, depending on what URL was used when doing the first request on the XWiki instance.
26 )))
Vincent Massol 13.1 27 * [[XWiki now requires to be deployed in a Servlet Container support Servlet 3.0.1>>platform:AdminGuide.Installation||anchor="HPrerequisites"]]. For example:
28 ** Jetty 8.x
29 ** [[Tomcat 7.x>>http://tomcat.apache.org/whichversion.html]]
30 ** Glassfish 3.x
31 ** WebSphere 8.x
32 ** WebLogic 12.x
33 ** JBoss AS 6.x/7.x
34 ** Resin 4.0.1
35 * Debian packages based on Tomcat 8 have been added.
Thomas Mortagne 1.1 36
37 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+%22<version>%22&tempMax=1000]] fixed in this release.
38
39 = For Developers =
40
41 == Access Extension fields by name ==
42
43 Added a method in Extension to access a field (name, summary, version, etc.) value by name.
44
45 {{code language="java"}}
46 /**
47 * Get an extension field (name, summary, id, etc.) by name. Fallback on properties.
48 *
49 * @param <T> type of the field value
50 * @param fieldName the field name;
51 * @return the field value or null if none could be found
52 * @since 7.0RC1
53 */
54 @Unstable
55 <T> T get(String fieldName);
56 {{/code}}
57
Guillaume Delhumeau 5.1 58 == Skin Edition ==
59
60 * We have added a new [[extensions:Extension.Skin Application]] to easily edit a skin document.(((
61  {{image reference="skin-edit1.png" width="45%"/}} {{image reference="skin-edit2.png" width="45%"/}}
62 )))
63 * This application provides a new way to override a template. You do not need to edit the ##XWikiSkins## class anymore.
64 * It also provides the ability to override a file stored in a subdirectory.
65 * It is now possible to override the LESS templates.
66
Thomas Mortagne 7.1 67 == Extensions Repository improvements ==
68
69 * The new advanced extension search introduced in 7.0 Milestone 2 has been implemented on server side
70 * Source URL is now taken into account when importing an extension
71 * Search and advanced search are now implemented based on Solr which among other things make the search ordered by score by default and boost configuration has been associated to each extension element (high score for extension name and id, etc.)
Thomas Mortagne 8.1 72 * Extensions Repository REST service now return scm informations
Thomas Mortagne 7.1 73
Thomas Mortagne 16.1 74 == Solr index changes ==
75
76 All String based object properties raw values are now stored in the Solr index with _string suffix (exactly like for static lists properties) in DOCUMENT types. This mean that when upgrading to 7.0 you should recreate the Solr index so that they are added.
77
Thomas Mortagne 1.1 78 == Deprecated and Retired projects ==
79
Eduard Moraru 11.4 80 * The [[WatchList plugin>>extensions:Extension.Watchlist Plugin]] has been moved to legacy and was replaced by a component-based implementation. The legacy module still provides a plugin API for compatibility, but clients should move to the new script service instead.
Thomas Mortagne 1.1 81
82 == Upgrades ==
83
84 The following dependencies have been upgraded:
85
86 * <list libraries that have been upgraded>
87
88 == Miscellaneous ==
89
Vincent Massol 2.1 90 * XAR Mojos now also format and verify attachment authors.
Vincent Massol 6.6 91 * ##MandatoryDocumentInitializer## components can now use a ##@Priority## annotation to specify the order in which they should be executed. See [[XWIKI-11905>>http://jira.xwiki.org/browse/XWIKI-11905]].
Vincent Massol 6.5 92 * A new ##isMainWikiOnly()## method is available in ##AbstractMandatoryDocumentInitializer## for overriding to specify that the document should be initialized on the main wiki only.
93 * A new ##setDocumentFields()## method is available in ##AbstractMandatoryDocumentInitializer## to be called when initializing a regular document (which is not a class).
Eduard Moraru 12.1 94 * A new component based implementation of the watchlist module is now available (replacing the plugin one). See [[the documentation>>extensions:Extension.Watchlist API]] for more information.
Vincent Massol 14.1 95 * The XWiki pages for the [[XClass Application>>extensions:Extension.XClass Application]] (a.k.a Class Wizard or Class Editor Wizard) which were located in the ##xwiki-enterprise## GitHub repository have been moved into a ##xwiki-platform-xclass## Maven module in the ##xwiki-platform## GitHub repository.
Thomas Mortagne 15.1 96 * Added access to the document XDOM in ##com.xpn.xwiki.api.Document##. That means you can now do {{code language="velocity"}}$doc.getXDOM(){{/code}} and {{code language="velocity"}}$doc.setContent($xdom){{/code}}.
Guillaume Delhumeau 18.1 97 * The default preferences has been moved from ##xwwiki-enterprise-ui-admin-user## to ##xwiki-enterprise-ui-mainwikipreferences##.
Thomas Mortagne 15.1 98
Thomas Mortagne 1.1 99 = Translations =
100
101 The following translations have been updated:
102
103 {{language codes="none, none"/}}
104
105 = Tested Browsers & Databases =
106
107 {{include reference="TestReports.ManualTestReportTemplateSummary"/}}
108
109 = Performances tests compared to <last super stable version> =
110
111 <a summary of the comparison with latest super stable version>
112
113 More details on <link to the test report>.
114
115 = Known issues =
116
117 * [[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]]
118
119 = Backward Compatibility and Migration Notes =
120
121 == General Notes ==
122
123 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.
124
Thomas Mortagne 17.1 125 == Issues specific to XWiki 7.0 RC 1 ==
Thomas Mortagne 1.1 126
Eduard Moraru 11.4 127 * The [[WatchList plugin>>extensions:Extension.Watchlist Plugin]] has been moved to legacy and was replaced by a component-based implementation. The legacy module still provides a plugin API for compatibility, but clients should move to the new script service instead.
Thomas Mortagne 17.1 128 * The Solr index changed so it needs to be recreated to in case some new feature would expect to find the new fields
Thomas Mortagne 1.1 129
130 == API Breakages ==
131
132 The following APIs were modified since <project> <version - 1>:
133
134 {{code language="none"}}
135 <clirr output here>
136 {{/code}}

Get Connected