Changes between Version 31 and Version 32 of TracDev/ApiChanges/0.11
- Timestamp:
- Mar 13, 2008, 11:33:01 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/ApiChanges/0.11
v31 v32 1 1 = !TracDev/ApiChanges/0.11 = 2 2 3 '''Note: Development of Trac [milestone:0.11] has started with r3804 and now at r6 486 is quite close to release. The API can be considered stable and there's even a [TracDownload#LatestBetaRelease0.11b1beta1 beta 1release] available.3 '''Note: Development of Trac [milestone:0.11] has started with r3804 and now at r6687 is getting incredibly closer to release. The API can be considered stable and there's even a [TracDownload#LatestBetaRelease0.11b2beta2 beta 2 release] available. 4 4 Please keep in mind that the information in this page is ''still'' work in progress (most notably the sections marked with `TBD`).''' 5 5 … … 102 102 `render_macro(req, name, content)` will likely be removed in [milestone:0.12]. 103 103 104 ==== `IHTMLPreviewRenderer` ^[source:trunk/trac/wiki/api.py@head#L213 (0.11)] [source:tags/trac-0.10/trac/wiki/api.py@head#L209 (0.10)]^ ==== #IHTMLPreviewRenderer 104 ==== `IHTMLPreviewRenderer` ^[source:trunk/trac/wiki/api.py@head#L213 (0.11)] [source:tags/trac-0.10/trac/wiki/api.py@head#L209 (0.10)]^ ==== #IHTMLPreviewRenderer 105 105 106 106 Similar to the above change, `render(req, mimetype ...)` is now `render(context, mimetype ...)`, `context` being a rendering `Context` (see below). 107 107 It doesn't matter that much however, as it looks like that this interface is going to be integrated in `IContentConverter` anyway (see #3332 - 0.12 topic unfortunately). 108 108 109 ==== `IRequestFilter` ^[source:tags/trac-0.11b2/trac/web/api.py@head#L539 (0.11)] [source:tags/trac-0.10/trac/web/api.py@head#L467 (0.10)]^ ==== #IRequestFilter 110 111 The `post_process_request` method has now the following arguments `(req, template, data, content_type)` instead of `(req, template, content_type)`. `data` is the data dictionary used while generating the template. 112 The old signature is still supported for backward compatibility, though. 109 113 110 114 === Other Changes to the 0.10 API ===