Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 9, 2012
  1. @mcdonc

    - These APIs from the ``pyramid.testing`` module were removed. They have

    mcdonc authored
      been printing deprecation warnings since Pyramid 1.0:
    
      * ``registerDummySecurityPolicy``, use
        ``pyramid.config.Configurator.testing_securitypolicy`` instead.
    
      * ``registerResources`` (aka ``registerModels``, use
        ``pyramid.config.Configurator.testing_resources`` instead.
    
      * ``registerEventListener``, use
        ``pyramid.config.Configurator.testing_add_subscriber`` instead.
    
      * ``registerTemplateRenderer`` (aka `registerDummyRenderer``), use
        ``pyramid.config.Configurator.testing_add_template`` instead.
    
      * ``registerView``, use ``pyramid.config.Configurator.add_view`` instead.
    
      * ``registerUtility``, use
        ``pyramid.config.Configurator.registry.registerUtility`` instead.
    
      * ``registerAdapter``, use
        ``pyramid.config.Configurator.registry.registerAdapter`` instead.
    
      * ``registerSubscriber``, use
        ``pyramid.config.Configurator.add_subscriber`` instead.
    
      * ``registerRoute``, use
        ``pyramid.config.Configurator.add_route`` instead.
    
      * ``registerSettings``, use
        ``pyramid.config.Configurator.add_settings`` instead.
  2. @mcdonc

    - The ``pyramid.settings.get_settings()`` API was removed. It had been

    mcdonc authored
      printing a deprecation warning since Pyramid 1.0.  If your code depended on
      this API, use ``pyramid.threadlocal.get_current_registry().settings``
      instead or use the ``settings`` attribute of the registry available from
      the request (``request.registry.settings``).
  3. @mcdonc

    - The ``pyramid.paster.PyramidTemplate`` API was removed. It had been

    mcdonc authored
      deprecated since Pyramid 1.1 and issued a warning on import.  If your code
      depended on this, adjust your code to import
      ``pyramid.scaffolds.PyramidTemplate`` instead.
  4. @mcdonc

    - The ``pyramid.configuration`` module was removed. It had been depre…

    mcdonc authored
    …cated
    
      since Pyramid 1.0 and printed a deprecation warning upon its use.  Use
      ``pyramid.config`` instead.
  5. @mcdonc

    - The functions from ``pyramid.chameleon_zpt`` and ``pyramid.chameleo…

    mcdonc authored
    …n_text``
    
      named ``get_renderer``, ``get_template``, ``render_template``, and
      ``render_template_to_response`` have been removed.  These have issued a
      deprecation warning upon import since Pyramid 1.0.  Use
      ``pyramid.renderers.get_renderer()``,
      ``pyramid.renderers.get_renderer().implementation()``,
      ``pyramid.renderers.render()`` or ``pyramid.renderers.render_to_response``
      respectively instead of these functions.
  6. @mcdonc
  7. @mcdonc

    garden

    mcdonc authored
  8. @mcdonc

    - It is no longer possible to pass an environ dictionary directly to

    mcdonc authored
      ``pyramid.traversal.ResourceTreeTraverser.__call__`` (aka
      ``ModelGraphTraverser.__call__``).  Instead, you must pass a request
      object.  Passing an environment instead of a request has generated a
      deprecation warning since Pyramid 1.1.
    
    - Pyramid will no longer work properly if you use the
      ``webob.request.LegacyRequest`` as a request factory.  Instances of the
      LegacyRequest class have a ``request.path_info`` which return a string.
      This Pyramid release assumes that ``request.path_info`` will
      unconditionally be Unicode.
    
    - Pyramid now requires WebOb 1.2b3+ (the prior Pyramid release only relied on
      1.2dev+).  This is to ensure that we obtain a version of WebOb that returns
      ``request.path_info`` as text.
Commits on Sep 8, 2012
  1. @mcdonc

    trivial change to poke jenkins (im in on an untrusted network and can…

    mcdonc authored
    …t use the jenkins web ui because we dont have https access to it)
Commits on Aug 29, 2012
  1. @mcdonc
  2. @mcdonc

    garden

    mcdonc authored
Commits on Aug 26, 2012
  1. @mcdonc

    - Forward-port from 1.3 branch: when registering multiple views with an

    mcdonc authored
      ``accept`` predicate in a Pyramid application runing under Python 3, you
      might have received a ``TypeError: unorderable types: function() <
      function()`` exception.
Commits on Aug 25, 2012
  1. @mcdonc

    Subscriber predicates:

    mcdonc authored
    - Add ``add_subscriber_predicate`` method to Configurator.
    
    - Allow ``add_subscriber`` and ``subscriber`` venusian decorator to accept ``**predicates`` arguments.
    
    - Document subscriber predicate feature.
    
    - Share more code between view, route, and subscriber related method wrt predicates.
Commits on Aug 24, 2012
  1. @mcdonc

    garden

    mcdonc authored
Commits on Aug 23, 2012
  1. @mmerickel
  2. @mmerickel
Commits on Aug 22, 2012
  1. @blaflamme

    garden

    blaflamme authored
Commits on Aug 19, 2012
  1. @mcdonc
  2. @mcdonc

    Garden.

    mcdonc authored
Commits on Aug 16, 2012
  1. @mcdonc

    readd set_request_property to docs (just so when people run across it…

    mcdonc authored
    … in in-the-wild code they're not totally confused); we'll remove it later
  2. @mmerickel
  3. @mcdonc

    - An ``add_permission`` directive method was added to the Configurato…

    mcdonc authored
    …r. This
    
      directive registers a free-standing permission introspectable into the
      Pyramid introspection system.  Frameworks built atop Pyramid can thus use
      the the ``permissions`` introspectable category data to build a
      comprehensive list of permissions supported by a running system.  Before
      this method was added, permissions were already registered in this
      introspectable category as a side effect of naming them in an ``add_view``
      call, this method just makes it possible to arrange for a permission to be
      put into the ``permissions`` introspectable category without naming it
      along with an associated view.  Here's an example of usage of
      ``add_permission``::
    
          config = Configurator()
          config.add_permission('view')
Commits on Aug 7, 2012
  1. @mcdonc

    note conflict behavior change

    mcdonc authored
Commits on Aug 6, 2012
  1. @mcdonc
  2. @mcdonc
Commits on Aug 3, 2012
  1. @blaflamme
Commits on Jul 29, 2012
  1. @mcdonc

    - When there is a predicate mismatch exception (seen when no view mat…

    mcdonc authored
    …ches for
    
      a given request due to predicates not working), the exception now contains
      a textual description of the predicate which didn't match.
    
    - Fixes issue #502 and issue #519.
Commits on Jul 13, 2012
  1. @mcdonc

    - On at least one 64-bit Ubuntu system under Python 3.2, using the

    mcdonc authored
      ``view_config`` decorator caused a ``RuntimeError: dictionary changed size
      during iteration`` exception.  It no longer does.  See
      #635 for more information.
    
    - Fixes issue #635.
Commits on Jul 10, 2012
  1. @mcdonc

    garden

    mcdonc authored
Commits on Jun 20, 2012
  1. @blaflamme

    fixed typos

    blaflamme authored
  2. @blaflamme

    fixed typos

    blaflamme authored
  3. @blaflamme
Commits on May 3, 2012
  1. @mcdonc
  2. @mcdonc

    add a change note

    mcdonc authored
Commits on Apr 27, 2012
  1. @mcdonc

    fix example

    mcdonc authored
Something went wrong with that request. Please try again.