Show last authors
1 (% style="font-size:x-large;" %)
2
3
4
5
6 {{box cssClass="floatinginfobox" title="**Contents**"}}
7 {{toc/}}
8 {{/box}}
9
10 This is the second milestone of the XWiki Enterprise 4.1 version ([[Roadmap>>Main.Roadmap]]).
11
12 = New and Noteworthy (since XWiki Enterprise 4.1 version) =
13
14 == Custom Chart Colors ==
15
16 It's now possible to select [[custom colors in Chart graphs>>extensions:Extension.Chart Macro]]. For example:
17
18 {{code}}
19 {{chart type="pie" source="inline" params="range:B2-D5;series:columns;colors:C3E3F7,1D9FF5,015891,012A45" title="Chart Test" width="320" height="240"}}
20 | |X |Y |Z
21 |Q1|1.2|3.4|1.3
22 |Q2|4.5|3.4|2.3
23 |Q3|1.2|4.5|9.0
24 |Q4|3.4|1.2|1.2
25 {{/chart}}
26 {{/code}}
27
28 Will generate:
29
30 {{image reference="extensions:Extension.Chart [email protected]"/}}
31
32 == Hide Technical Documents ==
33
34 * 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.
35
36 == Extension Manager improvements ==
37
38 Other minor improvements include:
39
40 * Mark 'Show Details', 'Hide Details' and 'Back to list' buttons as secondary buttons
41 * Display an "upgrade" button instead of an "install" one when an extension is already installed
42 * Better messages for empty search results
43
44 See the [[Extension Manager Application documentation>>doc:extensions:Extension.Extension Manager Application]] for more details.
45
46 == Global and per-user timezone setting ==
47
48 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**.
49 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**.
50
51 {{image reference="timezone.jpg"/}}
52
53 == For developers ==
54
55 * There's a [[new Script Service allowing to access the Component Manager directly from scripts>>platform:DevGuide.Scripting||anchor="HXWikiComponentAccess"]]. For example:(((
56 {{code}}
57 {{groovy}}
58 def myComponent = services.component.getInstance(MyComponentRole.class)
59 {{/groovy}}
60 {{/code}}
61 )))
62 * 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:(((
63 {{code}}
64 $obj.someMethod('VALUE')
65 // will forward to
66 obj.someMethod(SomeEnum.VALUE)
67 // if obj has a method with signature someMethod(SomeEnum) and not someMethod(String)
68 {{/code}}
69 )))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.
70 * It's now much easier to share variable between languages. For example:(((
71 {{code language="none"}}
72 {{groovy}}
73 var = "toto"
74 {{/groovy}}
75
76 {{velocity}}
77 $var
78 {{/velocity}}
79 {{/code}}
80
81 = Bug fixes and improvements =
82
83 * 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.
84
85 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.
86
87 == Upgrades ==
88
89 The following dependencies have been upgraded:
90
91 * Restlet 2.0.14
92 * Reflections 0.9.7
93
94 = Test Report =
95
96 You can check the [[manual test report>>TestReports.ManualTestReportXE41M2]] to learn about what was tested and the results on various browsers.
97
98 == Tested Browsers ==
99
100 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]]):
101
102 TODO
103
104 = Known issues =
105
106 * [[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]]
107
108 = General Notes =
109
110 {{info}}
111 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.
112 {{/info}}
113
114 You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from all the improvements listed above.
115
116 {{warning}}
117 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.
118 {{/warning}}
119
120 == API Breakages ==
121
122 The following APIs were modified since version 4.1:
123
124 {{code language="none"}}
125 TODO
126 {{/code}}

Get Connected