Version 33.1 by Thomas Mortagne on 2014/01/27

Show last authors
1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
4
5 This is the release notes for [[XWiki Commons>>http://commons.xwiki.org]], [[XWiki Rendering>>http://rendering.xwiki.org]], [[XWiki Platform>>http://platform.xwiki.org]] and [[XWiki Enterprise>>http://enterprise.xwiki.org]]. They share the same release notes as they are released together and have the same version.
6
7 <insert description of release here>
8
9 = New and Noteworthy (since XWiki 5.4 Milestone 1) =
10
11 [[Full list of issues fixed and Dashboard for XWiki 5.4>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=11990]].
12
13 == Distribution Wizard improvements ==
14
15 === No Upgrade Mode anymore ===
16
17 The upgrade mode has been removed, instead both modes are kind of enabled: it's always proposed to upgrade subwikis from main wiki and the Distribution Wizard is also always enabled on sub-wikis and displayed only if there is something to do.
18
19 === New report step ===
20
21 A new last step has been introduce to display all the changes made to the wiki and give a chance to do some rollbacks.
22
23 {{image reference="dw-report.png"/}}
24
25 == Activity Stream improvements ==
26
27 * The name of the wiki where the event has happened is displayed now, if the event concerns an other wiki than the current one.
28 * On the main wiki, Activity Stream now display events from every wikis where the current user has view right.
29 [[{{image reference="activity.png" width="35%"/}}>>attach:activity.png]]
30
31 == Miscellaneous ==
32
33 * Images that are copy-pasted as HTML in the WYSIWYG editor now work fine, thanks to the added support of the [[Data URI scheme>>http://en.wikipedia.org/wiki/Data_URI_scheme]] in XWiki Syntax 2.1. The wiki syntax is:(((
34 {{code language="none"}}
35 image:data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAO9JREFUOE+lUrsNwjAUdCyWIBXjIEokVoCejgkyQ2gYAIkSsQUrUIUxwrund5bjX4OlyPG9u3v22Z2rjM1uWEtpkq//PC/fCs35UoHi/WGL8mTrErVsAJGJHU2KagGzHUi3I8iP+0s1nInXjBSPSfI/n2/vGTNFJZOVCRkYltdGl1FMRqmHYL0FFM6MjnFXaxCwNJMOZAbW6JyVkI1cbwcD3T5MGBjZLQxi8Lw9kp5iFFikUYwZr2dNQzQT7EavsDFOwl2ErNuIh5kgaX1E0bEyMTiZAcA0WAa26GSL7CUaHjJJz1wyqWLpe6gS/yn8AD9tcjFN7/ajAAAAAElFTkSuQmCC
36 {{/code}}
37 )))
38 * The user and group pickers now take into account [[the User Scope specified when you create a new wiki>>extensions:Extension.Wiki Application||anchor="HCreateanewwiki"]]. If the current wiki supports only global users then the user picker will suggest global users. If the current wiki supports both local and global users then the user picker has a toggle that lets you choose whether to get local or global suggestions. The group picker behaves slightly different because you can have local groups even when only global users are allowed (to be able to setup various rights for the global users). Thus the group picker shows the scope toggle when you are in a subwiki that accepts global users, otherwise it suggests only local groups (from the current wiki, which can be the main wiki).
39 * Increased the size of the security cache to improve performances from 500 entries to 10000 entries. This setting could still be overwritten in the infinispan configuration of the cache named ##platform.security.authorization.cache##. This new setting should be sufficient for most usages while the previous default were only valid for small single wiki.
40 * Improvement in the wiki descriptor pages. It is now consistent with our [[vertical forms standard>>platform:DevGuide.VerticalForms]].
41 [[{{image reference="descriptor-improvement1.png" width="35%"/}}>>attach:descriptor-improvement1.png]] [[{{image reference="descriptor-improvement2.png" width="35%"/}}>>attach:descriptor-improvement2.png]]
42 * When the user creates a new wiki, without a template, a message is displayed to explain him the Distribution Wizard will be started to initialize the new created wiki.
43 [[{{image reference="create-a-wiki-dw.png" width="35%"/}}>>attach:create-a-wiki-dw.png]]
44 * In the Activity Stream, the name of the wiki where the event has happened is displayed now, if the event concerns an other wiki than the current one.
45 [[{{image reference="activity.png" width="35%"/}}>>attach:activity.png]]
46
47 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+%22<version>%22&tempMax=1000]] fixed in this release.
48
49 = For Developers =
50
51 == New APIs to manipulate XAR files ==
52
53 A new ##"xar"## ScriptService has been introduced with APIs to manipulate XAR files. It does not yet contains a lot of methods and new will be added as needed. See [[XAR Module extension>>extensions:Extension.XAR Module]] for more details.
54
55 == Deprecated and Retired projects ==
56
57 <description of deprecated and retired projects>
58
59 == Upgrades ==
60
61 The following dependencies have been upgraded:
62
63 * <list libraries that have been upgraded>
64
65 == Miscellaneous ==
66
67 * We added a new parameter to the [[Live Table Velocity macro>>extensions:Extension.Livetable Macro]] named 'selectedTags' which controls the list of tags that are selected initially in the tag cloud. You can still select different tags after the live table loads. With this new parameter you can have a permanent link to a live table that has the rows filtered initially by some tags:(((
68 {{code language="none"}}
69 ## /xwiki/bin/view/Demo/WebHome?tag=news&tag=science
70 #set ($options = {
71 'className': 'Demo.DemoClass',
72 ...
73 'tagCloud': true,
74 'selectedTags': $request.getParameterValues('tag'),
75 ...
76 })
77 {{/code}}
78 )))
79 * The module {{code}}xwiki-platform-wiki-rest{{/code}} replaces the old module {{code}}xwiki-platform-wiki-manager-rest{{/code}} in order to move {{code}}xwiki-platform-wiki-manager{{/code}} in {{code}}contrib{{/code}}, but the API is unchanged.
80 * Verbosity of the job is now configurable right from the ##org.xwiki.job.Request## object
81 * Log generator now generates BeginEvent/EndEvent variants based on marker informations
82 * The following ##java.lang.Class## methods are now allowed in Velocity by default: ##name, isArray, isAssignableFrom, isEnum, isInstance, isInterface, isLocalClass, isMemberClass, isPrimitive, isSynthetic##
83 * Default job status does not provide log tree anymore. Was making the API too complex. It can be created from the log queue very easily in Java and a helper method has been added in logging ScriptService to create one: {{code language="velocity"}}$services.logging.toLogTree($logs){{/code}}
84 * Various APIs have been added to help translate log. See [[Logging Module>>extensions:Extension.Logging Module||anchor="HTranslatelog"]] for more details
85 * It's now [[possible to add new Images Types when rendering in XHTML>>rendering:Main.Extending||anchor="HAddinganewImageType"]]
86 * Introduced ##org.xwiki.observation.AbstractEventListener##
87 * New model API and script service API to create a tree from a list of entity references. See [[Model Module>>extensions:Extension.Model Module]] for more details
88 * [[New option in the XAR plugin's ##format## mojo to add missing license headers>>dev:Community.XARPlugin||anchor="HFormatMojo"]]
89
90 = Translations =
91
92 The following translations have been updated:
93
94 {{language codes="none, none"/}}
95
96 = Tested Browsers & Databases =
97
98 {{include reference="TestReports.ManualTestReportXWiki54RC1Summary"/}}
99
100 = Known issues =
101
102 * [[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]]
103
104 = Backward Compatibility and Migration Notes =
105
106 == General Notes ==
107
108 == General Notes ==
109
110 When upgrading make sure you compare your ##xwiki.cfg##, ##xwiki.properties## and ##web.xml## files with the newest version since some configuration parameters may have been modified or 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.
111
112 == Issues specific to XWiki 5.4RC1 ==
113
114 === New Velocity uberspector ===
115
116 If you modified {{code language="properties"}}velocity.properties = runtime.introspector.uberspect.chainClasses = ...{{/code}} property in ##xwiki.propertes## file you should make sure to replace ##org.apache.velocity.util.introspection.SecureUberspector## with ##org.xwiki.velocity.introspection.SecureUberspector##.
117
118 == API Breakages ==
119
120 The following APIs were modified since <project> <version - 1>:
121
122 {{code language="none"}}
123 <clirr output here>
124 {{/code}}
125
126 * {{code language="none"}}$services.wiki.lastException{{/code}}, {{code language="none"}}$services.wiki.user.lastException{{/code}}, {{code language="none"}}$services.wiki.template.lastException{{/code}} are deprecated now. Please use the corresponding {{code language="none"}}lastError{{/code}} function instead.

Get Connected