Skip to content

Commit 08a3334

Browse files
committed
Release notes and version for 5.0 beta
1 parent 08a8203 commit 08a3334

4 files changed

Lines changed: 88 additions & 5 deletions

File tree

coderedcms/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
See: https://www.python.org/dev/peps/pep-0440/
1616
"""
1717

18-
release = ["4", "0", "0", "", "dev0"]
18+
release = ["5", "0", "0", "b1", ""]
1919

2020

2121
def _get_version() -> str:

docs/features/spam-protection.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Spam Protection
33

44
CRX provides features to help block spam form submissions from your site.
55

6-
These can be toggled in **CRX Settings > Forms**
6+
These can be toggled in **Settings > CRX Settings > Forms**
77

88

99
Basic (honeypot)
@@ -19,9 +19,9 @@ reCAPTCHA v3 (invisible)
1919

2020
Google's reCAPTCHA v3 is invisible, meaning the visitor does not see anything and does not have to solve any challenges. This works by generating a score of how likely the submission is to be spam.
2121

22-
By default, CRX will show a generic error message for scores lower than 0.5. This can be adjusted in **CRX Settings > Forms**. If your visitors are complaining that they are getting errors when submitting forms, you may want to lower this number. If you are still receiving a lot of spam submissions, you may want to raise it.
22+
By default, CRX will show a generic error message for scores lower than 0.5. This can be adjusted in **Settings > CRX Settings > Forms**. If your visitors are complaining that they are getting errors when submitting forms, you may want to lower this number. If you are still receiving a lot of spam submissions, you may want to raise it.
2323

24-
**reCAPTCHA v3 requires API keys from Google.** When creating the API keys, you must select recAPTCHA v3, then enter those keys into **CRX Settings > Forms**.
24+
**reCAPTCHA v3 requires API keys from Google.** When creating the API keys, you must select recAPTCHA v3, then enter those keys into **Settings > CRX Settings > Forms**.
2525

2626
`Create reCAPTCHA API keys <https://www.google.com/recaptcha/admin/create>`_
2727

@@ -31,7 +31,7 @@ reCAPTCHA v2 ("I am not a robot")
3131

3232
Google's reCAPTCHA v2 shows the famous "I am not a robot" checkbox on the form. This requires the visitor to click the box. In some cases, Google might require the visitor to solve a challenge, such as selecting images or solving a puzzle.
3333

34-
**reCAPTCHA v2 requires API keys from Google.** When creating the API keys, you must select recAPTCHA v2 "I am not a robot", then enter those keys into **CRX Settings > Forms**.
34+
**reCAPTCHA v2 requires API keys from Google.** When creating the API keys, you must select recAPTCHA v2 "I am not a robot", then enter those keys into **Settings > CRX Settings > Forms**.
3535

3636
`Create reCAPTCHA API keys <https://www.google.com/recaptcha/admin/create>`_
3737

docs/releases/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Supported Versions:
3131
.. toctree::
3232
:maxdepth: 1
3333

34+
v5.0.0
3435
v4.1.1
3536
v4.1.0
3637
v4.0.1

docs/releases/v5.0.0.rst

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
v5.0.0 release notes
2+
====================
3+
4+
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.
5+
6+
New features
7+
------------
8+
9+
* Support Wagtail 6.4.
10+
11+
* Support Python 3.9 to 3.13.
12+
13+
* 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/>`_.
14+
15+
* NEW: spam protection with Google reCAPTCHA v2 and v3 on forms. See: :doc:`/features/spam-protection`
16+
17+
18+
Maintenance
19+
-----------
20+
21+
* ``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/>`_.
22+
23+
* Large cleanup of deprecated code. See upgrade considerations below.
24+
25+
26+
Upgrade considerations
27+
----------------------
28+
29+
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>`_.
30+
31+
32+
SEO fields have moved
33+
~~~~~~~~~~~~~~~~~~~~~
34+
35+
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**.
36+
37+
For most sites, no action is required, as the organization data is automatically copied from each site's Home Page to these settings.
38+
39+
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>`_
40+
41+
Preview options removed from Pages and Blocks
42+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
43+
44+
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>`.
45+
46+
However, if you have any custom code using these deprecated fields or templates, replace them with custom miniview templates on relevant page models instead.
47+
48+
* ``PagePreviewBlock`` fields removed:
49+
50+
* show_previews
51+
52+
* ``CoderedArticleIndexPage`` fields removed:
53+
54+
* show_images
55+
56+
* show_captions
57+
58+
* show_meta
59+
60+
* show_preview_text
61+
62+
* Template options (in block Advanced Settings) have been removed from ``PageListBlock`` and ``PagePreviewBlock``.
63+
64+
* If you have ``CRX_FRONTEND_TEMPLATES_BLOCKS`` in your Django settings, remove the ``pagelistblock`` and ``pagepreviewblock`` entries from that dictionary.
65+
66+
* Corresponding ``pagelist_*.html`` and ``pagepreview_*.html`` templates have been removed from the project.
67+
68+
Migrations
69+
~~~~~~~~~~
70+
71+
After upgrading, be sure to generate and apply new migrations as so:
72+
73+
.. code-block::
74+
75+
python manage.py makemigrations
76+
python manage.py migrate
77+
78+
79+
Thank you!
80+
----------
81+
82+
Thanks to everyone who contributed to `5.0.0 on GitHub <https://github.com/coderedcorp/coderedcms/milestone/54?closed=1>`_.

0 commit comments

Comments
 (0)