Skip to content

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

v15.6.1

16 Oct 15:40
Compare
Choose a tag to compare
  • Fix: #487 Fix: Allow override of display: styles when wrapLongLines is true

v15.6.0

16 Oct 15:29
83da2fb
Compare
Choose a tag to compare

Been awhile! 😰

  • Feat: #555 Add Vue language support
  • Feat: #534 Add a11yOneLight theme
  • Bugfix: #561 Fix bug with wrapLines that butchers highlighting
  • Docs: #559 Adding languages

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)