Wiki source code of Release Notes for XWiki Enterprise 3.4 Milestone 1
Version 18.1 by Ecaterina Moraru (Valica) on 2012/01/13
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{box cssClass="floatinginfobox" title="**Contents**"}} | ||
2 | {{toc/}} | ||
3 | {{/box}} | ||
4 | |||
5 | This is the first and only milestone of the XWiki Enterprise 3.4 version ([[Roadmap>>Main.Roadmap]]). We're getting closer to the end of the 3.x cycle and the goal of this release (and the following one, which will be the last of the cycle) is to improve the current features. | ||
6 | |||
7 | = New and Noteworthy (since XWiki Enterprise 3.3 version) = | ||
8 | |||
9 | == New default color theme == | ||
10 | |||
11 | Starting with XE 3.4 we added new CSS3 rules into Colibri skin and a new default ColorTheme that is aligned with these changes. These CSS3 changes plus the usage of .png files instead of .gif for our icons ([[XWIKI-7355>>http://jira.xwiki.org/browse/XWIKI-7355]]) further even more the gap and compatibility with the IE6 and IE7 browsers. | ||
12 | |||
13 | To accomodate the need for additional color variables in order to be able to have gradients, we've mixed some ColorTheme variables together. As a consequence the bundled ColorThemes are considered now deprecated (because of incompatible variable mix) and will be replaced by other new ColorThemes in further versions (XE 3.4RC1). | ||
14 | |||
15 | {{warning}}This means that custom build ColorThemes or skins build on top of Colibri may not be compatible with the recent changes when doing an upgrade. {{/warning}} | ||
16 | |||
17 | In order to solve this problem you have two solutions: adjust your custom ColorThemes with the new changes or don't upgrade the following files: ColorThemes.DefaultColorTheme, XWiki.AdminSheet, colibri/colibri.css. colibri/ie-all.css. | ||
18 | |||
19 | [[[[image:NewDefaultColorTheme.png||style="border:1px solid gray; padding: 0.2em; width:600px;"]]>>attach:NewDefaultColorTheme.png]] | ||
20 | |||
21 | == XWiki 2.1 is the default page syntax == | ||
22 | |||
23 | {{todo}} | ||
24 | Write a page to explain the differences between XWiki 2.0 and XWiki 2.1 syntax. | ||
25 | {{/todo}} | ||
26 | |||
27 | == Delete space menu == | ||
28 | |||
29 | 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. | ||
30 | |||
31 | [[image:DeleteSpaceMenu.png||style="border:1px solid gray; padding: 0.2em;"]] | ||
32 | |||
33 | == Simple space templates == | ||
34 | |||
35 | 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. | ||
36 | |||
37 | [[image:SpaceTemplateProvider.png||style="border:1px solid gray; padding: 0.2em;"]] | ||
38 | |||
39 | All the available space templates are listed on the Create Space dialog that you can access from the Add > Space menu. | ||
40 | |||
41 | [[image:CreateSpace.png||style="border:1px solid gray; padding: 0.2em;"]] | ||
42 | |||
43 | 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. | ||
44 | |||
45 | == Special characters in attachment name == | ||
46 | |||
47 | Starting with this version, non-ASCII characters are not filtered anymore from the file name when uploading an attachment. | ||
48 | |||
49 | == Minimized action menu == | ||
50 | |||
51 | The action menu is now minimized when the page is scrolled. You can access it by hovering the top of the browser window. | ||
52 | |||
53 | [[image:MinimizedActionMenu.png||style="border:1px solid gray; padding: 0.2em;"]] | ||
54 | |||
55 | == Display macro == | ||
56 | |||
57 | New display macro to replace include macro with context=new. See [[extensions:Extension.Display Macro]] for more details. | ||
58 | |||
59 | = Bug fixes and improvements = | ||
60 | |||
61 | * Tree view from document index should work fine in Internet Explorer 9. | ||
62 | * Adding users to a group through the administration should work fine in Internet Explorer 9. | ||
63 | * Extension manager UI has been polished. {{todo}}Sergiu/Thomas: Anything to add here?{{/todo}} | ||
64 | * Created workspaces should now be stabilized and no longer report errors after an XWiki restart or in the Administration section. | ||
65 | |||
66 | = For Developers = | ||
67 | |||
68 | * Component manager bug fixes and improvements (including an important optimization which should bring a significant speed improvement) | ||
69 | * [[StringUtils>>http://commons.apache.org/lang/api/org/apache/commons/lang3/StringUtils.html]] can be accessed in Velocity using ##$stringtool## | ||
70 | * ###stop## Velocity directive is working again | ||
71 | * 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). | ||
72 | * [[Markdown>>http://en.wikipedia.org/wiki/Markdown]] syntax support added. | ||
73 | * Changes to the code that migrates the XWiki database {{todo}}Denis: Anything to add here or in the migration notes below?{{/todo}} | ||
74 | * [XWIKI-7323] Add a Maven "functional-test" custom lifecycle for functional tests {{todo}}Vincent: Is this worth mentioning? Anything to add?{{/todo}} | ||
75 | * Oracle support improved | ||
76 | ** [XWIKI-6368] - Exception "inconsistent datatypes" on VisitStats in Oracle 10g | ||
77 | ** [XWIKI-7278] - Virtual mode fails on Oracle with "ORA-01435: user does not exist" | ||
78 | * Interface changes | ||
79 | ** [[XWIKI-7326>>http://jira.xwiki.org/browse/XWIKI-7326]] - now available the .png version for the icons in the Silk icons set (the .gif versions will gradually be replaced) | ||
80 | ** [[XWIKI-7307>>http://jira.xwiki.org/browse/]] - 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 | ||
81 | |||
82 | == Upgrades == | ||
83 | |||
84 | The following dependencies have been upgraded: | ||
85 | |||
86 | * AETHER 1.13.1 | ||
87 | * Groovy 1.8.5 | ||
88 | * Hibernate 3.6.8 Final | ||
89 | * jdeb 0.9 | ||
90 | * Restlet 2.0.x | ||
91 | * SmartGWT 3.0 | ||
92 | |||
93 | == Translations == | ||
94 | |||
95 | The following translations have been updated: | ||
96 | |||
97 | {{language codes="de, es, fr, hi, hr, lv, ru, sv, uk, zh_TW"/}} | ||
98 | |||
99 | = Tested Browsers = | ||
100 | |||
101 | 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]]): | ||
102 | |||
103 | {{browser name="firefox" version="9.0.1"/}} | ||
104 | |||
105 | {{browser name="chrome" version="16"/}} | ||
106 | |||
107 | = Known issues = | ||
108 | |||
109 | * [[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]] | ||
110 | |||
111 | = Test Report = | ||
112 | |||
113 | You can check the [[manual test report>>TestReports.ManualTestReportXE34M1]] to learn about what was tested and the results on various browsers. | ||
114 | |||
115 | = Backward Compatibility and Migration Notes = | ||
116 | |||
117 | == General Notes == | ||
118 | |||
119 | {{warning}} | ||
120 | 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,...//. | ||
121 | {{/warning}} | ||
122 | |||
123 | You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from all the improvements listed above. | ||
124 | |||
125 | {{warning}} | ||
126 | Always make sure you compare your ##xwiki.cfg## and ##xwiki.properties## files with the newest version since some configuration parameters were 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. | ||
127 | {{/warning}} | ||
128 | |||
129 | == Issues specific to XWiki Enterprise 3.4 Milestone 1 == | ||
130 | |||
131 | === Default wiki access method changed to path-based === | ||
132 | |||
133 | 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 ##__wikiname__.myfarm.net##, and path-based, where each virtual wiki is accessed on a different path of the same domain, like ##www.myfarm.net/wikis/__wikiname__/##. 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. | ||
134 | |||
135 | {{warning}} | ||
136 | 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. | ||
137 | {{/warning}} | ||
138 | |||
139 | == API Breakages == | ||
140 | |||
141 | The following APIs were modified since version 3.3: | ||
142 | |||
143 | {{code language="none"}} | ||
144 | ERROR: 7012: org.xwiki.component.manager.ComponentEventManager: Method 'public void notifyComponentRegistered(org.xwiki.component.descriptor.ComponentDescriptor, org.xwiki.component.manager.ComponentManager)' has been added to an interface | ||
145 | ERROR: 7012: org.xwiki.component.manager.ComponentEventManager: Method 'public void notifyComponentUnregistered(org.xwiki.component.descriptor.ComponentDescriptor, org.xwiki.component.manager.ComponentManager)' has been added to an interface | ||
146 | ERROR: 7004: org.xwiki.component.annotation.ComponentAnnotationLoader: In method 'public void initialize(org.xwiki.component.manager.ComponentManager, java.lang.ClassLoader, java.util.List, java.util.List)' the number of arguments has changed | ||
147 | ERROR: 3005: org.xwiki.annotation.event.AbstractAnnotationEvent: Added abstract modifier to class | ||
148 | ERROR: 7009: org.xwiki.annotation.reference.IndexedObjectReference: Accessibility of method 'public void setName(java.lang.String)' has been decreased from public to protected | ||
149 | ERROR: 4001: com.xpn.xwiki.plugin.applicationmanager.ApplicationManagerPlugin: Removed org.xwiki.observation.EventListener from the set of implemented interfaces | ||
150 | ERROR: 7002: com.xpn.xwiki.plugin.applicationmanager.ApplicationManagerPlugin: Method 'public java.util.List getEvents()' has been removed | ||
151 | ERROR: 7002: com.xpn.xwiki.plugin.applicationmanager.ApplicationManagerPlugin: Method 'public void onEvent(org.xwiki.observation.event.Event, java.lang.Object, java.lang.Object)' has been removed | ||
152 | ERROR: 7002: org.xwiki.cache.eviction.EntryEvictionConfiguration: Method 'public void setAlgotithm(org.xwiki.cache.eviction.EntryEvictionConfiguration$Algorithm)' has been removed | ||
153 | ERROR: 7009: org.xwiki.model.reference.AttachmentReference: Accessibility of method 'public void setParent(org.xwiki.model.reference.EntityReference)' has been decreased from public to protected | ||
154 | ERROR: 7009: org.xwiki.model.reference.AttachmentReference: Accessibility of method 'public void setType(org.xwiki.model.EntityType)' has been decreased from public to protected | ||
155 | ERROR: 7009: org.xwiki.model.reference.ClassPropertyReference: Accessibility of method 'public void setParent(org.xwiki.model.reference.EntityReference)' has been decreased from public to protected | ||
156 | ERROR: 7009: org.xwiki.model.reference.ClassPropertyReference: Accessibility of method 'public void setType(org.xwiki.model.EntityType)' has been decreased from public to protected | ||
157 | ERROR: 7009: org.xwiki.model.reference.DocumentReference: Accessibility of method 'public void setParent(org.xwiki.model.reference.EntityReference)' has been decreased from public to protected | ||
158 | ERROR: 7009: org.xwiki.model.reference.DocumentReference: Accessibility of method 'public void setType(org.xwiki.model.EntityType)' has been decreased from public to protected | ||
159 | ERROR: 7002: org.xwiki.model.reference.DocumentReference: Method 'public void setWikiReference(org.xwiki.model.reference.WikiReference)' has been removed | ||
160 | ERROR: 7002: org.xwiki.model.reference.EntityReference: Method 'public org.xwiki.model.reference.EntityReference clone()' has been removed | ||
161 | ERROR: 7002: org.xwiki.model.reference.EntityReference: Method 'public java.lang.Object clone()' has been removed | ||
162 | ERROR: 7002: org.xwiki.model.reference.EntityReference: Method 'public org.xwiki.model.reference.EntityReference getChild()' has been removed | ||
163 | ERROR: 7014: org.xwiki.model.reference.EntityReference: Method 'public java.lang.String getName()' is now final | ||
164 | ERROR: 7014: org.xwiki.model.reference.EntityReference: Method 'public org.xwiki.model.reference.EntityReference getParent()' is now final | ||
165 | ERROR: 7014: org.xwiki.model.reference.EntityReference: Method 'public org.xwiki.model.EntityType getType()' is now final | ||
166 | ERROR: 7002: org.xwiki.model.reference.EntityReference: Method 'public void setChild(org.xwiki.model.reference.EntityReference)' has been removed | ||
167 | ERROR: 7009: org.xwiki.model.reference.EntityReference: Accessibility of method 'public void setName(java.lang.String)' has been decreased from public to protected | ||
168 | ERROR: 7009: org.xwiki.model.reference.EntityReference: Accessibility of method 'public void setParent(org.xwiki.model.reference.EntityReference)' has been decreased from public to protected | ||
169 | ERROR: 7009: org.xwiki.model.reference.EntityReference: Accessibility of method 'public void setType(org.xwiki.model.EntityType)' has been decreased from public to protected | ||
170 | ERROR: 7009: org.xwiki.model.reference.ObjectPropertyReference: Accessibility of method 'public void setParent(org.xwiki.model.reference.EntityReference)' has been decreased from public to protected | ||
171 | ERROR: 7009: org.xwiki.model.reference.ObjectPropertyReference: Accessibility of method 'public void setType(org.xwiki.model.EntityType)' has been decreased from public to protected | ||
172 | ERROR: 7012: org.xwiki.model.reference.ObjectPropertyReferenceResolver: Method 'public org.xwiki.model.reference.ObjectPropertyReference resolve(java.lang.Object, java.lang.Object[])' has been added to an interface | ||
173 | ERROR: 7009: org.xwiki.model.reference.ObjectReference: Accessibility of method 'public void setParent(org.xwiki.model.reference.EntityReference)' has been decreased from public to protected | ||
174 | ERROR: 7009: org.xwiki.model.reference.ObjectReference: Accessibility of method 'public void setType(org.xwiki.model.EntityType)' has been decreased from public to protected | ||
175 | ERROR: 7012: org.xwiki.model.reference.ObjectReferenceResolver: Method 'public org.xwiki.model.reference.ObjectReference resolve(java.lang.Object, java.lang.Object[])' has been added to an interface | ||
176 | ERROR: 7009: org.xwiki.model.reference.SpaceReference: Accessibility of method 'public void setParent(org.xwiki.model.reference.EntityReference)' has been decreased from public to protected | ||
177 | ERROR: 7009: org.xwiki.model.reference.SpaceReference: Accessibility of method 'public void setType(org.xwiki.model.EntityType)' has been decreased from public to protected | ||
178 | ERROR: 7009: org.xwiki.model.reference.WikiReference: Accessibility of method 'public void setType(org.xwiki.model.EntityType)' has been decreased from public to protected | ||
179 | ERROR: 7002: com.xpn.xwiki.api.XWiki: Method 'public com.xpn.xwiki.plugin.query.XWikiQuery createQueryFromRequest(java.lang.String)' has been removed | ||
180 | ERROR: 7002: com.xpn.xwiki.api.XWiki: Method 'public java.lang.String displaySearch(java.lang.String, java.lang.String)' has been removed | ||
181 | ERROR: 7002: com.xpn.xwiki.api.XWiki: Method 'public java.lang.String displaySearch(java.lang.String, java.lang.String, com.xpn.xwiki.plugin.query.XWikiCriteria)' has been removed | ||
182 | ERROR: 7002: com.xpn.xwiki.api.XWiki: Method 'public java.lang.String displaySearch(java.lang.String, java.lang.String, java.lang.String, com.xpn.xwiki.plugin.query.XWikiCriteria)' has been removed | ||
183 | ERROR: 7002: com.xpn.xwiki.api.XWiki: Method 'public java.lang.String displaySearchColumns(java.lang.String, com.xpn.xwiki.plugin.query.XWikiQuery)' has been removed | ||
184 | ERROR: 7002: com.xpn.xwiki.api.XWiki: Method 'public java.lang.String displaySearchColumns(java.lang.String, java.lang.String, com.xpn.xwiki.plugin.query.XWikiQuery)' has been removed | ||
185 | ERROR: 7002: com.xpn.xwiki.api.XWiki: Method 'public java.lang.String displaySearchOrder(java.lang.String, com.xpn.xwiki.plugin.query.XWikiQuery)' has been removed | ||
186 | ERROR: 7002: com.xpn.xwiki.api.XWiki: Method 'public java.lang.String displaySearchOrder(java.lang.String, java.lang.String, com.xpn.xwiki.plugin.query.XWikiQuery)' has been removed | ||
187 | ERROR: 7002: com.xpn.xwiki.api.XWiki: Method 'public java.util.List search(com.xpn.xwiki.plugin.query.XWikiQuery)' has been removed | ||
188 | ERROR: 7002: com.xpn.xwiki.api.XWiki: Method 'public java.lang.String searchAsTable(com.xpn.xwiki.plugin.query.XWikiQuery)' has been removed | ||
189 | ERROR: 8001: org.xwiki.query.QueryExecutorProvider: Class org.xwiki.query.QueryExecutorProvider removed | ||
190 | ERROR: 5001: org.xwiki.rest.XWikiAuthentication: Removed org.restlet.Filter from the list of superclasses | ||
191 | ERROR: 5001: org.xwiki.rest.XWikiAuthentication: Removed org.restlet.Guard from the list of superclasses | ||
192 | ERROR: 5001: org.xwiki.rest.XWikiAuthentication: Removed org.restlet.Uniform from the list of superclasses | ||
193 | ERROR: 7004: org.xwiki.rest.XWikiAuthentication: In method 'public int authenticate(org.restlet.data.Request)' the number of arguments has changed | ||
194 | ERROR: 7006: org.xwiki.rest.XWikiAuthentication: Return type of method 'public int authenticate(org.restlet.data.Request)' has been changed to boolean | ||
195 | ERROR: 7002: org.xwiki.rest.XWikiAuthentication: Method 'public boolean checkSecret(org.restlet.data.Request, java.lang.String, char[])' has been removed | ||
196 | ERROR: 5001: org.xwiki.rest.XWikiRestletJaxRsApplication: Removed org.restlet.Uniform from the list of superclasses | ||
197 | ERROR: 5001: org.xwiki.rest.XWikiRestletServlet: Removed com.noelios.restlet.ext.servlet.ServerServlet from the list of superclasses | ||
198 | ERROR: 5001: org.xwiki.rest.XWikiSetupCleanupFilter: Removed org.restlet.Filter from the list of superclasses | ||
199 | ERROR: 5001: org.xwiki.rest.XWikiSetupCleanupFilter: Removed org.restlet.Uniform from the list of superclasses | ||
200 | ERROR: 7005: org.xwiki.rest.XWikiSetupCleanupFilter: Parameter 1 of 'protected void afterHandle(org.restlet.data.Request, org.restlet.data.Response)' has changed its type to org.restlet.Request | ||
201 | ERROR: 7005: org.xwiki.rest.XWikiSetupCleanupFilter: Parameter 2 of 'protected void afterHandle(org.restlet.data.Request, org.restlet.data.Response)' has changed its type to org.restlet.Response | ||
202 | ERROR: 7005: org.xwiki.rest.XWikiSetupCleanupFilter: Parameter 1 of 'protected int beforeHandle(org.restlet.data.Request, org.restlet.data.Response)' has changed its type to org.restlet.Request | ||
203 | ERROR: 7005: org.xwiki.rest.XWikiSetupCleanupFilter: Parameter 2 of 'protected int beforeHandle(org.restlet.data.Request, org.restlet.data.Response)' has changed its type to org.restlet.Response | ||
204 | ERROR: 7005: org.xwiki.rest.XWikiSetupCleanupFilter: Parameter 1 of 'protected javax.servlet.http.HttpServletRequest getHttpRequest(org.restlet.data.Request)' has changed its type to org.restlet.Request | ||
205 | ERROR: 5001: org.xwiki.rest.resources.BrowserAuthenticationResource: Removed org.restlet.Handler from the list of superclasses | ||
206 | ERROR: 5001: org.xwiki.rest.resources.BrowserAuthenticationResource: Removed org.restlet.resource.Resource from the list of superclasses | ||
207 | ERROR: 7005: org.xwiki.rest.resources.BrowserAuthenticationResource: Parameter 2 of 'public BrowserAuthenticationResource(org.restlet.Context, org.restlet.data.Request, org.restlet.data.Response)' has changed its type to org.restlet.Request | ||
208 | ERROR: 7005: org.xwiki.rest.resources.BrowserAuthenticationResource: Parameter 3 of 'public BrowserAuthenticationResource(org.restlet.Context, org.restlet.data.Request, org.restlet.data.Response)' has changed its type to org.restlet.Response | ||
209 | {{/code}} |