Changes for page Release Notes for XWiki 8.1 Milestone 2
Last modified by Thomas Mortagne on 2017/03/24
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -68,6 +68,12 @@ 68 68 == Miscellaneous == 69 69 70 70 * The default LiveTable results page (##XWiki.LiveTableResults##, the page that generates the JSON displayed by the LiveTable) [[now supports a ##location## extra parameter>>extensions:Extension.Livetable Macro||anchor="HParameter24options"]]. 71 +* [[Modified WebJars URL format>>extensions:Extension.WebJars Integration||anchor="HURLFormat"]] and added some new Script Service methods:((( 72 +{{code language="none"}} 73 +public String url(String webjarId, String namespace, String path, Map<String, ?> params) 74 +public String url(String webjarId, String namespace, String path) 75 +{{/code}} 76 +))) 71 71 72 72 = Translations = 73 73 ... ... @@ -104,7 +104,7 @@ 104 104 105 105 == Issues specific to XWiki XWiki 8.1 Milestone 2 == 106 106 107 - <issues specific to the project>113 +* The WebJars URL format has been modified to support relative WebJars URL in subwikis. The new format is {{code language="none"}}/webjars/<namespace>/<path/to/resource>?...{{/code}}. Reminder: you should not use this format directly and instead you should use the Script Service to generate a valid WebJars URL; this isolate you from any URL change. Example from Velocity: {{code language="none"}}$services.webjars.url(...){{/code}}. 108 108 109 109 == API Breakages == 110 110