diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-05-27 14:03:07 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-05-27 14:03:07 +0000 |
| commit | 711b60c05b9573f688994233ec1baac3f89bc45a (patch) | |
| tree | c58595bc181ab52189b0cc096de099cf8e3bf167 /CHANGES.txt | |
| parent | a6ead8805b4de79edd0d980942894c0518104d5e (diff) | |
| download | pyramid-711b60c05b9573f688994233ec1baac3f89bc45a.tar.gz pyramid-711b60c05b9573f688994233ec1baac3f89bc45a.tar.bz2 pyramid-711b60c05b9573f688994233ec1baac3f89bc45a.zip | |
Provide b/c for scripts which used ``registry_manager``
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 34b59d144..cb2b7d7ae 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,29 @@ +0.9dev (unreleased) +=================== + +Features +-------- + +- A new API function has been added for scripts which need to obtain + the traversal root: ``repoze.bfg.scripting.get_root``. Given a + ``repoze.bfg`` Router application instance as its ``router`` + argument, this callable returns the traversal root of graph as + defined by the application's root factory. It also has the effect + of pushing a new registry and request on to the internal thread + local stack managed by BFG so that registry lookups work properly. + + .. warning:: This function should never be called from *within* a + BFG model or view, only from top-level scripts which wish to + get the root of a graph to do offline processing. + +Deprecations +------------ + +- The name ``repoze.bfg.registry.registry_manager`` was never an API, + but scripts in the wild were using it to set up an environment for + use under a debug shell. A backwards compatibility shim has been + added for this purpose, but the feature is deprecated. + 0.9a1 (2009-5-27) ================= |
