v0.21.0.rst 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. v0.21.0 release notes
  2. =====================
  3. New features
  4. ------------
  5. * Upgraded to Wagtail 2.13
  6. * Added new ``<head>`` and ``<body>`` tracking script settings. See
  7. :doc:`/how_to/add_tracking_scripts`.
  8. * Added new ``coderedcms.fields.MonospaceField`` for rendering text area fields
  9. in the Wagtail admin with monospace input and spell-checking disabled. This is
  10. used by the new tracking settings and is useful for implementing code-oriented
  11. fields.
  12. * Improve developer tooling in new CodeRed CMS sites by providing pre-configured
  13. ``.gitattribute`` and ``.editorconfig`` files.
  14. Upgrade considerations
  15. ----------------------
  16. * ``coderedcms.blocks.MultiSelectBlock`` has been removed and is now replaced
  17. with ``wagtail.core.blocks.MultipleChoiceBlock``.
  18. * CodeRed CMS now sets ``default_auto_field = 'django.db.models.AutoField'`` for
  19. its own concrete models. If you had previously manually specified a different
  20. ``DEFAULT_AUTO_FIELD`` Django setting, you may need to create a migration.
  21. * You may need to find/replace
  22. ``coderedcms.blocks.base_blocks.MultiSelectBlock`` with
  23. ``wagtail.core.blocks.MultipleChoiceBlock`` in any old migrations so that they
  24. may continue working.
  25. * Follow `Wagtail 2.12 upgrade considerations <https://docs.wagtail.io/en/stable/releases/2.12.html#upgrade-considerations>`_
  26. and `Wagtail 2.13 upgrade considerations <https://docs.wagtail.io/en/stable/releases/2.13.html#upgrade-considerations>`_.
  27. * You may need to run ``python manage.py makemigrations website`` and
  28. ``python manage.py migrate`` after upgrading.
  29. Supported software
  30. ------------------
  31. * Python 3.6, 3.7, 3.8, 3.9
  32. * Django 2.2, 3.0, 3.1, 3.2
  33. Thank you!
  34. ----------
  35. Thanks to everyone who contributed to `0.21.0 on GitHub <https://github.com/coderedcorp/coderedcms/milestone/31?closed=1>`_.