~ubuntu-branches/ubuntu/utopic/moodle/utopic

« back to all changes in this revision

Viewing changes to cache/upgrade.txt

  • Committer: Package Import Robot
  • Author(s): Thijs Kinkhorst
  • Date: 2014-05-12 16:10:38 UTC
  • mfrom: (36.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20140512161038-puyqf65k4e0s8ytz
Tags: 2.6.3-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
This files describes API changes in /cache/stores/* - cache store plugins.
2
2
Information provided here is intended especially for developers.
3
3
 
4
 
=== 2.5.3 ===
 
4
=== 2.6 ===
5
5
* All cache instances are recorded and subsequent requests are given a reference to the original instance.
6
6
* The persistent option for the cache definition has been deprecated. Please use the staticacceleration option instead.
7
7
* There is a new static acceleration option. If enabled data passing through the cache is held onto.
8
8
* The persistentmaxsize option has been renamed to staticaccelerationsize. It does the same thing.
9
9
* cache_definition::should_be_persistent has been deprecated. Please call cache_definition::use_static_acceleration instead.
10
10
* cache_definition::get_persistent_max_size has been deprecated. Please call cache_definition::get_static_acceleration_size instead.
 
11
* cache::is_using_persist_cache() has been deprecated. Please call  cache::use_static_acceleration()
 
12
* cache::is_in_persist_cache() has been deprecated. Please call  cache::static_acceleration_has()
 
13
* cache::get_from_persist_cache() has been deprecated. Please call  cache::static_acceleration_get()
 
14
* cache::set_in_persist_cache() has been deprecated. Please call  cache::static_acceleration_set()
 
15
* cache::delete_from_persist_cache() has been deprecated. Please call cache::static_acceleration_delete()
 
16
* If you have any custom cache loaders you will need to rename these methods if you have overriden them and adjust any calls you may have made to them.
11
17
 
12
18
=== 2.5 ===
13
19
* cleanup method renamed to instance_deleted.
14
20
  It is now called when the store is deleted as all comments suggested anyway.
15
21
* instance_created method added.
16
 
  It is called when the store is created for the very first time.
 
22
  It is called when the store is created for the very first time.
 
 
b'\\ No newline at end of file'