Skip to content

Releases: react-syntax-highlighter/react-syntax-highlighter

15.5.0

14 Mar 16:04
Compare
Choose a tag to compare
  • #466: updated prismjs to 1.27.0, fixing the XSS vuln mentioned in #461

As noted in the PR, updating prism usually brings along a few surprises; this one gave us a new programming language named false, which as you can imagine is fun to import and parse within Javascript.

Thanks to everyone for your patience. We'll be getting back in the groove of regular releases here.

15.4.3

09 Dec 22:23
Compare
Choose a tag to compare

Fixed a version-pin regression for highlight: we're now at highlight 10.4.1 and lowlight 1.17.0 as intended.

Thanks for @tu4mo for catching this one!

15.4.2

08 Dec 23:57
Compare
Choose a tag to compare

Updates

  • bumped lowlight to 1.17.0 to resolve highlight dependency version mismatches: #344

Thanks to @aurelien-reeves for his first PR here!

15.4.1

08 Dec 05:31
Compare
Choose a tag to compare

Bugfixes

  • prevented an inadvertent last-line line number from appearing: #341
  • increased inline line number minwidth by .25em to avoid code misalignments: #342

15.4.0

08 Dec 04:27
Compare
Choose a tag to compare

Updates

Bumped highlight.js to 10.4.1, fixing a security vulnerability. This brought along a few additions:

New highlight languages

  • nodeRepl (node-repl)

New highlight styles

  • gradientLight
  • stackoverflowDark
  • stackoverflowLight

15.3.1

24 Nov 17:41
Compare
Choose a tag to compare

Bugfix

15.3.0

29 Oct 15:56
Compare
Choose a tag to compare

Updates

  • prismjs 1.22.0
  • refractor 3.2.0
  • prism-themes 1.5.0

This adds three new Prism themes:

  • coldark-cold
  • coldark-dark
  • coy-without-shadows

And eight new Prism-supported languages:

  • birb
  • bsl
  • mongodb
  • naniscript
  • purescript
  • sml
  • stan
  • typoscript

Bugfixes

  • Corrected an incorrect link to react-syntax-highlighter-virtualized-renderer in the README

Thanks to @dschaller, @cheapsteak, and @karlhorky for contributing!

15.2.1

09 Oct 03:51
Compare
Choose a tag to compare

Bugfix

  • #317 - Minor fix related to yesterday's 15.2.0 release (thank you for taking care of this, @karlhorky)

15.2.0

07 Oct 18:25
Compare
Choose a tag to compare

Changes

  • #314 - Updates style-applying logic. Language-specific styles for a given theme can now override the default styling of that theme.

Thanks again to @karlhorky, who is on a roll here!

15.1.0

05 Oct 22:17
Compare
Choose a tag to compare

Changes

  • #313 - updated to prism-themes 1.4.1