Skip to content

Releases: FlipperPA/wagtailcodeblock

1.29.0.2

14 Feb 13:40
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.29.0.1...1.29.0.2

1.29.0.1

01 Aug 13:32
Compare
Choose a tag to compare

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

05 Mar 17:42
Compare
Choose a tag to compare

What's Changed

  • Use pytest-django for the test suite; switch to a Wagtail Page fixture.
  • Upgrade PrismJS to 1.29.0.

Full Changelog: 1.28.0.1...1.29.0.0

1.28.0.1

04 Mar 16:26
Compare
Choose a tag to compare

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
  • Switch to pyproject.toml from setup.py for installation.
  • Updates and improvements to README.

Full Changelog: 1.28.0.0...1.28.0.1

1.28.0.0

23 May 14:54
Compare
Choose a tag to compare

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
  • 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

21 Oct 18:52
Compare
Choose a tag to compare
  • Fixed a bug pulling in CSS when theme is overridden to None.

1.25.0.1

21 Oct 18:44
Compare
Choose a tag to compare
  • Injects an event into the editor textarea to force a resize.
  • Makes WAGTAIL_CODE_BLOCK_LINE_NUMBERS a new setting; set it to False if you'd prefer not to have line numbers show up.

1.25.0.0

07 Oct 12:14
66bfc59
Compare
Choose a tag to compare
  • 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

07 Oct 10:53
Compare
Choose a tag to compare

1.17.1.0

  • Ensure compatibility with new ReactJS StreamFields with Wagtail 2.7.
  • Update to PrismJS 1.17.1
  • Add pytest-django for a basic test suite.
  • Switch to using setuptools_scm instead of a MANIFEST.in file. Use tagging for PyPI version.

1.15.0.0

07 Oct 10:52
Compare
Choose a tag to compare

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.