Feincms3

Latest version: v4.6.0

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

Scan your dependencies

Page 2 of 11

4.0

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

.. _4.0: https://github.com/matthiask/feincms3/compare/3.6...4.0

- Added Django 4.1 to the CI matrix.
- Specified a custom plugin button for the old richtext plugin.
- Changed the linked CKEditor version to 4.19.1.
- Added flake8-bugbear.
- Suppressed the rendering of the "Save as new" button in the move form.
- Added the ``render_regions`` hook to the ``RegionRenderer``.
- Added ``**kwargs`` to ``Snippet.register_with``.
- Changed the ``upload_to`` value of images to a version which is less likely
to produce collisions.
- Stopped importing ``feincms3.plugins.richtext`` unconditionally, it depends
on html-sanitizer_.

3.6

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

.. _3.6: https://github.com/matthiask/feincms3/compare/3.5...3.6

- Fixed the ``APPEND_SLASH`` handling to also use ``request.path_info``, not
``request.path``.
- Added support for embedding YouTube shorts when using
:mod:`feincms3.embedding`.
- Added autogenerated API documentation for the template tags and the
``old_richtext`` plugin to the docs.

3.5

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

.. _3.5: https://github.com/matthiask/feincms3/compare/3.4...3.5

- Changed the feincms3 code to not generate feincms3 deprecation warnings (only
in the testsuite, for compatibility). Changed ``Snippet.register_with`` to
use the new region renderer API. Changed ``Regions`` to use ``render_plugin``
instead of ``render_plugin_in_context``.
- Changed ``TreeAdmin.indented_title`` to ellipsize super-long titles by
default.
- Added a system check which verifies that page types have distinct keys.
- Imported the ``old_richtext`` module to ``feincms3.plugins`` as long as it is
available.
- Changed the linked CKEditor version to 4.18.0.
- Added ``APPEND_SLASH`` handling to the middleware created by
:func:`feincms3.root.middleware.create_page_if_404_middleware`. This has to
be done explicitly because valid page paths aren't resolvable when using a
middleware.

3.4

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

.. _3.4: https://github.com/matthiask/feincms3/compare/3.3...3.4

- Added a system check verifying that the appropriate ``unique_together`` value
is set when using the ``LanguageAndTranslationOfMixin``.
- Added a system check for the ``app_name`` value of application URLconf
modules.
- Added a system check for the values of ``MenuMixin.MENUS``.
- Slowly start deprecating the :mod:`~feincms3.mixins.TemplateMixin`. (It
probably won't go away for a long time.)

3.3

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

.. _3.3: https://github.com/matthiask/feincms3/compare/3.2...3.3

- Changed the root middleware to not act on 404 responses generated by views,
only on 404 responses generated by resolver failures.
- Removed two deprecated ``PageTypeMixin`` properties (``application`` and
``app_instance_namespace``).
- Added a ``{% maybe_target_blank url %}`` template tag which helps with adding
``target="_blank" rel="noopener"`` to the template when opening third party
links, if you really need this.

3.2

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

.. _3.2: https://github.com/matthiask/feincms3/compare/3.1...3.2

- Added a ``fallback`` keyword argument to
:func:`~feincms3.applications.reverse_app`,
:func:`~feincms3.applications.reverse_any` and
:func:`~feincms3.incubator.root_passthru.reverse_passthru` which offers an
easy way to avoid the ``NoReverseMatch`` exception when a fallback value is
actually OK. This can be used to avoid the
:func:`~feincms3.applications.reverse_fallback` wrapper.
- Upgraded a few code patterns in the docs to use recommended functionality.
- Changed the guides to nudge people towards using middleware instead of
catch-all URLconf patterns.
- Renamed ``feincms3.incubator.root`` to ``feincms3.root.middleware`` and
renamed ``feincms3.incubator.root_passthru`` to ``feincms3.root.passthru``,
thereby making them officially supported.

Page 2 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.