PrismJS v1.6.0 Release Notes

Release Date: 2016-12-03 // over 7 years ago
  • ๐Ÿ†• New components

    โšก๏ธ Updated components

    • APL:
    • AsciiDoc:
      • Optimized block regexps to prevent struggling on large files. Fixes #1001. [1a86d34]
    • Bash:
    • CSS:
    • CSS Extras:
      • Match attribute inside selectors [13fed76]
    • Groovy:
    • Ini:
      • Remove important token in ini definition (#1047) [fe8ad8b]
    • JavaScript:
    • JSON:
      • JSON: Fixed issues with properties and strings + added tests. Fix #1025 [25a541d]
    • Markup:
      • Allow for dots in Markup tag names, but not in HTML tags included in Textile. Fixes #888. [31ea66b]
      • Make doctype case-insensitive (#1009) [3dd7219]
    • NSIS:
    • PHP:
    • PowerShell:
    • Puppet:
    • ๐Ÿ’Ž Ruby:
    • SCSS:
      • Alias statement as keyword. Fix #246 [fd09391]
      • Highlight variables inside selectors and properties. [d6b5c2f]
      • Highlight parent selector [8f5f1fa]
    • TypeScript:
      • Add missing from keyword to typescript & set ts as alias. (#1042) [cba78f3]

    ๐Ÿ†• New plugins

    โšก๏ธ Updated plugins

    • Autoloader:
      • Updated documentation for Autoloader plugin [b4f3423]
      • Download all grammars as a zip from Autoloader plugin page (#981) [0d0a007, 5c815d3]
      • Removed duplicated script on Autoloader plugin page [9671996]
      • Don't try to load "none" component. Fix #1000 [f89b0b9]
    • WPD:
      • Fix at-rule detection + don't process if language is not handled [2626728]

    Other changes

    • ๐Ÿ‘Œ Improvement to greedy-flag (#967) [500121b, 9893489]
    • โž• Add setTimeout fallback for requestAnimationFrame. Fixes #987. (#988) [c9bdcd3]
    • โž• Added aria-hidden attributes on elements created by the Line Highlight and Line Numbers plugins. Fixes #574. [e5587a7]
    • Don't insert space before ">" when there is no attributes [3dc8c9e]
    • โž• Added missing hooks-related tests for AsciiDoc, Groovy, Handlebars, Markup, PHP and Smarty [c1a0c1b]
    • ๐Ÿ›  Fix issue when using Line numbers plugin and Normalise whitespace plugin together with Handlebars, PHP or Smarty. Fix #1018, #997, #935. Revert #998. [86aa3d2]
    • โšก๏ธ Optimized logo (#990) (#1002) [f69e570, 218fd25]
    • โœ‚ Remove unneeded prefixed CSS (#989) [5e56833]
    • โšก๏ธ Optimize images (#1007) [b2fa6d5]
    • โž• Add yarn.lock to .gitignore (#1035) [03ecf74]
    • ๐Ÿ›  Fix greedy flag bug. Fixes #1039 [32cd99f]
    • โœ… Ruby: Fix test after #1023 [b15d43b]
    • โœ… Ini: Fix test after #1047 [25cdd3f]
    • โฌ‡๏ธ Reduce risk of XSS (#1051) [17e33bc]
    • env.code can be modified by before-sanity-check hook even when using language-none. Fix #1066 [83bafbd]