Wiki source code of Release Notes for XWiki 4.4

Version 22.2 by Vincent Massol on 2013/01/02

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

Get Connected