django-cms v3.3.0 Release Notes
Release Date: 2016-05-26 // almost 8 years ago-
- ๐ Fixed regression in management commands
- ๐ Fixed documentation typo
- โ Added contribution policies documentation
- ๐ Corrected documentation in numerous places
- ๐ Corrected an issue where someone could see and use the internal placeholder plugin in the structure board
- ๐ Fixed a regression where the first page created was not automatically published
- ๐ Corrected the instructions for using the
delete-orphaned-plugins
command - ๐ Re-pinned django-treebeard to >=4.0.1
- Added CMS_WIZARD_CONTENT_PLACEHOLDER setting
- Renamed the CMS_WIZARD_* settings to CMS_PAGE_WIZARD_*
- ๐ Deprecated the old-style wizard-related settings
- ๐ Improved documentation further
- ๐ Improved handling of uninstalled apphooks
- ๐ Fixed toolbar placement when foundation is installed
- ๐ Fixed an issue which could lead to an apphook without a slug
- ๐ Fixed numerous frontend issues
- โ Removed support for Django 1.6, 1.7 and python 2.6
- ๐ Changed the default value of CMSPlugin.position to 0 instead of null
- ๐จ Refactored the language menu to allow for better integration with many languages
- ๐จ Refactored management commands completely for better consistency
- ๐ Fixed "failed to load resource" for favicon on welcome screen
- ๐ Changed behaviour of toolbar CSS classes:
cms-toolbar-expanded
class is only added now when toolbar is fully expanded and not at the beginning of the animation.cms-toolbar-expanding
andcms-toolbar-collapsing
classes are added at the beginning of their respective animations. - โ Added unit tests for CMS JavaScript files
- โ Added frontend integration tests (written with Casper JS)
- โ Removed frontend integration tests (written with Selenium)
- โ Added the ability to declare cache expiration periods on a per-plugin basis
- ๐ Improved UI of page tree
- ๐ Improved UI in various minor ways
- Added a new setting CMS_INTERNAL_IPS for defining a set of IP addresses for which the toolbar will appear for authorized users. If left unset, retains the existing behavior of allowing toolbar for authorized users at any IP address.
- ๐ Changed behaviour of sideframe; is no longer resizable, opens to 90% of the screen or 100% on small screens.
- โ Removed some unnecessary reloads after closing sideframe.
- โ Added the ability to make pagetree actions work on currently picked language
- Removed deprecated CMS_TOOLBAR_SIMPLE_STRUCTURE_MODE setting
- Introduced the method
get_cache_expiration
on CMSPluginBase to be used by plugins for declaring their rendered content's period of validity. - Introduced the method
get_vary_cache_on
on CMSPluginBase to be used by plugins for declaringVARY
headers. - ๐ Improved performance of plugin moving; no longer saves all plugins inside the placeholder.
- ๐ Fixed breadcrumbs of recently moved plugin reflecting previous position in the tree
- ๐จ Refactored plugin adding logic to no longer create the plugin before the user submits the form.
- ๐ Improved the behaviour of the placeholder cache
- ๐ Improved fix-tree command to sort by position and path when rebuilding positions.
- ๐ Fixed several regressions and tree corruptions on page move.
- Added new class method on CMSPlugin
requires_parent_plugin
- Fixed behaviour of
get_child_classes
; now correctly calculates child classes when not configured in the placeholder. - โ Removed internal
ExtraMenuItems
tag. - โ Removed internal
PluginChildClasses
tag. - ๐ Modified RenderPlugin tag; no longer renders the
content.html
template and instead just returns the results. - Added a
get_cached_template
method to theToolbar()
main class to reuse loaded templates per request. It works like Django's cached template loader, but on a request basis. - โ Added a new method
get_urls()
on the appbase class to get CMSApp.urls, to allow passing a page object to it. - ๐ Changed JavaScript linting from JSHint and JSCS to ESLint
- ๐ Fixed a bug when it was possible to drag plugin into clipboard
- ๐ Fixed a bug where clearing clipboard was closing any open modal