Last modified by Thomas Mortagne on 2017/03/24

Show last authors
1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
4
5 {{warning}}
6 If you are migrating from an earlier version than 4.0, and your database contains statistics collected using a version earlier than 2.2, you will probably encounter an issue during our automated database migration. To avoid that issue, you will need to clean up your statistics by executing some SQL commands described in issue [[XWIKI-8129>>https://jira.xwiki.org/browse/XWIKI-8129]]. Be sure to apply these before attempting the migration. If your are in doubt, apply it, these could not hurt. If you don't, you will face duplicate IDs errors during the migration process, and it will fail, preventing you to run your wiki.
7 {{/warning}}
8
9 {{warning}}
10 If you are upgrading to this version from an older version which uses Lucene 3.x, you have to manually delete the lucene directory in the xwiki data directory. For example, that could cause Lucene to loop endlessly while trying to index pages, among other things. This is caused by the Lucene migration to 4.0 (see [[XWIKI-8404>>https://jira.xwiki.org/browse/XWIKI-8404]]).
11 {{/warning}}
12
13 This is the release notes for XWiki Platform, XWiki Enterprise and XWiki Enterprise Manager. They share the same release notes as they are released together and have the same version.
14
15 This is a stabilization release and as such it mostly contains bug fixes.
16
17 = New and Noteworthy (since XWiki 4.3.1) =
18
19 [[Full list of issues fixed and Dashboard for 4.4>>https://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=11291]].
20
21 Full list of issues fixed:
22
23 {{jira style="list" url="https://jira.xwiki.org" fields="type, status, key, summary" source="jql"}}
24 Project in ("XWiki Commons", "XWiki Rendering", "XWiki Platform", "XWiki Enterprise", "XWiki Enterprise Manager") and fixVersion in ("4.4-rc-1") and resolution in ("Fixed") and component not in ("Build, Infrastructure and Tests")
25 {{/jira}}
26
27 = For Developers =
28
29 == Upgrades ==
30
31 The following dependencies have been upgraded:
32
33 * [[Pegdown 1.2.0>>https://jira.xwiki.org/browse/XRENDERING-257]]
34 * [[logback 1.0.9>>https://jira.xwiki.org/browse/XCOMMONS-309]]
35 * [[lucene 4.0.0>>https://jira.xwiki.org/browse/XWIKI-8404]]
36 * [[Solr 4.0.0>>https://jira.xwiki.org/browse/XWIKI-8578]]
37 * [[Apache commons-net 3.2>>https://jira.xwiki.org/browse/XCOMMONS-322]]
38 * [[JGroups 3.2.5>>https://issues.jboss.org/issues/?jql=project%20%3D%20JGRP%20AND%20fixVersion%20in%20%28%223.2.5%22%2C%20%223.2.4%22%2C%20%223.2.3%22%2C%20%223.2.2%22%2C%20%223.2.1%22%29%20AND%20status%20%3D%20Resolved%20ORDER%20BY%20priority%20DESC]]
39
40 == Miscellaneous ==
41
42 * We've [[replaced the Rendering Standalone JAR with a Rendering Standalone ZIP>>rendering:Main.GettingStarted||anchor="HUsingtheXWikiRenderingStandaloneZIP"]].
43 * Started experimenting with [[Mockito>>http://code.google.com/p/mockito/]].
44 * [[New unit and integration testing best practices>>dev:Community.Testing]].
45
46 = Translations =
47
48 The following translations have been updated:
49
50 {{language codes="it,ca,cs,da,de,es,fr,gl,hi,hr,it,ko,lv,nl,no,pl,pt_BR,ro,ru,sk,sv,uk,vi,zh,zh_TW"/}}
51
52 = Tested Browsers & Databases =
53
54 Here's the list of browsers tested with this version (i.e. browsers that we've tested as working - Check the list of [[supported browsers>>dev:Community.BrowserSupportStrategy]]):
55
56 {{velocity}}
57 ## name = iexplorer, firefox, chrome, safari, opera
58 {{/velocity}}
59
60 {{browser name="firefox" version="17.0.1"/}}
61
62 Here's the list of databases tested with this version (i.e. databases that we've tested as working - Check the list of [[supported databases>>dev:Community.DatabaseSupportStrategy]]):
63
64 {{velocity}}
65 ## name = hsqldb, mysql, postgresql, oracle, opera
66 {{/velocity}}
67
68 {{database name="hsqldb" version="2.2.9"/}}
69
70 = Known issues =
71
72 * Regression: [[Image attachments are not scaled any more when the image dimensions are specified on the download request>>https://jira.xwiki.org/browse/XWIKI-8663]]
73 * [[Bugs we know about>>https://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]]
74
75 = Test Report =
76
77 No manual test were done for this version (see [[other past test reports>>TestReports.WebHome]] if you're curious).
78
79 = Backward Compatibility and Migration Notes =
80
81 == General Notes ==
82
83 {{warning}}
84 PLEASE, BACKUP YOUR DATABASE BEFORE STARTING YOUR WIKI.
85 AUTOMATED MIGRATION PROCEDURE TAKE PLACE AT STARTUP AND YOU MAY NEED TO START OVER IF YOU ENCOUNTER AN UNEXPECTED ISSUE.
86 {{/warning}}
87
88 You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from all the improvements listed above.
89
90 {{warning}}
91 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.
92 {{/warning}}
93
94 {{warning}}
95 If you are migrating from an earlier version than 4.0, and your database contains statistics collected using a version earlier than 2.2, you will probably encounter an issue during our automated database migration. To avoid that issue, you will need to clean up your statistics by executing some SQL commands described in issue [[XWIKI-8129>>https://jira.xwiki.org/browse/XWIKI-8129]]. Be sure to apply these before attempting the migration. If your are in doubt, apply it, these could not hurt. If you don't, you will face duplicate IDs errors during the migration process, and it will fail, preventing you to run your wiki.
96 {{/warning}}
97
98 {{warning}}
99 If you have encountered an issue with the migration, you may need to start over from a backup. Be careful that during the migration, two new tables have been created (in each xwiki database for a farm) and should be dropped when you restore a backup of a database coming from a version earlier than 4.x. These two tables are DATABASECHANGELOG and DATABASECHANGELOGLOCK. These should only be removed if you restore a pre-4.x database schema. Mixing an old database with these two tables will surely cause issue during schema updates (liquibase checksum failure).
100 {{/warning}}
101
102 == Issues specific to XWiki 4.4 RC 1 ==
103
104 * The Toucan skin has been removed from the platform and from the distribution packages. You can find the sources in the [[xwiki-contrib repository on github>>https://github.com/xwiki-contrib/skin-toucan]].
105 * The Lucene index specification has been changed to include a new field ##exactspace## and three other fields have been altered to better support exact matches. It is recommended to rebuild the whole Lucene index.
106
107 == API Breakages ==
108
109 The following APIs were modified since XWiki 4.3.1:
110
111 * Moved to Lucene 4 + moved non API classes to the ##internal## package:(((
112 {{code language="none"}}
113 com.xpn.xwiki.plugin.lucene.LucenePlugin: Parameter 1 of 'public void init(com.xpn.xwiki.plugin.lucene.IndexUpdater, com.xpn.xwiki.XWikiContext)' has changed its type to com.xpn.xwiki.plugin.lucene.internal.IndexUpdater
114 com.xpn.xwiki.plugin.lucene.LucenePlugin: Parameter 1 of 'public void init(com.xpn.xwiki.plugin.lucene.IndexUpdater, com.xpn.xwiki.plugin.lucene.IndexRebuilder, com.xpn.xwiki.XWikiContext)' has changed its type to com.xpn.xwiki.plugin.lucene.internal.IndexUpdater
115 com.xpn.xwiki.plugin.lucene.LucenePlugin: Parameter 2 of 'public void init(com.xpn.xwiki.plugin.lucene.IndexUpdater, com.xpn.xwiki.plugin.lucene.IndexRebuilder, com.xpn.xwiki.XWikiContext)' has changed its type to com.xpn.xwiki.plugin.lucene.internal.IndexRebuilder
116 {{/code}}
117 )))

Get Connected