Version 45.1 by Vincent Massol on 2012/05/30

Show last authors
1 (% style="font-size:x-large;" %)
2
3 {{box cssClass="floatinginfobox" title="**Contents**"}}
4 {{toc/}}
5 {{/box}}
6
7 This is the second milestone of the XWiki Enterprise 4.1 version ([[Roadmap>>Main.Roadmap]]).
8
9 = New and Noteworthy (since XWiki Enterprise 4.1 version) =
10
11 == Custom Chart Colors ==
12
13 It's now possible to select [[custom colors in Chart graphs>>extensions:Extension.Chart Macro]]. For example:
14
15 {{code}}
16 {{chart type="pie" source="inline" params="range:B2-D5;series:columns;colors:C3E3F7,1D9FF5,015891,012A45" title="Chart Test" width="320" height="240"}}
17 | |X |Y |Z
18 |Q1|1.2|3.4|1.3
19 |Q2|4.5|3.4|2.3
20 |Q3|1.2|4.5|9.0
21 |Q4|3.4|1.2|1.2
22 {{/chart}}
23 {{/code}}
24
25 Will generate:
26
27 {{image reference="extensions:Extension.Chart [email protected]"/}}
28
29 == Hide Technical Documents ==
30
31 * In the activity stream, events (such as edit or delete) triggered by hidden documents does not appear unless the user chose to "display hidden documents" in his user preferences.
32
33 == Extension Manager improvements ==
34
35 XWiki Enterprise 4.1 milestone 2 comes with a first version of the Merge Conflict Resolution UI. From now on, when your upgrade a XAR extension and the extension manager fails to automatically merge your changes with the changes from the new version of the extension the extension manager will guide you to resolve the conflict.
36
37 {{image reference="EM-mergeConflict.png"/}}
38
39 In its first iteration the UI only allows you to choose which version to keep. You can compare the versions to make the right decision. Only the document content changes are displayed for the moment. The plan is to show all document changes (including meta data, objects, class, attachments) in 4.1 final and to allow you to edit the diff, i.e. create a custom version, in XWiki Enterprise 4.2.
40
41 Other minor improvements of the extension manager UI include:
42
43 * Mark 'Show Details', 'Hide Details' and 'Back to list' buttons as secondary buttons
44 * Display an "upgrade" button instead of an "install" one when an extension is already installed
45 * Better messages for empty search results
46
47 See the [[Extension Manager Application documentation>>doc:extensions:Extension.Extension Manager Application]] for more details.
48
49 == Global and per-user timezone setting ==
50
51 Wiki administrators can now decide to use a specific timezone, without having to take care of the one set on the server. The following setting can be found under **Administration > Localization**.
52 Users will find the same setting, allowing them to see dates reflecting their current location. The user setting is accessible through **Profile > Preferences > Localization Preferences**.
53
54 {{image reference="timezone.jpg"/}}
55
56 == For developers ==
57
58 * There's a [[new Script Service allowing to access the Component Manager directly from scripts>>platform:DevGuide.Scripting||anchor="HXWikiComponentAccess"]]. For example:(((
59 {{code}}
60 {{groovy}}
61 def myComponent = services.component.getInstance(MyComponentRole.class)
62 {{/groovy}}
63 {{/code}}
64 )))
65 * We added a [[new Velocity uberspector that tries to convert method arguments>>doc:extensions:Extension.Velocity Module||anchor="HMethodArgumentsUberspector"]] to formal parameter types when the passed arguments don't match the method signature. For example:(((
66 {{code}}
67 $obj.someMethod('VALUE')
68 // will forward to
69 obj.someMethod(SomeEnum.VALUE)
70 // if obj has a method with signature someMethod(SomeEnum) and not someMethod(String)
71 {{/code}}
72 )))But this is not limited to enums. The conversion is done using the [[Properties Module>>doc:extensions:Extension.Properties Module]] which means you can create and register custom converters for data types specific to your application domain.
73 * It's now much easier to share variable between languages. For example:(((
74 {{code language="none"}}
75 {{groovy}}
76 var = "toto"
77 {{/groovy}}
78
79 {{velocity}}
80 $var
81 {{/velocity}}
82 {{/code}}
83
84 = Bug fixes and improvements =
85
86 * Filenames of entries in XAR files are now [[always decoded using UTF-8 during import>>http://jira.xwiki.org/browse/XWIKI-6863]]. The previous behavior was to use the platform encoding. The filenames have always been encoded using UTF-8 in XAR files, but now also the Unicode extra fields are included, so unpacking XAR files with InfoZIP will result in the filenames beeing properly reencoded with the local filesystems character set.
87
88 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%2C+XEM%29+and+status+%3D+Closed+and+resolution+%3D+Fixed+and+fixVersion+%3D+%224.1-milestone-2%22&tempMax=1000]] fixed in this release.
89
90 == Upgrades ==
91
92 The following dependencies have been upgraded:
93
94 * Restlet 2.0.14
95 * Reflections 0.9.7
96
97 = Test Report =
98
99 You can check the [[manual test report>>TestReports.ManualTestReportXE41M2]] to learn about what was tested and the results on various browsers.
100
101 == Tested Browsers ==
102
103 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]]):
104
105 {{browser name="firefox" version="12.0.1"/}}
106
107 == Tested Databases ==
108
109 {{database name="hsqldb" version="2.2.8"/}}
110
111 = Known issues =
112
113 * [[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]]
114
115 = Upgrade Notes =
116
117 == Version-specific Upgrade Notes ==
118
119 * The location where the HSQLDB database is located in the Standalone distribution has changed from ##database/## to ##data/database## in order to group all data in the same directory. The location of the HSQLDB is specified in ##hibernate.cfg.xml## with a default value of {{code}}jdbc:hsqldb:file:${environment.permanentDirectory}/database/xwiki_db;shutdown=true{{/code}}. Notice the introduction of the new ##${environment.permanentDirectory}## variable which points to the directory defined in ##xwiki.properties## in the ##environment.permanentDirectory## property (which defaults to ##data## for the Standalone distribution). When upgrading, make sure the location you have in your ##hibernate.cfg.xml## file matches the location where your HSQLDB database is located.
120
121 == General Upgrade Notes ==
122
123 {{info}}
124 If you're running in a multiwiki setup you'll also need to define the property //xwiki.store.migration.databases// in your //xwiki.cfg// file if you want to explicitly name some databases to be migrated as the default is now to migrate all databases. Database that are not migrated could not be accessed.
125 {{/info}}
126
127 You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from all the improvements listed above.
128
129 {{warning}}
130 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.
131 {{/warning}}
132
133 == API Breakages ==
134
135 The following APIs were modified since version 4.1:
136
137 {{code language="none"}}
138 TODO
139 {{/code}}
140 )))

Get Connected