Release Notes for XWiki Enterprise 4.1 Milestone 2
This is the second milestone of the XWiki Enterprise 4.1 version (Roadmap).
New and Noteworthy (since XWiki Enterprise 4.1 version)
Custom Chart Colors
It's now possible to select custom colors in Chart graphs. For example:
| |X |Y |Z
|Q1|1.2|3.4|1.3
|Q2|4.5|3.4|2.3
|Q3|1.2|4.5|9.0
|Q4|3.4|1.2|1.2
{{/chart}}
Will generate:
Hide Technical Documents
- In the activity stream, events (such as edit or delete) triggered by hidden documents does not appear unless the user chose to "display hidden documents" in his user preferences.
Extension Manager improvements
Other minor improvements include:
- Mark 'Show Details', 'Hide Details' and 'Back to list' buttons as secondary buttons
- Display an "upgrade" button instead of an "install" one when an extension is already installed
- Better messages for empty search results
See the Extension Manager Application documentation for more details.
Global and per-user timezone setting
Wiki administrators can now decide to use a specific timezone, without having to take care of the one set on the server. The following setting can be found under Administration > Localization.
Users will find the same setting, allowing them to see dates reflecting their current location. The user setting is accessible through Profile > Preferences > Localization Preferences.
For developers
- There's a new Script Service allowing to access the Component Manager directly from scripts. For example:{{groovy}}
def myComponent = services.component.getInstance(MyComponentRole.class)
{{/groovy}} - We added a new Velocity uberspector that tries to convert method arguments to formal parameter types when the passed arguments don't match the method signature. For example:But this is not limited to enums. The conversion is done using the Properties Module which means you can create and register custom converters for data types specific to your application domain.$obj.someMethod('VALUE')
// will forward to
obj.someMethod(SomeEnum.VALUE)
// if obj has a method with signature someMethod(SomeEnum) and not someMethod(String) - It's now much easier to share variable between languages. For example:{{groovy}}
var = "toto"
{{/groovy}}
{{velocity}}
$var
{{/velocity}}Bug fixes and improvements
- Filenames of entries in XAR files are now always decoded using UTF-8 during import. The previous behavior was to use the platform encoding. The filenames have always been encoded using UTF-8 in XAR files, but now also the Unicode extra fields are included, so unpacking XAR files with InfoZIP will result in the filenames beeing properly reencoded with the local filesystems character set.
See the full list of JIRA issues fixed in this release.
Upgrades
The following dependencies have been upgraded:
- Restlet 2.0.14
- Reflections 0.9.7
Test Report
You can check the manual test report to learn about what was tested and the results on various browsers.
Tested Browsers
Here's the list of browsers tested with this version (i.e. browsers that we've tested as working - Check the list of supported browsers):
TODO
Known issues
General Notes
You may also want to import the default wiki XAR in order to benefit from all the improvements listed above.
API Breakages
The following APIs were modified since version 4.1:
TODO