Changes for page Release Notes for XWiki Enterprise 2.4
Last modified by Thomas Mortagne on 2023/10/13
From version 18.3
edited by Sergiu Dumitriu
on 2010/07/22
on 2010/07/22
Change comment:
Updated "Bugs we know about" link
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -101,7 +101,7 @@ 101 101 == Watchlist improvements == 102 102 103 103 * Allow to remove elements in the watchlist from the user profile 104 -* Add in virtual mode, add a wikis section in "elements in your watchlist"104 +* In virtual mode, added a wikis section in "elements in your watchlist" 105 105 106 106 [[image:watchlist.png||style="border:1px solid black;"]] 107 107 ... ... @@ -125,8 +125,10 @@ 125 125 126 126 == Performance improvements == 127 127 128 -* Defered scripts128 +* Scripts are //defered// by default, which means that ##<script>## tags will no longer block the page loading until the scripts are downloaded and executed, but will be downloaded in parallel and executed after the full DOM was loaded, right before the document becomes //ready//. 129 129 130 +{{warning}}This is an important change which might break the functionality of custom scripts. Since pulled scripts are executed after the full DOM was loaded, scripts that expect to be executed in place, for example scripts that use ##document.write##, or inline scripts which expect a JS library to be loaded, will fail, or might even make the document unusable. You can instruct the skin extension manager not to ##defer## problematic scripts, using, for example. ##$xwiki.ssx.use('Some.Extension', {'defer': false}##, but a better solution is to fix the code so that it works when being defered.{{/warning}} 131 + 130 130 == Chart macro improvements == 131 131 132 132 * Chart macro now supports more than 26 columns. ... ... @@ -204,8 +204,14 @@ 204 204 ERROR: org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro: Method 'protected java.lang.String evaluate(org.xwiki.rendering.macro.script.JSR223ScriptMacroParameters, java.lang.String, org.xwiki.rendering.transformation.MacroTransformationContext)' has been removed 205 205 {{/warning}} 206 206 209 +=== Pulled scripts are defered by default === 210 + 211 +This might break custom scripts, please check the correct behavior before upgrading a production server. Use Firebug in Firefox to catch errors, watch the error console, configure IE to notify all script errors. 212 + 207 207 == General Notes == 208 208 209 209 {{warning}} 210 210 Always make sure you compare your //xwiki.cfg// file with the newest version since some configuration parameters were added. Note 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. 211 211 {{/warning}} 218 + 219 +