Show last authors
1 {{velocity}}
2 #macro(listReleaseNotesCycle $majorVersion)
3 #set ($releaseNotes = $services.query.xwql('from doc.object(ReleaseNotes.Code.ReleaseNoteClass) as releaseNotes where releaseNotes.version like :majorVersion order by releaseNotes.version desc').bindValue('majorVersion', "$majorVersion.%").execute())
4 #set ($previousVersion = "")
5 #foreach ($release in $releaseNotes)
6 #set ($releaseDoc = $xwiki.getDocument($release))
7 #set ($version = $releaseDoc.getValue('version'))
8 #set ($minorVersionEnd = $stringtool.ordinalIndexOf($version, '.', 2))
9 #if ($minorVersionEnd == -1)
10 #set ($minorVersionEnd = $version.indexOf('-'))
11 #end
12 #if ($minorVersionEnd != -1)
13 #set ($minorVersion = $version.substring(0, $minorVersionEnd))
14 #else
15 #set ($minorVersion = $version)
16 #end
17 #if ($minorVersion != $previousVersion)
18 === Version ${minorVersion}.x ===
19 #end
20 * [[$releaseDoc.plainTitle>>$release]]
21 #set ($previousVersion = $minorVersion)
22 #end
23 #end
24 {{/velocity}}

Get Connected