Show last authors
1 (% style="font-size:x-large;" %)
4 {{box cssClass="floatinginfobox" title="**Contents**"}}
5 {{toc/}}
6 {{/box}}
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.
10 = New and Noteworthy (since XWiki Enterprise 4.0 version) =
12 == 3D Charting ==
14 We've [[added 2 new types of charts>>extensions:Extension.Chart Macro]], **bar3D** and **line3D**, which draw 3D charts.
16 For example the following code:
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}}
32 Will be rendered as this:
34 [[image:chart-example.png]]
36 == Hide Technical Documents ==
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.
40 Specifically there's a User Profile preference that you can set if you wish to see technical documents:
42 {{image reference="hidetechnicaldocuments.png"/}}
44 More precisely, the following was implemented:
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
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.
55 == Improvements to the Extension Manager ==
57 The speed and reliability of the Extension Repository Application has been improved considerably. For example the [[ 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.
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.
61 image:EM-extensionLog.png
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.
65 image:EM-uninstallPlan.png
67 The install and uninstall process is now completely asynchronous. You can see below how the progress is indicated.
69 image:EM-asyncInstall.png
71 == Taming of Groovy scripts ==
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.
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.
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.
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]].
81 === Compilation customizers ===
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:
85 === Stop run-away Groovy scripts after a configurable timeout ===
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 with:
89 {{code language="none"}}
90 groovy.compilationCustomizers=timedinterrupt
91 groovy.customizer.timedInterrupt.timeout=10
92 {{/code}}
94 == New support for "short form" HQL queries in the Query Manager ==
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:
98 {{code language="none"}}
99 select doc.fullName from XWikiDocument as doc where doc.creationDate > '2008-01-01'
100 {{/code}}
102 == For developers ==
104 * New rendering compatibility test suite to make testing easier and simplify implementation of new syntax renderers. The compatibility report can be found here:
106 * New API for upgrading installed XWiki Extensions.
108 = Bug fixes and improvements =
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.
119 See the full list of [[JIRA issues>>]] fixed in this release.
121 == For Developers ==
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.
130 == Upgrades ==
132 The following dependencies have been upgraded:
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
142 == Retired modules ==
144 The [[AutoTag plugin>>extensions:Extension.XWiki Platform - AutoTag plugin]] has been extracted from the oldcore into [[its own module>>url:]], and isn't distributed by default anymore. If your code depends on this plugin, you have to [[download it>>url:]], copy it into your installation ##WEB-INF/lib##, and enable it in ##xwiki.cfg##.
146 = Test Report =
148 You can check the [[manual test report>>TestReports.ManualTestReportXE41M1]] to learn about what was tested and the results on various browsers.
150 == Tested Browsers ==
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]]):
154 {{browser name="firefox" version="12.0.1"/}}
156 = Known issues =
158 * [[Bugs we know about>>]]
160 = General Notes =
162 {{info}}
163 If you're running in a multiwiki setup you'll also need to define the property // 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}}
166 You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from all the improvements listed above.
168 {{warning}}
169 Always make sure you compare your ##xwiki.cfg## and files with the newest version since some configuration parameters were added. Note that you should add 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}}
172 == API Breakages ==
174 The following APIs were modified since version 4.0:
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 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