Incredible fantastic work. congratulations! I follow, and each time I like best. Ginés
2010/11/21 Chris McDonough <chr...@plope.com> > Hi folks, > > I've just released Pyramid 1.0a4 to PyPI. It has the following > features, as compared to 1.0a3. > > You can see planned changes at > https://github.com/Pylons/pyramid/blob/master/TODO.txt and open issues > at https://github.com/Pylons/pyramid/issues > > Enjoy. > > 1.0a4 (2010-11-21) > ================== > > Features > -------- > > - URL Dispatch now allows for replacement markers to be located anywhere > in the pattern, instead of immediately following a ``/``. > > - URL Dispatch now uses the form ``{marker}`` to denote a replace marker > in the route pattern instead of ``:marker``. The old colon-style > marker syntax is still accepted for backwards compatibility. The new > format allows a regular expression for that marker location to be used > instead of the default ``[^/]+``, for example ``{marker:\d+}`` is now > valid to require the marker to be digits. > > - Add a ``pyramid.url.route_path`` API, allowing folks to generate > relative URLs. Calling ``route_path`` is the same as calling > ``pyramid.url.route_url`` with the argument ``_app_url`` equal to the > empty string. > > - Add a ``pyramid.request.Request.route_path`` API. This is a > convenience method of the request which calls > ``pyramid.url.route_url``. > > - Make test suite pass on Jython (requires PasteScript trunk, presumably > to be 1.7.4). > > - Make test suite pass on PyPy (Chameleon doesn't work). > > - Surrounding application configuration with ``config.begin()`` and > ``config.end()`` is no longer necessary. All paster templates have > been changed to no longer call these functions. > > - Fix configurator to not convert ``ImportError`` to > ``ConfigurationError`` if the import that failed was unrelated to the > import requested via a dotted name when resolving dotted names (such > as view dotted names). > > Documentation > ------------- > > - SQLAlchemy+URLDispatch and ZODB+Traversal tutorials have been updated > to not call ``config.begin()`` or ``config.end()``. > > Bug Fixes > --------- > > - Add deprecation warnings to import of ``pyramid.chameleon_text`` and > ``pyramid.chameleon_zpt`` of ``get_renderer``, ``get_template``, > ``render_template``, and ``render_template_to_response``. > > - Add deprecation warning for import of ``pyramid.zcml.zcml_configure`` > and ``pyramid.zcml.file_configure``. > > - The ``pyramid_alchemy`` paster template had a typo, preventing an > import from working. > > - Fix apparent failures when calling > ``pyramid.traversal.find_model(root, path)`` or > ``pyramid.traversal.traverse(path)`` when ``path`` is (erroneously) a > Unicode object. The user is meant to pass these APIs a string object, > never a Unicode object. In practice, however, users indeed pass > Unicode. Because the string that is passed must be ASCII encodeable, > now, if they pass a Unicode object, its data is eagerly converted to > an ASCII string rather than being passed along to downstream code as a > convenience to the user and to prevent puzzling second-order failures > from cropping up (all failures will occur within > ``pyramid.traversal.traverse`` rather than later down the line as the > result of calling e.g. ``traversal_path``). > > Backwards Incompatibilities > --------------------------- > > - The ``pyramid.testing.zcml_configure`` API has been removed. It had > been advertised as removed since repoze.bfg 1.2a1, but hadn't actually > been. > > Deprecations > ------------ > > - The ``pyramid.settings.get_settings`` API is now deprecated. Use > ``pyramid.threadlocals.get_current_registry().settings`` instead or > use the ``settings`` attribute of the registry available from the > request (``request.registry.settings``). > > Documentation > ------------- > > - Removed ``zodbsessions`` tutorial chapter. It's still useful, but we > now have a SessionFactory abstraction which competes with it, and > maintaining documentation on both ways to do it is a distraction. > > Internal > -------- > > - Replace Twill with WebTest in internal integration tests (avoid > deprecation warnings generated by Twill). > > > -- > You received this message because you are subscribed to the Google Groups > "pylons-devel" group. > To post to this group, send email to pylons-de...@googlegroups.com. > To unsubscribe from this group, send email to > pylons-devel+unsubscr...@googlegroups.com<pylons-devel%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/pylons-devel?hl=en. > > -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-de...@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en.