Wiki source code of Release Notes for XWiki 4.4

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
14 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.
15
16 This is a stabilization release and as such it mostly contains bug fixes.
17
18 = New and Noteworthy (since XWiki 4.3.1) =
19
20 [[Full list of issues fixed and Dashboard for 4.4>>https://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=11291]].
21
22 Full list of issues fixed:
23
24 {{jira style="list" url="https://jira.xwiki.org" fields="type, status, key, summary" source="jql"}}
25 Project in ("XWiki Commons", "XWiki Rendering", "XWiki Platform", "XWiki Enterprise", "XWiki Enterprise Manager") and fixVersion in ("4.4-rc-1", "4.4") and resolution in ("Fixed") and component not in ("Build, Infrastructure and Tests")
26 {{/jira}}
27
28 = For Developers =
29
30 == Upgrades ==
31
32 The following dependencies have been upgraded:
33
34 * [[Pegdown 1.2.0>>https://jira.xwiki.org/browse/XRENDERING-257]]
35 * [[logback 1.0.9>>https://jira.xwiki.org/browse/XCOMMONS-309]]
36 * [[lucene 4.0.0>>https://jira.xwiki.org/browse/XWIKI-8404]]
37 * [[Solr 4.0.0>>https://jira.xwiki.org/browse/XWIKI-8578]]
38 * [[Apache commons-net 3.2>>https://jira.xwiki.org/browse/XCOMMONS-322]]
39 * [[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]]
40
41 == Miscellaneous ==
42
43 * We've [[replaced the Rendering Standalone JAR with a Rendering Standalone ZIP>>rendering:Main.GettingStarted||anchor="HUsingtheXWikiRenderingStandaloneZIP"]].
44 * Started experimenting with [[Mockito>>http://code.google.com/p/mockito/]].
45 * [[New unit and integration testing best practices>>dev:Community.Testing]].
46 * New Rendering Syntax module for the ##annotatedxhtml## syntax. Before this syntax was included in the Syntax module for the ##xhtml## syntax.
47
48 = Translations =
49
50 The following translations have been updated:
51
52 {{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"/}}
53
54 = Tested Browsers & Databases =
55
56 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]]):
57
58 {{velocity}}
59 ## name = iexplorer, firefox, chrome, safari, opera
60 {{/velocity}}
61
62 {{browser name="firefox" version="17.0.1"/}}
63
64 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]]):
65
66 {{velocity}}
67 ## name = hsqldb, mysql, postgresql, oracle, opera
68 {{/velocity}}
69
70 {{database name="hsqldb" version="2.2.9"/}}
71
72 = Known issues =
73
74 * Regression: Markdown support is broken due to a duplicate ASM JAR. To make it work, remove the ##asm-3.1.jar## file from your ##WEB-INF/lib## directory (fixed in XWiki 4.4.1).
75 * 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]]
76 * [[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]]
77
78 = Test Report =
79
80 No manual test were done for this version (see [[other past test reports>>TestReports.WebHome]] if you're curious).
81
82 = Backward Compatibility and Migration Notes =
83
84 == General Notes ==
85
86 {{warning}}
87 PLEASE, BACKUP YOUR DATABASE BEFORE STARTING YOUR WIKI.
88 AUTOMATED MIGRATION PROCEDURE TAKE PLACE AT STARTUP AND YOU MAY NEED TO START OVER IF YOU ENCOUNTER AN UNEXPECTED ISSUE.
89 {{/warning}}
90
91 You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from all the improvements listed above.
92
93 {{warning}}
94 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.
95 {{/warning}}
96
97 {{warning}}
98 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.
99 {{/warning}}
100
101 {{warning}}
102 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).
103 {{/warning}}
104
105 == Issues specific to XWiki 4.4 ==
106
107 * 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]].
108 * 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.
109
110 == API Breakages ==
111
112 The following APIs were modified since XWiki 4.3.1:
113
114 * Moved to Lucene 4 + moved non API classes to the ##internal## package:(((
115 {{code language="none"}}
116 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
117 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
118 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
119 {{/code}}
120 )))

Get Connected