diff options
| -rw-r--r-- | CHANGES.txt | 9 | ||||
| -rw-r--r-- | docs/whatsnew-1.2.rst | 3 | ||||
| -rw-r--r-- | repoze/bfg/templating.py | 16 |
3 files changed, 12 insertions, 16 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index cda5b725c..26ca58e7c 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,12 @@ +Next Release +============ + +Backwards Incompatibilities +--------------------------- + +- The ``repoze.bfg.templating`` module has been removed; it had been + deprecated in 1.1 and never actually had any APIs in it. + 1.2a2 (2009-11-29) ================== diff --git a/docs/whatsnew-1.2.rst b/docs/whatsnew-1.2.rst index 06c8a312c..603b2f087 100644 --- a/docs/whatsnew-1.2.rst +++ b/docs/whatsnew-1.2.rst @@ -183,6 +183,9 @@ Backwards Incompatibilites - The ``repoze.bfg.testing.zcml_configure`` API was removed. Use the ``Configurator.load_zcml`` API instead. +- The ``repoze.bfg.templating`` module has been removed; it had been + deprecated in 1.1 and hasn't possessed any APIs since before 1.0. + Deprecations and Behavior Differences ------------------------------------- diff --git a/repoze/bfg/templating.py b/repoze/bfg/templating.py deleted file mode 100644 index c86c88ddd..000000000 --- a/repoze/bfg/templating.py +++ /dev/null @@ -1,16 +0,0 @@ -from zope.deprecation import deprecated - -from repoze.bfg.renderers import template_renderer_factory - -deprecated('renderer_from_cache', - 'The repoze.bfg.templating.renderer_from_cache function has ' - 'been deprecated. As of repoze.bfg version 1.1, you should use the ' - 'repoze.bfg.renderers.template_renderer_factory function instead. ' - 'Note however that neither the "renderer_from_cache" function ' - 'nor the "template_renderer_factory" function is a documented ' - 'BFG API. You shouldn\'t be importing either of these unless ' - 'you are willing to deal with incompatibilities introduced in ' - 'future BFG versions.') - -def renderer_from_cache(path, impl, level=4, **kw): - return template_renderer_factory(path, impl, level) |
