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