Hey folks, this is the first alpha release in the Pyramid 1.9 series.

This release contains some exciting new features with no known backward
incompatibilities.

- Added a new execution policy hook that can be used by plugins to control
the entire execution cycle of a request. The first implementation is
pyramid_retry
<http://docs.pylonsproject.org/projects/pyramid-retry/en/latest/> which the
cookiecutters will be updated to use.

- Added support for alternative file formats other than the PasteDeploy INI
format. Pyramid now uses the plaster
<http://docs.pylonsproject.org/projects/plaster/en/latest/> package to
lookup files based on the config_uri passed on the command-line (e.g.
development.ini). To maintain backward compatibility Pyramid 1.9 depends on
plaster_pastedeploy to restore integrated PasteDeploy support. This
dependency may be removed in the future so applications are encouraged to
depend on the specific binding they need.

- CSRF support has been decoupled from sessions and new APIs are available
in the ``pyramid.csrf`` module. You can now manage CSRF tokens using a
simple cookie if you wish, or any other mechanism by implementing an
appropriate storage policy. By default the
``LegacySessionCSRFStoragePolicy`` is used which maintains backward
compatibility for applications that are using
``request.session.get_csrf_token()``. Users should update to the new APIs
to support alternate storage policies.

- The ``Configurator`` now activates threadlocals during actions and also
supports being used as a context manager such that the threadlocals are
active during the entire config lifecycle. The threadlocals
(``pyramid.threadlocal.get_current_registry()``) are important in some
situations like when depending on i18n or asset overrides at config-time.

A "What's New In Pyramid 1.9" document exists at
http://docs.pylonsproject.org/projects/pyramid/en/1.9-branch/whatsnew-1.9.html
 .

You will be able to see the 1.8 release documentation
at http://docs.pylonsproject.org/projects/pyramid/en/1.9-branch/ .

You can install it via PyPI:

  pip install pyramid==1.9a1

Enjoy, and please report any issues you find to the issue tracker at
https://github.com/Pylons/pyramid/issues

Thanks!

- Pyramid core developers

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pylons-discuss/CAKdhhwFwuFd72mShw22PVFUUVK0veC5wHMZ1MfnxicOEc2OgnA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to