PrismJS v1.12.0 Release Notes

Release Date: 2018-03-07 // about 6 years ago
  • ๐Ÿ†• New components

    โšก๏ธ Updated components

    • Bash:
    • C#:
    • C-like:
      • Change order of comment patterns and make multi-line one greedy. Fix #1337 [b98e5b9]
    • NSIS:
    • PHP:
      • Add support for string interpolation inside double-quoted strings. Fix #1146 [9f1f8d6]
      • Add support for Heredoc and Nowdoc strings [5d7223c]
      • Fix shell-comment failure now that strings are greedy [ad25d22]
    • PowerShell:
      • Add support for two levels of nested brackets inside namespace pattern. Fixes #1317 [3bc3e9c]
    • ๐Ÿ’Ž Ruby:
      • Add keywords "protected", "private" and "public" [4593837]
    • Rust:
      • Add support for lifetime-annotation and => operator. Fix #1339 [926f6f8]
    • Scheme:
      • Don't highlight first number of a list as a function. Fix #1331 [51bff80]
    • SQL:
      • Add missing keywords and functions, fix numbers [de29d4a]

    โšก๏ธ Updated plugins

    • Autolinker:
      • Allow more chars in query string and hash to match more URLs. Fix #1142 [109bd6f]
    • Copy to Clipboard:
      • Bump ClipboardJS to 2.0.0 and remove hack (#1314) [e9f410e]
    • Toolbar:
    • Unescaped Markup:
      • Use msMatchesSelector for IE11 and below. Fix #1302 [c246c1a]
    • ๐Ÿ“„ WebPlatform Docs:

    Other changes

    • ๐Ÿ›  Fix Autoloader's demo page [3dddac9]
    • Download page: Use hash instead of query-string for redownload URL. Fix #1263 [b03c02a]
    • Core: Don't thow an error if lookbehing is used without anything matching. [e0cd47f]
    • ๐Ÿ“„ Docs: Fix link to the <code> element specification in HTML5 [a84263f]
    • ๐Ÿ“„ Docs: Mention support for lang-xxxx class. Close #1312 [a9e76db]
    • ๐Ÿ“„ Docs: Add note on async parameter to clarify the requirement of using a single bundled file. Closes #1249 [eba0235]