Show last authors
1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
5 XWiki Enterprise 3.4 is a stabilization release as we're approaching the end of the [[3.x cycle>>enterprise:Main.Roadmap#HXWikiEnterprise3.xCycle]] so its main goal was to improve the Extension Manager and App Within Minutes features. However, this release also comes with a new look and a new default wiki page syntax.
7 = New and Noteworthy (since XWiki Enterprise 3.3 version) =
9 Checkout the full unabridged [[list of issues>>]] fixed in this release and, if you're interested in statistics, the [[JIRA dashboard>>]].
11 == New color themes ==
13 XWiki Enterprise 3.4 comes with a new default color theme and other three (Mint, Ruby and Dusk) that you can choose from. All four use CSS3 rules and new color variables in order to be able to have gradients. All color themes that were previously available are now considered deprecated and have been published as extensions: [[Default>>extensions:Extension.Default33 ColorTheme]], [[Bordo>>extensions:Extension.Bordo ColorTheme]], [[Nature>>extensions:Extension.Nature ColorTheme]], [[BlueSky>>extensions:Extension.BlueSky ColorTheme]], [[Inner Dark>>extensions:Extension.Inner Dark ColorTheme]], [[Nightfall>>extensions:Extension.Nightfall ColorTheme]] and [[Peach>>extensions:Extension.Peach ColorTheme]].
15 {{warning}}
16 This means that custom build color themes or skins build on top of Colibri may not be compatible with the recent changes when doing an upgrade.
17 {{/warning}}
19 In order to solve this problem you have two solutions: adjust your custom color themes with the new changes or don't upgrade the following wiki pages when upgrading the XAR: ##ColorThemes.DefaultColorTheme##, ##ColorThemes.ColorThemeTemplate##, ##XWiki.AdminSheet##, ##colorThemeInit.vm## and the following CSS files from Colibri skin: ##colibri.css## and ##ie-all.css##.
21 If you were using one of the deprecated colorthemes, please change the colortheme to one of the new bundled compatible ColorThemes: Default, Mint, Ruby or Dusk.
23 [[[[image:ReleaseNotesXWikiEnterprise34RC1@colorthemes34.png||style="border:1px solid gray; padding: 0.2em; width:600px;"]]>>attach:ReleaseNotesXWikiEnterprise34RC1@colorthemes34.png]]
25 == XWiki Syntax 2.1 is the default page syntax ==
27 Even though the XWiki Syntax 2.1 has been available for a long time already, it was marked experimental. We've now made it final which means no more changes will be brought to the XWiki Syntax 2.1 (any new change will be made in a new XWiki Syntax 2.2).
29 What it also means is that when you create a new page from now on, it'll be created in XWiki Syntax 2.1 syntax by default (you can still choose another syntax using the Syntax chooser in edit mode, see [[Page Editing>>platform:Features.PageEditing#HChoosingaSyntax]]).
31 As a reminder here are below the differences between XWiki Syntax 2.0 and XWiki Syntax 2.1.
33 === Changes to the link syntax from XWiki Syntax 2.0 ===
35 The query string and the anchor (URL fragment) are no longer specified in the reference section of the link syntax:
37 (% class="box code" %)
38 ~[~[Link Specification>>platform:Main.XWikiSyntax||**queryString**="foo=bar" **anchor**="HXWikiSyntax2.1LinkSpecification"]]
40 links to:
42 (% class="box code" %)
43 http:~/~/**?**foo=bar**#**HXWikiSyntax2.1LinkSpecification
45 The canonical representation of a link reference is prefixed with the reference type:
47 (% class="box code" %)
48 ~[~[Source repository>>**url:**https:~/~/]]
49 ~[~[Syntax Help>>**doc:**platform:Main.XWikiSyntax]]
51 InterWiki links have a dedicated reference type:
53 (% class="box code" %)
54 ~[~[XWiki on Wikipedia>>**interwiki:**wikipedia:XWiki]]
56 Two new reference types: relative path and [[UNC (Universal Naming Convention)>>]].
58 (% class="box code" %)
59 ~[~[Edit this page>>**path:**$doc.getURL('edit')]]
60 ~[~[File system access>>**unc:**~\~\myserver\path\to\file.txt]]
62 See the [[full link specification>>platform:Main.XWikiSyntax#HXWikiSyntax2.1LinkSpecification]] for more details.
64 === Changes to the image syntax from XWiki Syntax 2.0 ===
66 You can pass the query string of the image URL as a special image parameter:
68 (% class="box code" %)
69 ~[~[image~:MyPage@myPicture.png||**queryString**="parameter=value"]]
71 You can use a relative path as the image reference. This is useful to display images from the skin:
73 (% class="box code" %)
74 image~:**path:**$xwiki.getSkinFile('logo.png')
76 It is now possible to reference an icon from the [[XWiki Icon Set>>]]:
78 (% class="box code" %)
79 image~:**icon:**chart_pie
81 See the [[full image specification>>platform:Main.XWikiSyntax#HXWikiSyntax2.1ImageSpecification]] for more details.
83 == Delete space menu ==
85 You can now delete an entire space using the Space menu. This will move all the pages from that space to the recycle bin. Note that in case you want to restore the space you have to restore each page individually from the recycle bin. We're hoping to offer a way to easily restore the space in the next versions.
87 [[image:ReleaseNotesXWikiEnterprise34M1@DeleteSpaceMenu.png||style="border:1px solid gray; padding: 0.2em;"]]
89 == Simple space templates ==
91 You can now create simple space templates. If you go to Templates section of the wiki administration and create a new template provider you'll notice that you can choose the template type. "Space homepage" templates are used to create new spaces.
93 [[image:ReleaseNotesXWikiEnterprise34M1@SpaceTemplateProvider.png||style="border:1px solid gray; padding: 0.2em;"]]
95 All the available space templates are listed on the Create Space dialog that you can access from the Add > Space menu.
97 [[image:ReleaseNotesXWikiEnterprise34M1@CreateSpace.png||style="border:1px solid gray; padding: 0.2em;"]]
99 XWiki Enterprise comes by default with a space dashboard template which can be used to create a new space whose home page is a dashboard.
101 == Special characters in attachment name ==
103 Starting with this version, non-ASCII characters are not filtered anymore from the file name when uploading an attachment.
105 == Minimized action menu ==
107 The action menu is now minimized when the page is scrolled. You can access it by hovering the top of the browser window.
109 [[image:ReleaseNotesXWikiEnterprise34M1@MinimizedActionMenu.png||style="border:1px solid gray; padding: 0.2em;"]]
111 == Display macro ==
113 New display macro to replace include macro with context=new. See [[extensions:Extension.Display Macro]] for more details.
115 = Bug fixes and improvements =
117 * Tree view from document index should work fine in Internet Explorer 9.
118 * Adding users to a group through the administration should work fine in Internet Explorer 9.
119 * Extension manager UI has been polished.
120 * Created workspaces should now be stabilized and no longer report errors after an XWiki restart or in the Administration section.
122 = For Developers =
124 * Component manager bug fixes and improvements (including an important optimization which should bring a significant speed improvement)
125 * [[StringUtils>>]] can be accessed in Velocity using ##$stringtool##
126 * ###stop## Velocity directive is working again
127 * You can now stop the execution of a Velocity macro or template using ###break($macro)## and ###break($template)## respectively. ##$template## can also be used to find the name of the current Velocity name space (usually the name of the current Velocity template).
128 * [[Markdown>>]] syntax support added.
129 * The database migration code has been fully rewritten:
130 ** [[XWIKI-7006>>]] Accessing a store that is not migrated to the lastest data version should not be allowed
131 ** [[XWIKI-1859>>]] Do not start migrations on a clean installation of XWiki
132 * Oracle support improved
133 ** [[XWIKI-6368>>]] - Exception "inconsistent datatypes" on VisitStats in Oracle 10g
134 ** [[XWIKI-7278>>]] - Virtual mode fails on Oracle with "ORA-01435: user does not exist"
135 * Skin changes:
136 ** new ##.disabled## CSS class to mark disabled inputs, see [[documentation>>]].
137 ** new ##.hasIcon## class to be used for elements that have a background-icon attached. The class works in pair with other classes that specify the icon that will be used (e.g. ##.iconRSS##, ##.tmEdit## etc.). Checkout the [[documentation>>]] for other general purpose CSS classes.
138 ** in order to write more easily all the proprietary declarations for CSS3 background gradients and box-sizing properties you can use the following macros: ###css3_backgroundLinearGradient##, ###css3_backgroundIconAndLinearGradient## and ###css3_boxSizing##.
139 ** you can use the ##.png## version for the icons in the Silk icons set (the ##.gif## versions will gradually be replaced).
141 == Upgrades ==
143 The following dependencies have been upgraded:
145 * AETHER 1.13.1
146 * Groovy 1.8.5
147 * Hibernate 3.6.9
148 * jdeb 0.9
149 * Restlet 2.0.11
150 * Selenium 2.17
151 * Selenium Maven Plugin 2.2
152 * SmartGWT 3.0
154 == Translations ==
156 The following translations have been updated:
158 {{language codes="de, es, fr, hi, hr, lv, ru, sv, uk, zh_TW"/}}
160 = Tested Browsers =
162 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]]):
164 {{browser name="firefox" version="9.0.1"/}}
166 {{browser name="chrome" version="16"/}}
168 = Test Report =
170 You can check the [[manual test report>>TestReports.ManualTestReportXE34]] to learn about what was tested and the results on various browsers.
172 = Known issues =
174 * [[Bugs we know about>>]]
176 = Backward Compatibility and Migration Notes =
178 == General Notes ==
180 {{info}}
181 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.
182 {{/info}}
184 You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from all the improvements listed above.
186 {{warning}}
187 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.
188 {{/warning}}
190 {{warning}}
191 Upgrading may lead to style/display problems for custom build color themes or skins build on top of Colibri, since they may not be compatible with the recent colorthemes/skin changes [[read more>>ReleaseNotes.ReleaseNotesXWikiEnterprise34#HNewcolorthemes]]
192 {{/warning}}
194 == Issues specific to XWiki Enterprise 3.4 ==
196 === Default wiki access method changed to path-based ===
198 In virtual mode, XWiki can work in two ways: based on domain names, where each virtual wiki is accessed from a different DNS domain, like, and path-based, where each virtual wiki is accessed on a different path of the same domain, like Since the former mode is harder to set up, since it requires a custom DNS server, we have enabled the second mode by default in this release.
200 {{warning}}
201 When merging the xwiki.cfg for the migration process, keep in mind that the value of 'xwiki.virtual.usepath' has been changed to a default of 1 instead of 0. If your wiki is set to virtual mode and is using subdomains to access subwikis, make sure to set 'xwiki.virtual.usepath' to 0.
202 {{/warning}}
204 == API Breakages ==
206 The following APIs were modified since version 3.3:
208 {{code language="none"}}
209 Removed org.restlet.Filter from the list of superclasses
210 Removed org.restlet.Guard from the list of superclasses
211 Removed org.restlet.Uniform from the list of superclasses
212 In method 'public int authenticate(' the number of arguments has changed
213 Return type of method 'public int authenticate(' has been changed to boolean
214 Method 'public boolean checkSecret(, java.lang.String, char[])' has been removed
215 Removed org.restlet.Uniform from the list of superclasses
216 Removed com.noelios.restlet.ext.servlet.ServerServlet from the list of superclasses
217 Removed org.restlet.Filter from the list of superclasses
218 Removed org.restlet.Uniform from the list of superclasses
219 Parameter 1 of 'protected void afterHandle(,' has changed its type to org.restlet.Request
220 Parameter 2 of 'protected void afterHandle(,' has changed its type to org.restlet.Response
221 Parameter 1 of 'protected int beforeHandle(,' has changed its type to org.restlet.Request
222 Parameter 2 of 'protected int beforeHandle(,' has changed its type to org.restlet.Response
223 Parameter 1 of 'protected javax.servlet.http.HttpServletRequest getHttpRequest(' has changed its type to org.restlet.Request
224 Removed org.restlet.Handler from the list of superclasses
225 Removed org.restlet.resource.Resource from the list of superclasses
226 Parameter 2 of 'public BrowserAuthenticationResource(org.restlet.Context,,' has changed its type to org.restlet.Request
227 Parameter 3 of 'public BrowserAuthenticationResource(org.restlet.Context,,' has changed its type to org.restlet.Response
228 {{/code}}

Get Connected