Edgewall Software

Changes between Version 13 and Version 14 of TracDev/ApiChanges/0.12


Ignore:
Timestamp:
Nov 19, 2009, 10:42:42 PM (14 years ago)
Author:
Remy Blank
Comment:

Added a section about IMilestoneChangeListener.

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/ApiChanges/0.12

    v13 v14  
    132132==== `trac.cache.CacheProxy` ^[source:trunk/trac/cache.py@#L87 (0.12)]^ ==== #CacheProxy
    133133
    134 There's a new cache subsystem in [source:trunk/trac/cache.py trac.cache] so that Component instances can 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.
     134There'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.
    135135
    136136New decorators:
     
    138138 - `trac.cache.cached` ^[source:trunk/trac/cache.py@#L65 (0.12)]^
    139139
    140 See TracDev/Proposals/CacheInvalidation#CacheManager
     140See TracDev/Proposals/CacheInvalidation#CacheManager for details.
    141141
    142142=== New Interfaces ===
    143 ==== `trac.resource.IResourceManager` ^[source:trunk/trac/resource.py@#L28 (0.12)]^ ==== #IResourceManager
     143==== `trac.ticket.api.IMilestoneChangeListener` ^[source:trunk/trac/ticket/api.py@8828:141-157#L140 (0.12)]^ ==== #IMilestoneChangeListener
    144144
    145 FIXME: just an example
     145Components 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
     147See #6543 for details.