v0.21.0 release notes ===================== New features ------------ * Upgraded to Wagtail 2.13 * Added new ``
`` and ```` tracking script settings. See :doc:`/how_to/add_tracking_scripts`. * Added new ``coderedcms.fields.MonospaceField`` for rendering text area fields in the Wagtail admin with monospace input and spell-checking disabled. This is used by the new tracking settings and is useful for implementing code-oriented fields. * Improve developer tooling in new CodeRed CMS sites by providing pre-configured ``.gitattribute`` and ``.editorconfig`` files. Upgrade considerations ---------------------- * ``coderedcms.blocks.MultiSelectBlock`` has been removed and is now replaced with ``wagtail.core.blocks.MultipleChoiceBlock``. * CodeRed CMS now sets ``default_auto_field = 'django.db.models.AutoField'`` for its own concrete models. If you had previously manually specified a different ``DEFAULT_AUTO_FIELD`` Django setting, you may need to create a migration. * You may need to find/replace ``coderedcms.blocks.base_blocks.MultiSelectBlock`` with ``wagtail.core.blocks.MultipleChoiceBlock`` in any old migrations so that they may continue working. * Follow `Wagtail 2.12 upgrade considerations