Wiki source code of Release Notes for XWiki 6.4-milestone-1
Version 10.1 by Thomas Mortagne on 2014/11/11
Show last authors
author | version | line-number | content |
---|---|---|---|
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 6.3) = | ||
10 | |||
11 | [[Full list of issues fixed and Dashboard for <version>>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=<fill id here>]]. | ||
12 | |||
13 | == Velocity changes == | ||
14 | |||
15 | === Remove a Velocity Engine from the cache === | ||
16 | |||
17 | ##org.xwiki.velocity.VelocityFactory## now provide an API to remove a cached Velocity Engine. | ||
18 | |||
19 | === Cleanup unprotected namespaces === | ||
20 | |||
21 | VelocityEngine automatically get rid of the passed namespace at the end of execution unless it's protected. | ||
22 | |||
23 | In practice in means that the following: | ||
24 | |||
25 | {{code language="java"}} | ||
26 | engine.evaluate(new VelocityContext(), new StringWriter(), "namespace", "#macro(mymacro)toto#end") | ||
27 | |||
28 | Writer out = new StringWriter(); | ||
29 | engine.evaluate(new VelocityContext(), out, "namespace", "#mymacro()") | ||
30 | |||
31 | System.out.println(out.toString()) | ||
32 | {{/code}} | ||
33 | |||
34 | will now print | ||
35 | |||
36 | {{code language="none"}} | ||
37 | #mymacro() | ||
38 | {{/code}} | ||
39 | |||
40 | To get | ||
41 | |||
42 | {{code language="none"}} | ||
43 | toto | ||
44 | {{/code}} | ||
45 | |||
46 | you need the following | ||
47 | |||
48 | {{code language="java"}} | ||
49 | engine.startedUsingMacroNamespace("namespace") | ||
50 | |||
51 | try { | ||
52 | engine.evaluate(new VelocityContext(), new StringWriter(), "namespace", "#macro(mymacro)toto#end") | ||
53 | |||
54 | Writer out = new StringWriter(); | ||
55 | engine.evaluate(new VelocityContext(), out, "namespace", "#mymacro()") | ||
56 | |||
57 | System.out.println(out.toString()) | ||
58 | } finally { | ||
59 | engine.stoppedUsingMacroNamespace("namespace") | ||
60 | } | ||
61 | {{/code}} | ||
62 | |||
63 | == Miscellaneous == | ||
64 | |||
65 | <insert misc user stuff and important bug fix descriptions here in a list, when they are too small to warrant a section by themselves - Change the version in the URL below!> | ||
66 | |||
67 | 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%29+and+status+%3D+Closed+and+resolution+%3D+Fixed+and+fixVersion+%3D+%22<version>%22&tempMax=1000]] fixed in this release. | ||
68 | |||
69 | = For Developers = | ||
70 | |||
71 | == <developer feature N> == | ||
72 | |||
73 | <description of developer feature N> | ||
74 | |||
75 | == Deprecated and Retired projects == | ||
76 | |||
77 | <description of deprecated and retired projects> | ||
78 | |||
79 | == Upgrades == | ||
80 | |||
81 | The following dependencies have been upgraded: | ||
82 | |||
83 | * [[httpclient 4.3.6>>http://jira.xwiki.org/browse/XCOMMONS-681]] | ||
84 | * [[commons-codec 1.10>>http://jira.xwiki.org/browse/XCOMMONS-684]] | ||
85 | |||
86 | == Miscellaneous == | ||
87 | |||
88 | * A new parameter has been added to the 'get' action and the 'plain' xpage: ##htmlHeaderAndFooter##, which add the HTML headers (##<html>##,##<head>##,##<body>##, etc...) and footers (##</body>##, ##</html>##, etc...). It could be usefull to create lite popups that displays only the document content without any UI. | ||
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.ManualTestReportTemplateSummary"/}} | ||
99 | |||
100 | = Performances tests compared to <last super stable version> = | ||
101 | |||
102 | <a summary of the comparison with latest super stable version> | ||
103 | |||
104 | More details on <link to the test report>. | ||
105 | |||
106 | = Known issues = | ||
107 | |||
108 | * [[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]] | ||
109 | |||
110 | = Backward Compatibility and Migration Notes = | ||
111 | |||
112 | == General Notes == | ||
113 | |||
114 | 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. | ||
115 | |||
116 | == Issues specific to XWiki 6.4-milestone-1 == | ||
117 | |||
118 | * VelocityEngine automatically get rid of the passed namespace at the end of execution unless it's protected. See [[Velocity section>>||anchor="HVelocitychanges"]]. | ||
119 | |||
120 | == API Breakages == | ||
121 | |||
122 | The following APIs were modified since <project> <version - 1>: | ||
123 | |||
124 | {{code language="none"}} | ||
125 | <clirr output here> | ||
126 | {{/code}} |