Feincms3

Latest version: v4.6.0

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

Scan your dependencies

Page 5 of 11

0.39

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

- **BACKWARDS INCOMPATIBLE**: ``AbstractPageManager`` has been removed.
You should subclass the :class:`feincms3.pages.AbstractPageQuerySet`
instead and use the queryset's ``.as_manager(with_tree_fields=True)``
classmethod to generate a manager which adds tree fields to select
queries by default. If you didn't use the ``AbstractPageManager`` in
your code directly you don't have to do anything.
- Started requiring ``django-tree-queries>=0.4.1``.
- Completely reworked the page move form; allow directly specifying the
new position.

0.38.1

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

- The ``AbstractPageManager.active()`` method has been moved to a new
:class:`feincms3.pages.AbstractPageQuerySet`. If subclassing the
queryset you should re-create the page manager using
``pages.AbstractPageManager.from_queryset(<your new subclass>)``.
- Made :func:`~feincms3.renderer.render_in_context` create its own
``Context`` if the context passed is ``None``.

0.37

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

- Changed :func:`feincms3.applications.page_for_app_request` to only use
active pages by default. This change should mostly not change anything
since :func:`~feincms3.applications.apps_urlconf()` and therefore
:func:`~feincms3.applications.apps_middleware` only add active
applications anyway.
- Upgraded prettier and ESLint to recent versions.
- Added some code to embed videos from YouTube and Vimeo without
requiring oEmbed.
- Dropped compatibility with Python 3.5.

0.36

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

- Switched from ``url()`` to ``re_path()`` in ``apps_urlconf()`` to
avoid deprecation warnings.
- Removed the limitation that apps could not have descendants in a page
tree. There may be valid use cases for this, especially if an apps'
URLconf module does not handle *all* paths.

0.35

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

- **(not yet) BACKWARDS INCOMPATIBLE** Moved the ``feincms3.apps``
module to :mod:`feincms3.applications`. The reason for this change is
that Django 3.2 will start autodiscovering app configs and therefore
automatically loads the ``.apps`` submodule of all entries in
``INSTALLED_APPS``. This leads to a crash when the ``.apps`` module
contains models (such as our ``AppsMixin``). ``feincms3.apps`` isn't
populated from Django 3.2 upwards because of this.
- Fixed an infinite recursion crash when referencing pages using
``on_delete=SET_NULL``
- Added a ``LanguageAndTranslationOfMixin`` which not only allows
defining the language of objects but also defining objects to be
translations of other objects.
- Added a ``|translations`` filter to the template tag library. Added a
section about generating a language selector containing deep links to
the :ref:`multilingual sites guide <multilingual-sites>` guide.
- Added Travis CI jobs for Django 3.1b1 and Python 3.8.
- Renamed the main branch to ``main``.
- Removed all arguments to ``super()`` since we're Python 3-only.
- Dropped workarounds for the removal of ``django.utils.six`` and
``python_2_unicode_compatible`` from the testsuite. They were only
required for our dependencies, not for feincms3 itself.

0.34

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

- Removed mentions of Python 2 compatibility in the docs.
- Allowed using ``render_list`` with lists, not only querysets.
- Dropped compatibility with Django<2.2 in accordance with the official
Django releases support policy.
- Replaced ``url()`` with ``re_path()`` which avoids a few deprecation
warnings.

Page 5 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.