Edgewall Software

Changes between Version 31 and Version 32 of TracDev/ApiChanges/0.11


Ignore:
Timestamp:
Mar 13, 2008, 11:33:01 AM (16 years ago)
Author:
Christian Boos
Comment:

#IRequestFilter change added + a note about beta2

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/ApiChanges/0.11

    v31 v32  
    11= !TracDev/ApiChanges/0.11 =
    22
    3 '''Note: Development of Trac [milestone:0.11] has started with r3804 and now at r6486 is quite close to release. The API can be considered stable and there's even a [TracDownload#LatestBetaRelease0.11b1beta1 beta 1 release] 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.
    44Please keep in mind that the information in this page is ''still'' work in progress (most notably the sections marked with `TBD`).'''
    55
     
    102102`render_macro(req, name, content)` will likely be removed in [milestone:0.12].
    103103
    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 
    105105
    106106Similar to the above change, `render(req, mimetype ...)` is now `render(context, mimetype ...)`, `context` being a rendering `Context` (see below).
    107107It 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).
    108108
     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
     111The `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.
     112The old signature is still supported for backward compatibility, though.
    109113
    110114=== Other Changes to the 0.10 API ===