4teamwork/ftw.builder — pull request #32 by jone (2014-11-13 21:22:59+00:00)
Title: Add Plone 5 support.

Update ftw.builder to support Plone 5.

Changes:

- The Plone default types are now dexterity. The default builders are moved from the ``archetypes`` module to ``content``. The default content builders subclass the dexterity base builder in Plone >= 5 and subclass the archetypes implementation in Plone < 5.
- Testing: The default content types are no longer installed in testing ; plone.app.contenttypes needs to be installed manually in Plone >= 5.
- Tests: The ``obj.effective()`` method changed the return value in dexterity, we now use ``obj.EffectiveDate()`` instead.

These are backward incompatible changes, since the default builder classes were moved and might be subclassed. Therefore a major release is necessary.