Changes between Version 8 and Version 9 of TracDev/ApiChanges/0.12
- Timestamp:
- Oct 9, 2009, 2:42:05 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/ApiChanges/0.12
v8 v9 108 108 See #8020 and #8675 for details. 109 109 110 ==== `CachedRepository` constructor ^[source:sandbox/multirepos/trac/versioncontrol/cache.py@8353:45#L40 (0.12)] [source:branches/0.11-stable/trac/versioncontrol/cache.py@8353:45#L38 (0.11)]^ ==== #CachedRepository 111 ''TODO: Fix (0.12) link after multirepos merge'' 112 113 In 0.11, the first argument to the `CachedRepository` constructor was a callable that would return a DB instance when called. In 0.12, the first argument has been changed to an `Environment` instance. Subclasses of `CachedRepository` must therefore be changed accordingly, and components implementing `IRepositoryConnector` and returning a `CachedRepository` or a subclass must pass `self.env` instead of a `getdb` callable. 114 110 115 111 116 == New in the 0.12 API ==