Hide last authors
Vincent Massol 1.7 1 1 Release Notes for XWiki 1.0 Beta 5
Vincent Massol 1.1 2
Vincent Massol 1.6 3 The 1.0 Beta 5 version is mostly a bug fix release but with several nice enhancements as listed below.
Vincent Massol 1.1 4
5 #toc("" "" "")
6
7 1.1 Changes from 1.0 Beta 4
8
Thomas Mortagne 3.1 9 * [Lots of bugs fixed>https://jira.xwiki.org/secure/IssueNavigator.jspa?reset=true&&type=1&pid=10010&fixfor=10181&sorter/field=issuekey&sorter/order=DESC]
Vincent Massol 1.20 10 * Added support for parametrizing document resource bundles (See [internationalizing XWiki applications>platform:DevGuide.InternationalizingApplications])
Vincent Massol 1.18 11 * Upgrade to Velocity 1.5 Beta 2 and Velocity Tools 1.3 ([Velocity 1.5 Beta 2 release notes>http://wiki.apache.org/velocity/Velocity15ReleaseNotes])
12 * Security: prevents instantiating random classes in Velocity
Thomas Mortagne 3.1 13 * [Improved user profile sheet>https://jira.xwiki.org/browse/XWIKI-914]
Vincent Massol 1.18 14 * Add Calendar interface to edit and delete events
15 * Charting plugin is functional again
16 * Made Calendar and User profiles use [Microformats>http://microformats.org/wiki/Main_Page] (hCard and hCalendar)
17 * Allow putting Velocity code in CSS and Javascript skin files
Thomas Mortagne 3.1 18 * [Improved Calendar plugin>https://jira.xwiki.org/browse/XWIKI-911]
Vincent Massol 1.18 19 * Store the panel state (expanded/collapsed) for each user
20 * Experimental: Backend implementation for rename (renames the document + all backlinks). There's no GUI yet (planned for Beta 6). To try it out, you can call the following in Velocity:
21
Vincent Massol 1.8 22 {code}
Vincent Massol 1.20 23 $xwiki.getDocument("Space1.MyPageToRename").renameDocument("Space2.MyNewName")
Vincent Massol 1.8 24 {code}
25
Thomas Mortagne 3.1 26 See the [full list of changes>https://jira.xwiki.org/secure/ReleaseNote.jspa?version=10181&styleName=Html&projectId=10010&Create=Create].
Vincent Massol 1.6 27
Vincent Massol 1.1 28 1.1 Known issues
29
Thomas Mortagne 3.1 30 * [Bugs we know about>https://jira.xwiki.org/secure/IssueNavigator.jspa?reset=true&&type=1&pid=10010&resolution=-1&sorter/field=updated&sorter/order=DESC]
31 * If you follow the procedure for [Installing the XWiki WAR manually|platform:AdminGuide.Installation] and XAR importing, Administration -> Preferences screen will contain just labels without editable fields, due to [XAR import bug>https://jira.xwiki.org/browse/XWIKI-883]. To solve it, open object editor for XWikiPreferences (e.g. http://localhost:8080/xwiki/bin/edit/XWiki/XWikiPreferences?editor=object) and assign XWikiPreferences class. Default values could be copied from standalone installation.
Vincent Massol 1.1 32
Vincent Massol 1.18 33 1.1 Migrating from any previous version
Vincent Massol 1.3 34
35 This is only for users using a custom ~~web.xml~~ file. We have changed slightly the way to configure XWiki. Namely we have changed the way XWiki is initialized. Before we were initializing Velocity by using the ~~VelocityViewServlet~~ in ~~web.xml~~. This has been removed and we've added a ~~InitializationServletContextListener~~ class to perform all required XWiki initializations (right now we're only initializing Velocity). Thus you'll need to do the following starting from 1.0 beta 5 onwards:
36
37 # Remove the VelocityViewServlet from your web.xml
38 # Add the following 2 elements to your web.xml: context-param, listener. Here's an example:
39
40 {code:xml}
41 <web-app>
42 ...
43 <description>XWiki Application</description>
44
45 <!-- Define context level parameters for XWiki's initialization -->
46 <context-param>
47 <param-name>org.apache.velocity.properties</param-name>
48 <param-value>/WEB-INF/velocity.properties</param-value>
49 <description>Velocity's configuration</description>
50 </context-param>
51
52 <filter>
53 ...
54 </filter-mapping>
55
56 <!-- XWiki's initialization is done in a Servlet Context Listener. This is where we set up
57 everything that should be initialized prior to XWiki servicing requests. For example this
58 is where we initialize Velocity. -->
59 <listener>
60 <listener-class>com.xpn.xwiki.web.InitializationServletContextListener</listener-class>
61 </listener>
62
63 <servlet>
64 ...
65 {code}
66
Vincent Massol 1.14 67 #warning("In addition if you're upgrading an existing installation make sure you remove previous version of the Velocity JARs located in ~~xwiki/WEB-INF/lib~~ (Velocity and Velocity-Tools) and replace them with the new versions (Velocity 1.5 Beta 2 and Velocity-Tools 1.3) which can be found in the standalone distribution (the .exe or .tar.gz version)")
Vincent Massol 1.12 68
Vincent Massol 1.5 69 Make sure you check the additional migration notes for the specific version you're migrating from below.
Vincent Massol 1.4 70
Vincent Massol 1.18 71 1.1 Migration from 1.0 Beta 2, Beta 3 or Beta 4
Vincent Massol 1.1 72
73 * Start by making a backup of your current database.
74 * Plug your new XWiki install to point to your database.
75
76 1.1 Migration from 1.0 Beta 1
77
78 * Start by making a backup of your current database.
79 * Plug your new XWiki install to point to your database.
Sergiu Dumitriu 1.21 80 * In order to be able to let users switch from "simple" to "advanced" modes, you should import the new XWiki.XWikiUsers and XWiki.XWikiUserSheet pages in your wiki. You can do that by importing the [full XAR>xwiki:Main.Download] and then selecting only that page to be imported in the Import tab of the Administration view.
Vincent Massol 1.22 81 * You should also reimport the [Panels Application>extensions:Extension.Panels Application] since several bugs have been fixed.
Vincent Massol 1.1 82
83 1.1 Migration from 0.9.x versions
84
85 * Start by making a backup of your current database.
86 * Then there are 2 possible use cases:
Vincent Massol 1.20 87 ** __You want to keep your existing skin__. In that case, simply [install>platform:AdminGuide.Installation] the new version and point it to your existing database.
Vincent Massol 1.22 88 ** __You want to use the new 1.0 skin with your current database__. In that case, [install>platform:AdminGuide.Installation] the new version and point it to your existing database. Then start XWiki and [import>platform:AdminGuide.ImportExport] the [Panels XAR>extensions:Extension.Panels Application] (this is required as the new skin makes use of them). Last, go to your wiki Administration page and in the skin section, enter "xwiki10b1".
Vincent Massol 1.1 89 * In order to be able to let users switch from "simple" to "advanced" modes, you should import the new XWiki.XWikiUsers and XWiki.XWikiUserSheet pages in your wiki. You can do that by importing the [full XAR>Main.Download] and then selecting only that page to be imported in the Import tab of the Administration view.
90
Vincent Massol 1.20 91 Contact us on the [mailing list>dev:Community.MailingLists] if you're experiencing any problem. Just make sure you have your current database backed up before you do anything.
Vincent Massol 1.1 92

Get Connected