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