- Dropped support for Django < 5.2
- Upgraded to MathJax 4.1.2, using Subresource Integrity
for the CDN script. The template tag has also changed to
mathjax_script. See upgrade considerations
# Old
- from wagtailmath.blocks import MathBlock
# New
+ from wagtail_polymath.blocks import MathBlockand
# Old
- {% load wagtailmath %}
# New
+ {% load wagtail_polymath %}The mathjax template tag has changed to mathjax_script and should no longer be wrapped in <script></script>
# Old
- {% load wagtailmath %}
- <script src="{% mathjax %}"></script>
# New
+ {% load wagtail_polymath %}
+ {% mathjax_script %}- The project namespace has changed from wagtailmath to wagtail_polymath.
Example:
from wagtailmath.blocks import MathBlock→from wagtail_polymath.blocks import MathBlock
- Fixed preview initialisation issue (#17) @MadScrewdriver
- Updated project tooling:
- added linting with ruff
- switched to using flit for packaging
- added GitHub Actions, including PyPI trusted publishing
- added tests skeleton
- Added support for Wagtail 5.2+
- Dropped support for Wagtail < 5.2, Django < 4.2
- Upgrade to newer version of Django + Wagtail
- First release on PyPI.