Pyramid 1.7a1 has been released. This is the first alpha in the 1.7 series.
There is one major change I want people to be aware of first: - The AuthTktAuthenticationPolicy has switched its default hash algorithm to sha512 from md5. The default of md5 had been deprecated since Pyramid 1.4. If you are not specifying an explicit hashalg when creating your policy and you upgrade then all of your users will be logged out. You may specify hashalg='md5' to keep the old behavior and migrate when you see fit. There have been several excellent documentation enhancements: - All documentation has been updated to recommend pip and Python 3.4+. - The alchemy scaffold is completely reworked thanks to several contributors going all the way back to the Pycon 2015 sprints. The scaffold no longer uses a global DBSession object but rather a more deterministic request.dbsession property. - The Wiki2 SQLAlchemy + URL Dispatch tutorial has been completely overhauled to reflect the changes in the alchemy scaffold as well as a new chapter to separate authentication examples from authorization examples (including a new object-level example). Finally, there are some great new features: - Dropped Python 2.6 and Python 3.2 support. - View derivers have been added to allow framework authors full control over Pyramid's view pipeline. This will be of use to people who have decorators they are using on many views. For example... CSRF. - CSRF checking has been integrated into Pyramid in a much more significant way than it had been previously. You can now specify "require_csrf=True" on any view to have unsafe methods like POST/PUT/PATCH/DELETE checked for CSRF tokens. - You may also set "pyramid.require_default_csrf = yes" to globally enable CSRF on your entire application and turn it off on a per-view basis using "require_csrf=False" on individual views. - A new event was added immediately after URL dispatch has matched (or not) a route. The event is "BeforeTraversal". - And much more in the changelog! A "What's New In Pyramid 1.7" document exists at http://docs.pylonsproject.org/projects/pyramid/en/1.7-branch/whatsnew-1.7.html . You will be able to see the 1.7 release documentation (across all alphas and betas, as well as when it eventually gets to final release) at http://docs.pylonsproject.org/projects/pyramid/1.7-branch/ . You can install it via PyPI (now with a pip example!!): pip install pyramid==1.7a1 Enjoy, and please report any issues you find to the issue tracker at https://github.com/Pylons/pyramid/issues Thanks! - Michael -- 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/CAKdhhwGJvS897gLyzSd6djSiHO8iqa-m99tFLeCCFM99%2B2023g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
