Feincms3

Latest version: v4.6.0

Safety actively analyzes 630523 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 11

0.15

~~~~~~~~~~~~~~~~~~~~

- Dropped the ``is_descendant_of`` template tag. It was probably never
used without ``include_self=True``, and this particular use case is
better covered by checking whether a given primary key is a member
of ``page.cte_path``.
- Dropped the ``menu`` template tag, and with it also the
``group_by_tree`` filter. Its arguments were interpreted according to
the long-gone django-mptt_ and it promoted bad database querying
patterns.
- Dropped the now-empty ``feincms3_pages`` template tag library.
- Added a default manager implementing ``active()`` to ``AbstractPage``.

0.14

~~~~~~~~~~~~~~~~~~~~

- Removed Django_ from ``install_requires`` so that updating
feincms3 without updating Django is easier.
- Allowed overriding the Page queryset used in ``page_for_app_request``
(for example for adding ``select_related``).
- Moved validation logic in varous model mixins from ``clean()`` to
``clean_fields(exclude)`` to be able to attach errors to individual
form fields (if they are available on the given form).
- Added Django 1.11 to the build matrix on Travis CI.
- Fixed an "interesting" bug where the ``TreeAdmin`` would crash with
an ``AttributeError`` if no query has been run on the model before.

0.13

~~~~~~~~~~~~~~~~~~~~

- Fixed oEmbed read timeouts to not crash but retry after 60 seconds
instead.
- Added the ``TemplatePluginRenderer.regions`` helper and the
``{% render_region %}`` template tag which support caching of plugins.
- Disallowed empty static paths for pages. ``Page.get_absolute_url()``
fails with the recommended URL pattern when ``path`` equals ``''``.
- Added flake8_ and isort_ style checking.
- Made the dependency on feincms-cleanse_, requests_ and
django-versatileimagefield_ less strong than before. Plugins depending
on those apps simply will not be available in the ``feincms3.plugins``
namespace, but you have to be careful yourself to not import the
actual modules yourself.
- Added Django_, django-content-editor_ and django-cte-forest_ to
``install_requires`` so that they are automatically installed, and
added an extra with dependencies for all included plugins, so if you
want that simply install ``feincms3[all]``.

0.12

~~~~~~~~~~~~~~~~~~~~

- Made ``reverse_any`` mention all viewnames in the ``NoReverseMatch``
exception instead of bubbling the last viewname's exception.
- Added a ``RedirectMixin`` to ``feincms3.mixins`` for redirecting
pages to other pages or arbitrary URLs.
- Added a footgun plugin (raw HTML code).
- Reinstate Python 2 compatibility because Python 2 still seems to be in
wide use.

0.11

~~~~~~~~~~~~~~~~~~~~

- Changed the implementation of the ``is_descendant_of`` template tag to
not depend on django-mptt_'s API anymore, and removed the
compatibility shims from ``AbstractPage``.
- Made the documentation build again and added some documentation for
the new ``feincms3.admin`` module.
- Made ``TreeAdmin.move_view`` run transactions on the correct database
in multi-DB setups.
- Removed the unused ``NoCommitException`` class.
- Fixed a crash in the ``MoveForm`` validation.
- Made ``AppsMiddleware`` work with Django's ``MIDDLEWARE`` setting.
- Made the ``{% menu %}`` template tag not depend on a ``page`` variable
in context.

0.10

~~~~~~~~~~~~~~~~~~~~

- **BACKWARDS INCOMPATIBLE** Switched from django-mptt_ to
django-cte-forest_ which means that feincms3 is for the moment
PostgreSQL_-only. By switching we completely avoid the MPTT attribute
corruption which plagued projects for years. The `lft` attribute is
directly reusable as `position`, and should be renamed in a migration
instead of created from scratch to avoid losing the ordering of nodes
within a branch.
- Added a ``feincms3.admin.TreeAdmin`` which shows the tree hierarchy
and has facilities for moving nodes around.
- Avoided a deprecation warning on Django 1.10 regarding
``django.core.urlresolvers``.
- Started rolling releases using Travis CI's PyPI deployment provider.
- Made ``{% is_descendant_of %}`` return ``False`` if either of the
variables passed is no page instance instead of crashing.

Page 9 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.