Changes between Version 13 and Version 14 of TracDev/ApiChanges/0.12
- Timestamp:
- Nov 19, 2009, 10:42:42 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/ApiChanges/0.12
v13 v14 132 132 ==== `trac.cache.CacheProxy` ^[source:trunk/trac/cache.py@#L87 (0.12)]^ ==== #CacheProxy 133 133 134 There's a new cache subsystem in [source:trunk/trac/cache.py trac.cache] so that Component instances cancache any data in a safe way. Whenever the cache entry is invalidated, the cached value will be automatically refreshed at the next retrieval, even if the invalidation occurs in a different process. This makes the `config.touch()` trick obsolete.134 There's a new cache subsystem in [source:trunk/trac/cache.py trac.cache] allowing Component instances to cache any data in a safe way. Whenever the cache entry is invalidated, the cached value will be automatically refreshed at the next retrieval, even if the invalidation occurs in a different process. This makes the `config.touch()` trick obsolete. 135 135 136 136 New decorators: … … 138 138 - `trac.cache.cached` ^[source:trunk/trac/cache.py@#L65 (0.12)]^ 139 139 140 See TracDev/Proposals/CacheInvalidation#CacheManager 140 See TracDev/Proposals/CacheInvalidation#CacheManager for details. 141 141 142 142 === New Interfaces === 143 ==== `trac. resource.IResourceManager` ^[source:trunk/trac/resource.py@#L28 (0.12)]^ ==== #IResourceManager143 ==== `trac.ticket.api.IMilestoneChangeListener` ^[source:trunk/trac/ticket/api.py@8828:141-157#L140 (0.12)]^ ==== #IMilestoneChangeListener 144 144 145 FIXME: just an example 145 Components implementing the `IMilestoneChangeListener` interface are notified upon creation, modification and deletion of milestones. The milestone model object is passed to each handler. Moreover, on modification an additional dictionary is passed, containing the attributes that were modified and their previous values. 146 147 See #6543 for details.