summaryrefslogtreecommitdiff
path: root/CHANGES.txt
AgeCommit message (Collapse)Author
2013-09-11wordingChris McDonough
2013-09-09- The ``pyramid.config.Configurator.set_request_property`` method now issuesChris McDonough
a deprecation warning when used. It had been docs-deprecated in 1.4 but did not issue a deprecation warning when used.
2013-09-09wordingChris McDonough
2013-09-09add note about requiring a later pyramid_debugtoolbar package if you use 1.5a2+Chris McDonough
2013-09-08- The ``renderer_globals_factory`` argument to theChris McDonough
``pyramid.config.Configurator` constructor and its ``setup_registry`` method has been removed. The ``set_renderer_globals_factory`` method of ``pyramid.config.Configurator`` has also been removed. The (internal) ``pyramid.interfaces.IRendererGlobals`` interface was also removed. These arguments, methods and interfaces had been deprecated since 1.1. Use a ``BeforeRender`` event subscriber as documented in the "Hooks" chapter of the Pyramid narrative documentation instead of providing renderer globals values to the configurator.
2013-09-08- Removed ancient backwards compatibily hack inChris McDonough
``pyramid.traversal.DefaultRootFactory`` which populated the ``__dict__`` of the factory with the matchdict values for compatibility with BFG 0.9.
2013-09-08- Removed the ability to influence and query a ``pyramid.request.Request``Chris McDonough
object as if it were a dictionary. Previously it was possible to use methods like ``__getitem__``, ``get``, ``items``, and other dictlike methods to access values in the WSGI environment. This behavior had been deprecated since Pyramid 1.1. Use methods of ``request.environ`` (a real dictionary) instead.
2013-09-08- Removed the ability to pass the following arguments toChris McDonough
``pyramid.config.Configurator.add_route``: `view``, ``view_context``. ``view_for``, ``view_permission``, ``view_renderer``, and ``view_attr``. Using these arguments had been deprecated since Pyramid 1.1. Instead of passing view-related arguments to ``add_route``, use a separate call to ``pyramid.config.Configurator.add_view`` to associate a view with a route using its ``route_name`` argument. Note that this impacts the ``pyramid.config.Configurator.add_static_view`` function too, because it delegates to ``add_route``.
2013-09-08- Removed the ``pyramid.view.is_response`` function that had been deprecatedChris McDonough
since Pyramid 1.1. Use the ``pyramid.request.Request.is_response`` method instead.
2013-09-08- Removed the class named ``pyramid.view.static`` that had been deprecatedChris McDonough
since Pyramid 1.1. Instead use ``pyramid.static.static_view`` with ``use_subpath=True`` argument.
2013-09-08wordingChris McDonough
2013-09-08Add feature update to CHANGES.txtBert JW Regeer
2013-09-08fix merge conflictChris McDonough
2013-09-07- The ``pyramid.events.NewResponse`` event is now sent **after** responseChris McDonough
callbacks are executed. It previously executed before response callbacks were executed. Rationale: it's more useful to be able to inspect the response after response callbacks have done their jobs instead of before. Closes #1116.
2013-09-07add change notesChris McDonough
2013-09-06Update package_name() to work with namespace pkgsDoug Hellmann
The logic in pyramid.path.package_name() should take into account the fact that namespace packages created by setuptools do not have __init__.py[c] files, and so they have no __file__ attribute. This resolves an issue with WSME (https://bugs.launchpad.net/wsme/+bug/1221201) Change-Id: I39bc32a9c38fa11c4cef22a041077ed9001091be
2013-09-05s/view execution machinery/generating a response/Michael Merickel
2013-09-05resolve conflicts, reword change entry a bitChris McDonough
2013-09-05remove the deprecated request.response_* attributesMichael Merickel
2013-09-05update render() to preserve the original response objectMichael Merickel
2013-09-04add install_requires example as wellMichael Merickel
2013-09-04add example of rendering to the changelogMichael Merickel
2013-09-04fix markupMichael Merickel
2013-09-04update changelogMichael Merickel
2013-08-30prep for 1.5a1Chris McDonough
2013-08-30update whatsnewChris McDonough
2013-08-30move 1.4 stuff to HISTORY.txtChris McDonough
2013-08-30add HTTPSuccessful base class, allowing HTTPOk to be caught independently; ↵Chris McDonough
closes #986
2013-08-30allow exception view registrations for HTTPException to override default ↵Chris McDonough
exception view; closes #985
2013-08-29get rid of remainder_name on route, and just default to passing traverse; ↵Chris McDonough
add route_remainder_name argument to resource_url
2013-08-29point at docs sectionChris McDonough
2013-08-29documentation for hybrid url generationChris McDonough
2013-08-29first cut at hybrid url generation; still needs tests for resource_url logicChris McDonough
2013-08-29make local_name an attribute of Request, move logic from get_localizer into ↵Chris McDonough
Request.localizer, fix docs; closes #1099
2013-08-29- When the ``pyramid.reload_templates`` setting was true, and a ChameleonChris McDonough
template was reloaded, and the renderer specification named a macro (e.g. ``foo#macroname.pt``), renderings of the template after the template was reloaded due to a file change would produce the entire template body instead of just a rendering of the macro. See https://github.com/Pylons/pyramid/issues/1013. Closes #1013
2013-08-28Permit escaping of double braces in scaffolds, see #862Chris McDonough
2013-08-28- The ``route_url`` and ``route_path`` APIs no longer quote ``/``Chris McDonough
to ``%2F`` when a replacement value contains a ``/``. This was pointless, as WSGI servers always unquote the slash anyway, and Pyramid never sees the quoted value.
2013-08-27- Fix an obscure problem when combining a virtual root with a route with aChris McDonough
``*traverse`` in its pattern. Now the traversal path generated in such a configuration will be correct, instead of an element missing a leading slash.
2013-08-20raise ValueError instead of generating just path when _app_url is provided ↵Chris McDonough
to request.route_url and the route has an external pattern
2013-08-19Merge branch 'feature.issue611-external-static-routes' of tomster/pyramid ↵Michael Merickel
into feature.external-routes
2013-08-17update changelogTom Lazar
2013-08-17add ``localizer`` property to the request (refs #508)Andreas Zeidler
2013-08-15fix some rST issuesTshepang Lekhonkhobe
2013-08-15Make ``pserve.cherrypy_server_runner`` Python 3 compatible.Tom Lazar
Closes https://github.com/Pylons/pyramid/issues/718
2013-08-15Add reference to the pull requestsTom Lazar
Conflicts: CHANGES.txt
2013-08-15Merge pull request #1078 from wichert/auth-explicit-domainAndreas Zeidler
Allow explicit auth cookie domain setting.
2013-08-14fixed line indentationBlaise Laflamme
2013-08-14added bug fix to changesBlaise Laflamme
2013-08-13Fixed documentation width, signed contributors agreement and added a test ↵Jonathan Villemaire-Krajden
for duplicate query strings.
2013-08-13Fixes to documentation, added change to what's new.Jonathan Villemaire-Krajden