Version 21.1 by Vincent Massol on 2010/01/16

Show last authors
1 {{box cssClass="floatinginfobox" title="**Contents**"}}{{toc/}}{{/box}}
2
3 First milestone of the XWiki Enterprise 2.2 version ([[Roadmap>>enterprise:Main.Roadmap]]).
4
5 This release mainly introduces new Model, the possibility to register wiki macros for any user or wiki and many improvements of xar import.
6
7 = New and Noteworthy (since XWiki Enterprise 2.1.1) =
8
9 == Contextual wikimacros ==
10
11 It's now possible for any user to register wiki macro anywhere and in any wiki.
12
13 For example if the user does not have the proper right, only he will see the macro he registered, then an admin can re-save it to make it available for everyone if the macro is validated.
14
15 == General UI improvements ==
16
17 * In the wiki source code viewer, allow to toggle line numbers faster from Javascript
18 * Enable full screen view when displaying the wiki source code (viewer=code)
19 * Internationalize macro descriptors
20 * Attachment trash
21 * Display the contents of the Document Recycle Bin in the document index
22 * ActionMenu: Add Profile submenu item to the "current user" menu
23 image:XSCOLIBRI-170.png
24 * Reorder the document actions in the "More actions" menu: copy, rename, delete
25
26 == Development improvements ==
27
28 * Added support for "xcontext" binding in 1.0 groovy macro
29 * Allow set to null in velocity
30 * Add an API method for creating a LinkedHashMap
31 * New APIs for accessing deleted attachments from the trash
32 * The class wizard should propose to add a SheetClass object to the class sheet
33 * Add support for 'on page' style extensions
34
35 == Office import improvements ==
36
37 * Added support for Office2007 document formats
38
39 == XAR Import improvements ==
40
41 The XAR import interface has been revamped. The new interface (see screenshots below) now provides :
42
43 * More explicit options regarding revision history handling
44 * The new option to **add a new version to existing documents** instead of overriding them
45 * A rich UI that allows to select/unselect whole spaces at once
46 * Support for importing when no javascript is available. The UI degrades nicely to a less rich interface
47
48 [[image:importer.png||width="700"]]
49
50 == Blog improvement ==
51
52 * Add the Create a new post to category pages - when used by default select that category
53
54 == Dependencies upgrade ==
55
56 * Upgraded to Groovy 1.7
57
58 == New Model module with Reference implementation ==
59
60 The goal is to provide [[APIs>>http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-model/]] to remove all String manipulations around documents and attachment names. It also introduces the concept of Reference for any entity of the model and the parser/serializer associated. For now Wiki, Space, Document and attachment are supported; classes objects and properties should come in milestone 2.
61
62 From a user point of view this will result in supporting any character in document names for example. In addition, this is also a step in the direction of supporting nested spaces (the storage would also need to be changed to support that).
63
64 In practice the existing code has not yet been fully refactored to benefit from the new implementation. The work has been started in XWiki Enterprise 2.2 Milestone 1 and will continue in XWiki Enterprise 2.2 Milestone 2 and beyond.
65
66 == Miscellaneous ==
67
68 * Always use UTF-8 for URL encoding
69 * Attachments should produce document modification events
70
71 * Lots of accessibility fixes
72 * Lots of bugs fixes
73
74 = Known issues =
75
76 * [[Bugs we know about>>http://jira.xwiki.org/jira/secure/IssueNavigator.jspa?reset=true&&type=1&pid=10010&resolution=-1&sorter/field=updated&sorter/order=DESC]]
77
78 = Backward Compatibility and Migration Notes =
79
80 == General Notes ==
81
82 {{warning}}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 <tt>xwiki.store.migration.databases=db1,db2,...//.{{/warning}}
83
84 You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from the improvements listed above.
85
86 {{warning}}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.{{/warning}}
87
88 == Migration Notes ==
89
90 * The new parser/serializer for document names comes with new features and changes some behaviors:
91 ** introducing escaping means:
92 *** ##\## which is escaping character need to be doubled in full document name like in ##Space.Docume
93 nt## whcih mean space ##Space## and document ##Docum\ent##
94 *** some generated documents names will now contains ##\## to escape thing like dot in a document name. For example ##Space.Docu\.ment## means space ##Space## and document ##Docu.ment##
95 ** support for the syntax ##wikiname:Document## has been dropped, so in this example "wikiname:Document" will be seen as the document name because no ##.## has been found

Get Connected