Wiki source code of Release Notes for XWiki Enterprise 4.1 Milestone 2
Version 31.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 | == For developers == | ||
46 | |||
47 | * There's a [[new Script Service allowing to access the Component Manager directly from scripts>>platform:DevGuide.Scripting||anchor="HXWikiComponentAccess"]]. For example:((( | ||
48 | {{code}} | ||
49 | {{groovy}} | ||
50 | def myComponent = services.component.getInstance(MyComponentRole.class) | ||
51 | {{/groovy}} | ||
52 | {{/code}} | ||
53 | ))) | ||
54 | * 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:((( | ||
55 | {{code}} | ||
56 | $obj.someMethod('VALUE') | ||
57 | // will forward to | ||
58 | obj.someMethod(SomeEnum.VALUE) | ||
59 | // if obj has a method with signature someMethod(SomeEnum) and not someMethod(String) | ||
60 | {{/code}} | ||
61 | )))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. | ||
62 | |||
63 | = Bug fixes and improvements = | ||
64 | |||
65 | TODO | ||
66 | |||
67 | 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. | ||
68 | |||
69 | == Upgrades == | ||
70 | |||
71 | The following dependencies have been upgraded: | ||
72 | |||
73 | TODO | ||
74 | |||
75 | = Test Report = | ||
76 | |||
77 | You can check the [[manual test report>>TestReports.ManualTestReportXE41M2]] to learn about what was tested and the results on various browsers. | ||
78 | |||
79 | == Tested Browsers == | ||
80 | |||
81 | 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]]): | ||
82 | |||
83 | TODO | ||
84 | |||
85 | = Known issues = | ||
86 | |||
87 | * [[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]] | ||
88 | |||
89 | = General Notes = | ||
90 | |||
91 | {{info}} | ||
92 | 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. | ||
93 | {{/info}} | ||
94 | |||
95 | You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from all the improvements listed above. | ||
96 | |||
97 | {{warning}} | ||
98 | 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. | ||
99 | {{/warning}} | ||
100 | |||
101 | == API Breakages == | ||
102 | |||
103 | The following APIs were modified since version 4.1: | ||
104 | |||
105 | {{code language="none"}} | ||
106 | TODO | ||
107 | {{/code}} |