From version < 4.2 >
edited by Vincent Massol
on 2015/12/10
To version < 6.1 >
edited by Thomas Mortagne
on 2015/12/11
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.VincentMassol
1 +XWiki.ThomasMortagne
Content
... ... @@ -22,10 +22,21 @@
22 22  
23 23  = For Developers =
24 24  
25 -== <developer feature N> ==
25 +== New lifespan LRU Cache setup ==
26 26  
27 -<description of developer feature N>
27 +It's now possible to define the maximum time to live since the entry is put in the cache. It used to be possible to set it only since the last time the value was used.
28 28  
29 +{{code language="java"}}
30 +// Configure cache eviction policy
31 +LRUEvictionConfiguration lru = new LRUEvictionConfiguration();
32 +// Set maximum size of the cache as 1000 entries
33 +lru.setMaxEntries(1000);
34 +// Set the maximum time to live since when the entry is used to 1 hour
35 +lru.setMaxIdle(3600)
36 +// Set the maximum time to live since when the entry is put in the cache to 1 hour
37 +lru.setLifespan(3600)
38 +{{/code}}
39 +
29 29  == Deprecated and Retired projects ==
30 30  
31 31  * XML-RPC module have been moved to https://github.com/xwiki-contrib/xwiki-platform-xmlrpc
... ... @@ -36,6 +36,7 @@
36 36  
37 37  * [[FOP 2.0>>http://jira.xwiki.org/browse/XWIKI-12871]]
38 38  * [[Jackson 2.6.4>>http://jira.xwiki.org/browse/XCOMMONS-893]]
50 +* [[guava 19>>http://jira.xwiki.org/browse/XCOMMONS-894]]
39 39  
40 40  == Miscellaneous ==
41 41  

This is the release notes for XWiki Commons, XWiki Rendering, XWiki Platform and XWiki Enterprise. They share the same release notes as they are released together and have the same version.

New and Noteworthy (since XWiki 7.4 Milestone 1)

Full list of issues fixed and Dashboard for 7.4.

Miscellaneous

See the full list of JIRA issues fixed in this release.

For Developers

New lifespan LRU Cache setup

It's now possible to define the maximum time to live since the entry is put in the cache. It used to be possible to set it only since the last time the value was used.

// Configure cache eviction policy
LRUEvictionConfiguration lru = new LRUEvictionConfiguration();
// Set maximum size of the cache as 1000 entries
lru.setMaxEntries(1000);
// Set the maximum time to live since when the entry is used to 1 hour
lru.setMaxIdle(3600)
// Set the maximum time to live since when the entry is put in the cache to 1 hour
lru.setLifespan(3600)

Deprecated and Retired projects

Upgrades

The following dependencies have been upgraded:

Miscellaneous

  • WebJars URL format now supports a wiki query string parameter to specify the wiki in which the webjars resource is available. For example: /xwiki/webjars/AjaxQ/0.0.2/ajaxq.js?wiki=mywiki

Translations

The following translations have been updated: 

  • Language
  • Language

Tested Browsers & Databases

The QA Tests are executed after the release has been done. Thus, they are being prepared now and will be published soon.

Performances tests compared to

More details on .

Known issues

Backward Compatibility and Migration Notes

General Notes

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.

Issues specific to XWiki

API Breakages

The following APIs were modified since :

Get Connected