Version 26.1 by Sergiu Dumitriu on 2010/10/04

Show last authors
1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
4
5 Second milestone of the XWiki Enterprise 2.5 version ([[Roadmap>>enterprise:Main.Roadmap]]).
6
7 The highlights of this release are: support for viewing attached office documents in the wiki, further improvements to the edit UI, more consistent use of user avatars.
8
9 = New and Noteworthy (since XWiki Enterprise 2.4) =
10
11 == Support for viewing attached office documents in the wiki ==
12
13 == Further improvements to the edit UI ==
14
15 == More image manipulation settings ==
16
17 For a long time it was possible to scale attached images on the server, thus reducing the download time and ensuring consistent scaling of images across browsers. This is achieved by appending ##width## and/or ##height## query string parameters to the URL of the image.
18
19 == Various Security improvements ==
20
21 Continuing a push for better security started this summer, 2.5M2 fixes some of the few cross-site scripting and SQL injections holes, and tightens the scope of programming rights. Of particular concern:
22
23 * With a default skin, programming rights are no longer available after the main content of the page; this means that the panels and the bottom tabs can't use restricted APIs anymore.
24 * To explicitly drop programming rights, a new API method was introduced: ##$xcontext.dropPermissions()##
25
26 = Backward Compatibility and Migration Notes =
27
28 == General Notes ==
29
30 {{warning}}
31 If you're running in a multiwiki setup you'll also need to define the property //xwiki.store.migration.databases=all// to your //xwiki.cfg// file or explicitly name all databases to be migrated as in //xwiki.store.migration.databases=db1,db2,...//.
32 {{/warning}}
33
34 You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from the improvements listed above.
35
36 {{warning}}
37 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.
38 {{/warning}}
39
40 == API Breakages ==
41
42 The following APIs were modified since XWiki Enterprise 2.4:
43
44 {{code language="none"}}
45 [ERROR] org.xwiki.rendering.transformation.MacroTransformationContext: Method 'public org.xwiki.rendering.internal.transformation.MacroTransformation getMacroTransformation()' has been removed
46 [ERROR] org.xwiki.rendering.transformation.MacroTransformationContext: Method 'public void setMacroTransformation(org.xwiki.rendering.internal.transformation.MacroTransformation)' has been removed
47 [ERROR] org.xwiki.rendering.transformation.Transformation: Method 'public void transform(org.xwiki.rendering.block.Block, org.xwiki.rendering.transformation.TransformationContext)' has been added to an interface
48 [ERROR] org.xwiki.rendering.transformation.TransformationManager: Method 'public void performTransformations(org.xwiki.rendering.block.Block, org.xwiki.rendering.transformation.TransformationContext)' has been added to an interface
49 {{/code}}

Get Connected