Version 28.1 by Thomas Mortagne on 2015/03/18

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 == Miscellaneous ==
14
Vincent Massol 9.1 15 * 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 16 * 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 17 {{code language="none"}}
18 xwiki.webapppath=
19 {{/code}}
Thomas Mortagne 28.1 20 * Debian packages based on Tomcat 8 have been added.
Guillaume Delhumeau 6.1 21
Vincent Massol 9.1 22 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.
23 )))
Thomas Mortagne 1.1 24
25 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.
26
27 = For Developers =
28
29 == Access Extension fields by name ==
30
31 Added a method in Extension to access a field (name, summary, version, etc.) value by name.
32
33 {{code language="java"}}
34 /**
35 * Get an extension field (name, summary, id, etc.) by name. Fallback on properties.
36 *
37 * @param <T> type of the field value
38 * @param fieldName the field name;
39 * @return the field value or null if none could be found
40 * @since 7.0RC1
41 */
42 @Unstable
43 <T> T get(String fieldName);
44 {{/code}}
45
Guillaume Delhumeau 5.1 46 == Skin Edition ==
47
48 * We have added a new [[extensions:Extension.Skin Application]] to easily edit a skin document.(((
49  {{image reference="skin-edit1.png" width="45%"/}} {{image reference="skin-edit2.png" width="45%"/}}
50 )))
51 * This application provides a new way to override a template. You do not need to edit the ##XWikiSkins## class anymore.
52 * It also provides the ability to override a file stored in a subdirectory.
53 * It is now possible to override the LESS templates.
54
Thomas Mortagne 7.1 55 == Extensions Repository improvements ==
56
57 * The new advanced extension search introduced in 7.0 Milestone 2 has been implemented on server side
58 * Source URL is now taken into account when importing an extension
59 * 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 60 * Extensions Repository REST service now return scm informations
Thomas Mortagne 7.1 61
Thomas Mortagne 16.1 62 == Solr index changes ==
63
64 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.
65
Thomas Mortagne 1.1 66 == Deprecated and Retired projects ==
67
Eduard Moraru 11.4 68 * 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 69
70 == Miscellaneous ==
71
Vincent Massol 2.1 72 * XAR Mojos now also format and verify attachment authors.
Vincent Massol 6.6 73 * ##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 74 * A new ##isMainWikiOnly()## method is available in ##AbstractMandatoryDocumentInitializer## for overriding to specify that the document should be initialized on the main wiki only.
75 * 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 76 * 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 77 * 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 78 * 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 19.1 79 * The default preferences (the ##XWikiPreferences## document) has been moved from ##xwiki-enterprise-ui-admin-user## to ##xwiki-enterprise-ui-mainwikipreferences##.
Thomas Mortagne 15.1 80
Thomas Mortagne 1.1 81 = Translations =
82
83 The following translations have been updated:
84
85 {{language codes="none, none"/}}
86
87 = Tested Browsers & Databases =
88
89 {{include reference="TestReports.ManualTestReportTemplateSummary"/}}
90
91 = Known issues =
92
93 * [[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]]
94
95 = Backward Compatibility and Migration Notes =
96
97 == General Notes ==
98
99 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.
100
Thomas Mortagne 17.1 101 == Issues specific to XWiki 7.0 RC 1 ==
Thomas Mortagne 1.1 102
Eduard Moraru 11.4 103 * 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 26.1 104 * The Solr index changed so it needs to be recreated in case some new feature would expect to find the new fields
Thomas Mortagne 22.1 105 * Debian packages based on Tomcat 5 and 6 has been removed since they are not supported by XWiki itself anymore
Vincent Massol 27.1 106 * [[XWiki now requires to be deployed in a Servlet Container support Servlet 3.0.1>>platform:AdminGuide.Installation||anchor="HPrerequisites"]]. For example:
107 ** Jetty 8.x
108 ** [[Tomcat 7.x>>http://tomcat.apache.org/whichversion.html]]
109 ** Glassfish 3.x
110 ** WebSphere 8.x
111 ** WebLogic 12.x
112 ** JBoss AS 6.x/7.x
113 ** Resin 4.0.1
Thomas Mortagne 1.1 114
115 == API Breakages ==
116
Thomas Mortagne 25.1 117 The following APIs were modified since XWiki 6.4.3:
Thomas Mortagne 1.1 118
119 {{code language="none"}}
120 <clirr output here>
121 {{/code}}

Get Connected