Show last authors
1 (% style="font-size:x-large;" %)
2
3
4 {{box cssClass="floatinginfobox" title="**Contents**"}}
5 {{toc/}}
6 {{/box}}
7
8 This is the first milestone of the XWiki Enterprise 4.1 version ([[Roadmap>>Main.Roadmap]]). This release brings new 3D graphs made with pure XWiki syntax, safer Groovy scripting, and better hiding of internal application related documents.
9
10 = New and Noteworthy (since XWiki Enterprise 4.0 version) =
11
12 == 3D Charting ==
13
14 We've [[added 2 new types of charts>>extensions:Extension.Chart Macro]], **bar3D** and **line3D**, which draw 3D charts.
15
16 For example the following code:
17
18 {{code}}
19 {{chart type='bar3D' source='inline' params='range:B2-B9;series:columns'}}
20 |=Date|=Value
21 |2012-02-21|1.97
22 |2012-02-26|2.96
23 |2012-03-04|3.93
24 |2012-03-11|4.84
25 |2012-03-18|5.83
26 |2012-03-25|4.5
27 |2012-04-01|3.85
28 |2012-04-08|4.87
29 {{/chart}}
30 {{/code}}
31
32 Will be rendered as this:
33
34 [[image:chart-example.png]]
35
36 == Hide Technical Documents ==
37
38 This effort was started in XWiki 4.0. However in 4.0 we had only implemented the technical solution to mark documents as hidden but we didn't get the time to use it. Now in 4.1 we've marked a lot of documents as Technical and we've modified a lot of UI screens to only display technical documents for users who ask for it.
39
40 Specifically there's a User Profile preference that you can set if you wish to see technical documents:
41
42 {{image reference="hidetechnicaldocuments.png"/}}
43
44 More precisely, the following was implemented:
45
46 * Mark a lot of documents as technical documents in the default XWiki Enterprise XAR
47 * Filter hidden documents from Lucene search results
48 * Filter hidden documents from database search results
49 * Filter hidden documents from default panels
50 * Filter hidden documents in REST APIs
51 * Filter hidden documents in LiveTable results
52
53 As a consequence, by default, a user will only about 24 documents out of 300+ that exist in the default XWiki Enterprise XAR, making it a lot nicer and simpler to apprehend.
54
55 == Improvements to the Extension Manager ==
56
57 The speed and reliability of the Extension Repository Application has been improved considerably. For example the [[XWiki.org Extension Repository>>extensions:Extension.WebHome]] is now much faster when you access it from XWiki Enterprise and you should now be able to browse and install extensions in no time.
58
59 We polished the extension log (e.g. install log) display. In case the extension job fails (in the image below the job of computing the install plan fails) we extract the error message and display it. You can view the full stack trace by clicking on the error message.
60
61 image:EM-extensionLog.png
62
63 The install and uninstall plans have been improved to display extensions like in the dependency section. This way to can follow the link of an extension to find out more about what is going to be installed or uninstalled.
64
65 image:EM-uninstallPlan.png
66
67 The install and uninstall process is now completely asynchronous. You can see below how the progress is indicated.
68
69 image:EM-asyncInstall.png
70
71 == Taming of Groovy scripts ==
72
73 Since traditionally, Groovy scripts can enter into unstoppable infinite loops, use reflection to violate security assumptions, access server resources, or even crash the virtual machine, they have been off limits to non-administrators.
74
75 In a bid to open up new scripting options to less permitted users (especially in wiki farms where getting Programming Rights is a problem since it means having those rights on the whole farm), steps have been taken to make Groovy safer.
76
77 Groovy scripts are now technically allowed to users having simple Edit rights but the Groovy Sandbox is currently very restrictive (said differently, you cannot do anything useful with it at the moment! :)). Now that we have the mechanism in place our plan is to slowly open up allowed operations.
78
79 To enable and test this feature read the document for both the [[Commons Groovy Module>>extensions:Extension.GroovyModuleCommons]] and the [[Platform Groovy Module>>extensions:Extension.GroovyModulePlatform]].
80
81 === Compilation customizers ===
82
83 Customizers can be registered to alter the Groovy script as it is compiled such as filtering System.exit() calls and adding timeout checks to loops to prevent infinite looping. Learn more: http://www.jroller.com/melix/entry/upcoming_groovy_goodness_automatic_thread
84
85 === Stop run-away Groovy scripts after a configurable timeout ===
86
87 You can now configure your wiki to stop Groovy scripts after a configurable amount of run time. For example if you wish to have a timeout of 10 seconds for your XWiki runtime, you'd configure xwiki's ##xwiki.properties## with:
88
89 {{code language="none"}}
90 groovy.compilationCustomizers=timedinterrupt
91 groovy.customizer.timedInterrupt.timeout=10
92 {{/code}}
93
94 == New support for "short form" HQL queries in the Query Manager ==
95
96 When you send a search query to the Query Manager such as {{code language="none"}}where doc.creationDate > '2008-01-01'{{/code}} It is now assumed that you meant:
97
98 {{code language="none"}}
99 select doc.fullName from XWikiDocument as doc where doc.creationDate > '2008-01-01'
100 {{/code}}
101
102 == For developers ==
103
104 * New rendering compatibility test suite to make testing easier and simplify implementation of new syntax renderers. The compatibility report can be found here: http://rendering.xwiki.org/xwiki/bin/view/Main/SyntaxReport
105
106 * New API for upgrading installed XWiki Extensions.
107
108 = Bug fixes and improvements =
109
110 * Fixed wrong calculation of IDs for stats values making it impossible to upgrade a wiki to version 4.0 if statistics collection is enabled.
111 * Faster first startup time by not running a database migration when it is not needed.
112 * Simplify reverse proxy setup by making all HTTP redirects use relitive URLs.
113 * Add support for bold, italic and monospace in the TeX Renderer
114 * Was impossible to delete then recreate a subwiki with the same name, fixed.
115 * Fixed Javascript error when scrolling over Search Suggest results in Internet Explorer 6.
116 * Trying to change a document's parent from the REST service resulted in an error, fixed.
117 * It is now possible for non-administrators to execute cross-wiki XWQL queries.
118
119 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-1%22&tempMax=1000]] fixed in this release.
120
121 == For Developers ==
122
123 * Move ComponentManager deprecated methods to Legacy modules
124 * New Groovy module in xwiki-commons
125 * Add legacy module structure for XWiki Rendering
126 * Have one Maven module per XWiki Rendering syntax
127 * Separate Event Syntax from Rendering API by moving it to a Syntax module
128 * Plain syntax and Event syntax have been moved out of Rendering API nto their own modules.
129
130 == Upgrades ==
131
132 The following dependencies have been upgraded:
133
134 * Tika 1.1
135 * JGroups 3.0.10
136 * Pygments 1.5
137 * Selenium 2.21
138 * Maven AspectJ Plugin 1.4
139 * commons-io 2.3
140 * Maven Shade plugin 1.6
141
142 == Retired modules ==
143
144 The [[AutoTag plugin>>extensions:Extension.XWiki Platform - AutoTag plugin]] has been extracted from the oldcore into [[its own module>>url:https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwiki-platform-autotag]], and isn't distributed by default anymore. If your code depends on this plugin, you have to [[download it>>url:http://maven.xwiki.org/releases/org/xwiki/platform/xwiki-platform-autotag/]], copy it into your installation ##WEB-INF/lib##, and enable it in ##xwiki.cfg##.
145
146 = Test Report =
147
148 You can check the [[manual test report>>TestReports.ManualTestReportXE41M1]] to learn about what was tested and the results on various browsers.
149
150 == Tested Browsers ==
151
152 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]]):
153
154 {{browser name="firefox" version="12.0.1"/}}
155
156 = Known issues =
157
158 * [[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]]
159
160 = General Notes =
161
162 {{info}}
163 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.
164 {{/info}}
165
166 You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from all the improvements listed above.
167
168 {{warning}}
169 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.
170 {{/warning}}
171
172 == API Breakages ==
173
174 The following APIs were modified since version 4.0:
175
176 {{code language="none"}}
177 com.xpn.xwiki.doc.merge.MergeUtils: Class com.xpn.xwiki.doc.merge.MergeUtils removed
178 com.xpn.xwiki.plugin.autotag.AutoTagPlugin: Class com.xpn.xwiki.plugin.autotag.AutoTagPlugin removed
179 com.xpn.xwiki.plugin.autotag.AutoTagPluginAPI: Class com.xpn.xwiki.plugin.autotag.AutoTagPluginAPI removed
180 com.xpn.xwiki.plugin.autotag.FrenchStemmer: Class com.xpn.xwiki.plugin.autotag.FrenchStemmer removed
181 com.xpn.xwiki.plugin.autotag.Tag: Class com.xpn.xwiki.plugin.autotag.Tag removed
182 com.xpn.xwiki.plugin.autotag.TagCloud: Class com.xpn.xwiki.plugin.autotag.TagCloud removed
183 org.xwiki.query.QueryFilter: Method 'public java.util.List filterResults(java.util.List)' has been added to an interface
184 org.xwiki.gwt.wysiwyg.client.Images: Method 'public com.google.gwt.resources.client.ImageResource sync()' has been removed
185 org.xwiki.gwt.wysiwyg.client.Strings: Method 'public java.lang.String sync()' has been removed
186 org.xwiki.gwt.wysiwyg.client.diff.AddDelta: Class org.xwiki.gwt.wysiwyg.client.diff.AddDelta removed
187 org.xwiki.gwt.wysiwyg.client.diff.ChangeDelta: Class org.xwiki.gwt.wysiwyg.client.diff.ChangeDelta removed
188 org.xwiki.gwt.wysiwyg.client.diff.Chunk: Class org.xwiki.gwt.wysiwyg.client.diff.Chunk removed
189 org.xwiki.gwt.wysiwyg.client.diff.DeleteDelta: Class org.xwiki.gwt.wysiwyg.client.diff.DeleteDelta removed
190 org.xwiki.gwt.wysiwyg.client.diff.Delta: Class org.xwiki.gwt.wysiwyg.client.diff.Delta removed
191 org.xwiki.gwt.wysiwyg.client.diff.Diff: Class org.xwiki.gwt.wysiwyg.client.diff.Diff removed
192 org.xwiki.gwt.wysiwyg.client.diff.DiffAlgorithm: Class org.xwiki.gwt.wysiwyg.client.diff.DiffAlgorithm removed
193 org.xwiki.gwt.wysiwyg.client.diff.DiffException: Class org.xwiki.gwt.wysiwyg.client.diff.DiffException removed
194 org.xwiki.gwt.wysiwyg.client.diff.DifferentiationFailedException: Class org.xwiki.gwt.wysiwyg.client.diff.DifferentiationFailedException removed
195 org.xwiki.gwt.wysiwyg.client.diff.PatchFailedException: Class org.xwiki.gwt.wysiwyg.client.diff.PatchFailedException removed
196 org.xwiki.gwt.wysiwyg.client.diff.Revision: Class org.xwiki.gwt.wysiwyg.client.diff.Revision removed
197 org.xwiki.gwt.wysiwyg.client.diff.RevisionVisitor: Class org.xwiki.gwt.wysiwyg.client.diff.RevisionVisitor removed
198 org.xwiki.gwt.wysiwyg.client.diff.SimpleDiff: Class org.xwiki.gwt.wysiwyg.client.diff.SimpleDiff removed
199 org.xwiki.gwt.wysiwyg.client.diff.ToString: Class org.xwiki.gwt.wysiwyg.client.diff.ToString removed
200 org.xwiki.gwt.wysiwyg.client.diff.myers.DiffNode: Class org.xwiki.gwt.wysiwyg.client.diff.myers.DiffNode removed
201 org.xwiki.gwt.wysiwyg.client.diff.myers.MyersDiff: Class org.xwiki.gwt.wysiwyg.client.diff.myers.MyersDiff removed
202 org.xwiki.gwt.wysiwyg.client.diff.myers.PathNode: Class org.xwiki.gwt.wysiwyg.client.diff.myers.PathNode removed
203 org.xwiki.gwt.wysiwyg.client.diff.myers.Snake: Class org.xwiki.gwt.wysiwyg.client.diff.myers.Snake removed
204 org.xwiki.gwt.wysiwyg.client.plugin.sync.SyncPlugin: Class org.xwiki.gwt.wysiwyg.client.plugin.sync.SyncPlugin removed
205 org.xwiki.gwt.wysiwyg.client.plugin.sync.SyncPluginFactory: Class org.xwiki.gwt.wysiwyg.client.plugin.sync.SyncPluginFactory removed
206 org.xwiki.gwt.wysiwyg.client.plugin.sync.SyncResult: Class org.xwiki.gwt.wysiwyg.client.plugin.sync.SyncResult removed
207 org.xwiki.gwt.wysiwyg.client.plugin.sync.SyncService: Class org.xwiki.gwt.wysiwyg.client.plugin.sync.SyncService removed
208 org.xwiki.gwt.wysiwyg.client.plugin.sync.SyncServiceAsync: Class org.xwiki.gwt.wysiwyg.client.plugin.sync.SyncServiceAsync removed
209 org.xwiki.gwt.wysiwyg.client.plugin.sync.SyncStatus: Class org.xwiki.gwt.wysiwyg.client.plugin.sync.SyncStatus removed
210 org.xwiki.gwt.wysiwyg.client.plugin.sync.SyncTools: Class org.xwiki.gwt.wysiwyg.client.plugin.sync.SyncTools removed
211 org.xwiki.wysiwyg.server.plugin.sync.SyncEngine: Class org.xwiki.wysiwyg.server.plugin.sync.SyncEngine removed
212 org.xwiki.wysiwyg.server.plugin.sync.SyncException: Class org.xwiki.wysiwyg.server.plugin.sync.SyncException removed
213 {{/code}}

Get Connected