Releases: FlipperPA/wagtailcodeblock
Releases · FlipperPA/wagtailcodeblock
1.29.0.2
What's Changed
- Wagtail 6 compatibility by @gabigab117
- Update trove classifiers by @FlipperPA
Full Changelog: 1.29.0.1...1.29.0.2
1.29.0.1
What's Changed
- Confirm Wagtail 5 compatibility and update trove classifiers.
- Bugfix to remove nonexistent CDNJS files by @fourfridays in #39
Full Changelog: 1.29.0.0...1.29.0.1
1.29.0.0
What's Changed
- Use
pytest-django
for the test suite; switch to a WagtailPage
fixture. - Upgrade PrismJS to 1.29.0.
Full Changelog: 1.28.0.1...1.29.0.0
1.28.0.1
What's Changed
- Wagtail 4.2 support has been added and is required, by @Arturinsh in PR #36.
- For Wagtail 3.x,
pip install wagtailcodeblock==1.28.0.0
- For Wagtail 3.x,
- Switch to
pyproject.toml
fromsetup.py
for installation. - Updates and improvements to README.
Full Changelog: 1.28.0.0...1.28.0.1
1.28.0.0
What's Changed
- Wagtail 3.0 support has been added and is required, by @bstepa in PR #32.
- For Wagtail 2.x,
pip install wagtailcodeblock==1.25.0.2
- For Wagtail 2.x,
- Copy to clipboard functionality has been added by @ramiboutas in PR #33
- Upgrade to PrismJS 1.28.0 has been added by @ramiboutas in PR #33.
Full Changelog: 1.25.0.2...1.28.0.0
1.25.0.2
1.25.0.1
1.25.0.0
- Only supports Wagtail 2.13 or greater; for previous version of Wagtail, please use
wagtailcodeblock<1.25.0.0
. - Support for Wagtail 2.13 and above, and conversion to telepath. (@cybelew)
- Major performance improvements: (@FlipperPA)
- All JavaScript assets are now pulled from CDNJS.
- Only the necessary assets are loaded for the languages highlighted in a page.
- This will save about 500 KB of assets required to load the page.
- This will also save about 1.5 seconds of load time per code block on a page, as PrismJS is only loaded once per page, instead of once per block.
- Initial work for removal of jQuery; this will be completed in the next release.
1.17.1.0
1.15.0.0
1.15.0.0
- Update to PrismJS 1.15.0
- Bug fix: do not key off of
Language
label, as it is translatable.
1.14.0.0
- Upgrade to PrismJS 1.14.0
- Allow passing a language code as an attribute, only allowing the single language to be used.
- Fix conflict in CSS between
tag
class for Wagtail and markup syntax types.
1.11.0.0
- Upgrade to PrismJS 1.11.0
- Changed version numbers to match the included PrismJS release
- Patch to add support for natively included PrismJS languages ['html', 'mathml', 'svg', 'xml']
0.4
- Support for Wagtail 2.0
0.4.1
- Upgrade to PrismJS 1.9.0, which includes a patch we made to the 'coy' theme we use as a default.
0.3
- Support for PrismJS themes
0.3.1
- Bug fixes for some front-end issues. Update documentation.