v5.0.0.rst 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. v5.0.0 release notes
  2. ====================
  3. 5.0 is currently in beta. All features are complete except for the addition of Wagtail Block Previews (Wagtail 6.4), which may take extensive time to complete based on the large number of blocks provided by CRX.
  4. New features
  5. ------------
  6. * Support Wagtail 6.4.
  7. * Support Python 3.9 to 3.13.
  8. * NEW: SEO preview on each page. Read more on our blog post `SEO Previews in Wagtail <https://www.coderedcorp.com/blog/seo-previews-in-wagtail/>`_.
  9. * NEW: spam protection with Google reCAPTCHA v2 and v3 on forms. See: :doc:`/features/spam-protection`
  10. Maintenance
  11. -----------
  12. * ``wagtail_flexible_forms`` module has been split out into its own package. No action is required. See `wagtail-flexible-forms <https://docs.coderedcorp.com/wagtail-flexible-forms/>`_.
  13. * Large cleanup of deprecated code. See upgrade considerations below.
  14. Upgrade considerations
  15. ----------------------
  16. In addition to the changes below, be sure to read the `Wagtail 6.4 upgrade considerations <https://docs.wagtail.org/en/stable/releases/6.4.html#upgrade-considerations-changes-affecting-all-projects>`_.
  17. SEO fields have moved
  18. ~~~~~~~~~~~~~~~~~~~~~
  19. Structured data about the organization was previously available on every page (under the **SEO** tab in the page editor). Now, organization data has been moved into the site settings under **Settings > SEO**.
  20. For most sites, no action is required, as the organization data is automatically copied from each site's Home Page to these settings.
  21. However, if you were previously using custom organization data on many separate pages, you'll need to follow the `wagtail-seo 3 upgrade instructions <https://docs.coderedcorp.com/wagtail-seo/getting-started/migration-3.html>`_
  22. Preview options removed from Pages and Blocks
  23. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  24. For most sites, no action is required as these have been deprecated and replaced by miniview templates back in :doc:`version 2.1 <v2.1.0>`.
  25. However, if you have any custom code using these deprecated fields or templates, replace them with custom miniview templates on relevant page models instead.
  26. * ``PagePreviewBlock`` fields removed:
  27. * show_previews
  28. * ``CoderedArticleIndexPage`` fields removed:
  29. * show_images
  30. * show_captions
  31. * show_meta
  32. * show_preview_text
  33. * Template options (in block Advanced Settings) have been removed from ``PageListBlock`` and ``PagePreviewBlock``.
  34. * If you have ``CRX_FRONTEND_TEMPLATES_BLOCKS`` in your Django settings, remove the ``pagelistblock`` and ``pagepreviewblock`` entries from that dictionary.
  35. * Corresponding ``pagelist_*.html`` and ``pagepreview_*.html`` templates have been removed from the project.
  36. Migrations
  37. ~~~~~~~~~~
  38. After upgrading, be sure to generate and apply new migrations as so:
  39. .. code-block::
  40. python manage.py makemigrations
  41. python manage.py migrate
  42. Thank you!
  43. ----------
  44. Thanks to everyone who contributed to `5.0.0 on GitHub <https://github.com/coderedcorp/coderedcms/milestone/54?closed=1>`_.